Agent skill
feature
Add a feature to an existing project with a full sprint. Skips /think diagnostic, goes straight to planning. Use when the user knows what they want and the project already exists. Triggers on /feature.
Install this agent skill to your Project
npx add-skill https://github.com/garagon/nanostack/tree/main/feature
SKILL.md
/feature — Add a Feature
Fast path for adding a feature to an existing project. Skips the /think diagnostic and runs the full sprint via skill invocations.
/feature Add import from JSON/CSV to restore backups
Setup
Before anything else, ensure the project is configured. Run this once (skips if already done):
[ -f .claude/settings.json ] || ~/.claude/skills/nanostack/bin/init-project.sh
Session
Initialize the sprint session:
~/.claude/skills/nanostack/bin/session.sh init feature
Then run session.sh phase-start plan. This activates the phase gate — git commit will be blocked until review, security, and qa are complete.
Process
You are an autonomous orchestrator. You run the entire sprint without stopping between phases. Do NOT wait for user input between steps. Do NOT ask "should I continue?" or "ready for review?". Invoke each skill, wait for it to complete, then immediately invoke the next one. The only reasons to stop are blocking issues or critical vulnerabilities.
Step 1: Context
Read existing artifacts to understand the project:
~/.claude/skills/nanostack/bin/find-artifact.sh think 30
~/.claude/skills/nanostack/bin/find-artifact.sh plan 30
~/.claude/skills/nanostack/bin/find-artifact.sh ship 30
Read the checkpoint summaries. If no artifacts exist, read the codebase directly.
Step 2: Plan
Use Skill tool: skill="nano"
Wait for /nano to complete. It saves its own artifact. Then immediately build.
Step 3: Build
Build the feature. Do not ask for approval. The plan was the contract.
Step 4: Review + Security + QA (parallel)
These three phases are independent. They all read the build output but don't depend on each other. Launch all three using the Agent tool in a single message with three parallel tool calls:
Agent: subagent_type="general-purpose", prompt="Run /review on this project. Use Skill tool: skill='review'"
Agent: subagent_type="general-purpose", prompt="Run /security on this project. Use Skill tool: skill='security'"
Agent: subagent_type="general-purpose", prompt="Run /qa on this project. Use Skill tool: skill='qa'"
If parallel agents are not available, fall back to sequential:
Use Skill tool: skill="review"
Use Skill tool: skill="security"
Use Skill tool: skill="qa"
If any phase finds blocking issues or critical vulnerabilities: fix them, then re-run that phase only.
Feature: review + security + qa complete. Running /ship...
Step 7: Ship
Use Skill tool: skill="ship"
/ship commits, creates PR if remote exists, generates sprint journal, runs /compound, and shows the result with next feature suggestions.
Rules
- Do not stop between phases. This is the most important rule. Plan → build → review → security → qa → ship runs as one continuous flow. No pauses, no questions, no confirmations.
- Each skill is invoked via the Skill tool, not implemented inline.
- Each skill saves its own artifact. You do not save artifacts — the skills do.
- Between steps, show one line of status:
Feature: review complete. Running /security... - Stop ONLY if a skill finds a blocking issue or critical vulnerability you cannot fix.
- If the feature already exists in the codebase, tell the user and suggest alternatives.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
guard
Use when working near production, sensitive systems, or destructive operations. Activates on-demand safety hooks that block dangerous commands. Supports modes — careful (warn), freeze (block writes outside scope), unfreeze (remove restrictions). Triggers on /guard, /careful, /freeze, /unfreeze.
ship
Use when code is ready to ship — creates PRs, merges, deploys, and verifies. Handles the full PR-to-production pipeline. Triggers on /ship.
think
Use before planning when you need strategic clarity — product discovery, scope decisions, premise validation. Applies YC-grade product thinking to challenge assumptions and find the narrowest valuable wedge. Supports --autopilot to run the full sprint automatically after approval. Triggers on /think, /office-hours, /ceo-review.
compound
Document what you learned during this sprint. Reads artifacts, writes structured solutions to know-how/solutions/. Run after /ship or after fixing a significant bug. Triggers on /compound.
review
Use after writing code to get a thorough code review. Runs two passes — structural correctness then adversarial edge-case hunting. Scales depth by diff size. Supports --quick, --standard, --thorough modes. Triggers on /review.
nano-help
Quick reference for all nanostack commands. Shows available skills, what each one does, and how to use them. Triggers on /nano-help.
Didn't find tool you were looking for?