init-stack

Generate a conventions file at ~/.claude/<STACK_SLUG>.md and register a SessionStart hook.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/dotBeeps/pantry --skill init-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-stack
Source: https://github.com/dotBeeps/pantry/tree/main/morsels/skills/init-stack
Command: npx skills add https://github.com/dotBeeps/pantry --skill init-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify and codify up-to-date coding conventions for a language or stack.

Core Features & Use Cases

  • Research best practices for a stack and produce a concise conventions file covering idioms, style, structure, testing, error handling, concurrency, and module layout.
  • Auto-create the conventions file at ~/.claude/<STACK_SLUG>.md suitable for integration into developer workflows.
  • Register a SessionStart hook so the conventions are automatically propagated into new and existing projects.

Quick Start

Generate the conventions file for the chosen stack and register the SessionStart hook to auto-copy it into projects.

Frequently Asked Questions about init-stack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically set up coding conventions for a new programming stack?

Automated stack onboarding tools research current best practices and generate a concise conventions file covering idioms, style, structure, and testing. They then register a SessionStart hook to automatically propagate these conventions into your relevant projects.

What are coding conventions files and how do they integrate with developer workflows?

Coding conventions files codify language-specific best practices for error handling, concurrency, and module layout. They integrate into developer workflows by residing at a central path like ~/.claude/<STACK_SLUG>.md and auto-copying into project sessions via hooks.

How do I keep coding standards consistent across multiple projects using the same stack?

To maintain consistent coding standards across multiple projects, you can codify stack conventions into a single central file and register a SessionStart hook that automatically copies those conventions into each relevant project session upon startup.

Can I refresh existing stack conventions instead of onboarding a completely new language?

Yes, this automated convention research process applies to both onboarding new languages and refreshing existing stacks. It identifies up-to-date best practices and overwrites the central conventions file to reflect the latest idioms and structural standards.

What is the best way to auto-install hooks for stack onboarding?

The best way to auto-install hooks for stack onboarding is to use a tool that both generates the conventions file and programmatically registers a SessionStart hook, ensuring conventions are automatically copied into project environments without manual setup.

Does init-stack require any external dependencies to register session hooks?

No, init-stack operates with zero external dependencies. It independently researches stack conventions, generates the markdown file, and handles hook registration for automatic propagation into your projects.