From jaan-to
Initializes jaan-to for the current project by creating directories (config, context, templates, outputs, learn, docs) and seeding files like settings.yaml, tech.md. Adds to .gitignore. Use for new jaan-to projects.
npx claudepluginhub parhumm/jaan-to --plugin jaan-toThis skill is limited to using the following tools:
> Activate jaan-to for the current project.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Activate jaan-to for the current project.
${CLAUDE_PLUGIN_ROOT}/scripts/bootstrap.sh - Bootstrap script that creates directories and seeds files$JAAN_LEARN_DIR/jaan-to-jaan-init.learn.md - Past lessons (loaded in Pre-Execution)${CLAUDE_PLUGIN_ROOT}/docs/extending/language-protocol.md - Language resolution protocolArguments: $ARGUMENTS
No arguments required. This skill initializes jaan-to in the current project directory.
MANDATORY — Read and execute ALL steps in: ${CLAUDE_PLUGIN_ROOT}/docs/extending/pre-execution-protocol.md
Skill name: jaan-init
Execute: Step 0 (Init Guard) → A (Load Lessons) → B (Resolve Template) → C (Offer Template Seeding)
Read and apply language protocol: ${CLAUDE_PLUGIN_ROOT}/docs/extending/language-protocol.md
Override field for this skill: language_jaan-init
Check if jaan-to/ directory already exists in the project root.
If jaan-to/ exists:
Tell the user: "jaan-to is already initialized for this project. Bootstrap runs automatically on each session."
Stop here — do not proceed.
If jaan-to/ does NOT exist:
Continue to Step 2.
Show the user what initialization will create:
jaan-to/
config/settings.yaml — Project configuration
context/ — Project context files (tech.md, team.md, etc.)
templates/ — Custom template overrides (initially empty; read from plugin at runtime)
outputs/ — Generated outputs from skills
learn/ — Project-specific lessons (initially empty; created via /jaan-to:learn-add)
docs/ — Reference docs (STYLE.md, create-skill.md)
Also mention: jaan-to/ will be added to .gitignore.
Ask the user:
Initialize jaan-to for this project?
This will create the jaan-to/ directory with config, context, templates,
outputs, learn, and docs subdirectories.
Proceed? [y/n]
Do NOT proceed without explicit approval.
Execute the bootstrap script to create directories and seed all files:
${CLAUDE_PLUGIN_ROOT}/scripts/bootstrap.sh
Note: The bootstrap script creates the jaan-to/ directory and all subdirectories internally. It handles:
jaan-to/ to .gitignoreTemplates and learn files are loaded from the plugin at runtime (lazy loading).
Customize templates by copying them to jaan-to/templates/.
Add project lessons via /jaan-to:learn-add.
Show the user the bootstrap output and summarize:
jaan-to initialized successfully.
Next steps:
- Edit jaan-to/context/tech.md with your project's tech stack
- Run /jaan-to:detect-pack for a full project analysis
- Run any skill: /jaan-to:pm-prd-write "feature name"
Check the project root for frontend indicators:
package.json containing react, vue, or svelte in dependencies/devDependenciescomponents/ or src/components/ directory.storybook/ directory (Storybook installed)components.json (shadcn/ui configured)If any frontend indicator found, append to the Step 4 output:
Frontend stack detected. Consider seeding `jaan-to/context/design.md`
for design system context.
For enhanced frontend skills, configure Storybook MCP, shadcn MCP,
and Playwright MCP.
Available frontend skills:
/jaan-to:frontend-design
/jaan-to:frontend-scaffold
/jaan-to:frontend-story-generate
/jaan-to:frontend-visual-verify
/jaan-to:frontend-component-fix
If no frontend indicator found, skip silently.
Ask the user:
Have feedback to improve future initializations?
Use: /jaan-to:learn-add "jaan-init" "lesson"
jaan-to/ directory exists with subdirectories: outputs/, learn/, context/, templates/, config/, docs/jaan-to/config/settings.yaml existsjaan-to/context/.gitignore contains jaan-to/ entry"Could not create jaan-to/ directory. Check file permissions for the project root."
"Bootstrap script not found at ${CLAUDE_PLUGIN_ROOT}/scripts/bootstrap.sh. Plugin may be corrupted — try reinstalling."