agentleFS
garagongaragon/nanostack/feature/SKILL.md

feature

Skill206 starsChanged 8 months agoApache-2.0View on GitHub

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.

84 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use bug, bugfix and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • paulocsbSkill

    bug

    Investigation playbook for fixing a bug. Walks through 5 phases: reproduce → isolate → root cause → propose fix → validate. Forces concrete reasoning with code reads, log inspection, and git blame instead of pattern-matching guesses. Use for any non-trivial defect.

    Also in 9 projects that use this

  • team-attentionSkill

    bugfix

    Root cause based one-shot bug fix. debugger diagnosis → requirements.md generation → /execute. /bugfix "error description" Full investigation pipeline: debugger + gap-analyzer + standard verify. QA suggestion after successful fix.

    Also in 8 projects that use this

  • aegiswizardSkill

    context

    Also in 5 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 11 projects that use this

  • marylinSkill

    recover

    Recover work from a crashed or interrupted session. Use when Claude crashed mid-task, after an unexpected exit, when you see 'stale sessions detected', or when you lost context and need to figure out what was happening.

    Also in 3 projects that use this

  • codebycoreySkill

    adopt

    Adopt an existing plan from conversation context into delta-spec format. Use when importing a plan, adopting planning that already happened, capturing plan mode output, or bringing in prior design work.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 78 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before anything else, ensure the project is configured.

    line 34
  2. Distinctive:

    Wait for /nano to complete.

    line 74
  3. Very specific:

    Run session.sh phase-start build, then implement the approved plan.

    line 78
  4. Distinctive:

    Stop when scope, safety, or publication authorization requires a user decision.

    line 116
  5. Distinctive:

    If the feature already exists in the codebase, tell the user and suggest alternatives.

    line 117

“Common” is measured: kept by at least 6 in 10 of the 78 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
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

Telemetry preamble

Defensive telemetry init. No-op if telemetry is disabled via NANOSTACK_NO_TELEMETRY=1, ~/.nanostack/.telemetry-disabled, or if the helpers are removed.

_P="$HOME/.claude/skills/nanostack/bin/lib/skill-preamble.sh"
[ -f "$_P" ] && . "$_P" feature
unset _P

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

For a direct invocation, initialize the sprint session with autopilot and explicit plan auto-approval. When /think hands off a completed autopilot brief, keep that active session instead: do not archive it or initialize a replacement. Confirm its workspace matches the current project, type=development, autopilot=true, run_mode=normal, think is completed, no phase is in progress, and plan has not started. If that handoff state is inconsistent, stop and report it rather than overwrite the session.

~/.claude/skills/nanostack/bin/session.sh init feature --autopilot --plan-approval auto

Manual feature work should use /think + /nano instead. /feature itself does not accept a manual mode flag.

Let /nano start the plan phase. Phase-gate enforcement depends on the active adapter; do not describe guided hosts as hook-enforced.

Process

You are the full-sprint coordinator. Invoke each specialist once and wait for its result. Continue routine work without asking permission between phases; stop for unresolved scope, unsafe test environments, blocking findings you cannot fix, or an action requiring user authorization.

Auto-approval is not publication permission. plan_approval=auto approves planning, not PR creation, merge, or deployment. Preserve /ship's preview and explicit authorization requirements. Tell delegated specialists to return their artifacts and findings to this coordinator, not launch another phase.

Step 1: Context

Resolve existing artifacts and solutions in one call:

~/.claude/skills/nanostack/bin/resolve.sh feature

The output is JSON with upstream_artifacts (think, plan, ship paths if recent) and solutions (ranked past learnings). Read the checkpoint summaries. If no artifacts exist, read the codebase directly.

Step 2: Plan

Invoke /nano using the active host's skill mechanism.

Wait for /nano to complete. It saves its own artifact. Then immediately build.

Step 3: Build

Run session.sh phase-start build, then implement the approved plan. Run session.sh phase-complete build only after implementation finishes. Do not launch verification against an unfinished build.

Step 4: Review + Security + QA (parallel)

Use native delegation only when the active host exposes it. Give each specialist the approved scope, build under test, and this boundary: inspect and report; do not edit product files, commit, or invoke another skill. QA must use isolated test data and output directories. Shared mutable services or fixtures require sequential verification.

Otherwise invoke /review, /security, and /qa sequentially using the host's skill mechanism. If delegation fails after any reader has started, wait for or cancel and confirm termination of that reader before falling back; never launch duplicate work against a still-running batch. Guided adapters rely on these instructions, not universal hook enforcement.

If verification finds blocking issues, wait for all readers to finish (or confirm cancellation), return to build, and apply repairs there. After any product change, re-run all three verification phases before /ship. Do not carry passing results from the previous build forward. If a repair exceeds approved scope, ask the user instead.

Feature: review + security + qa complete. Running /ship...

Step 5: Ship

Invoke /ship using the active host's skill mechanism.

/ship commits, creates PR if remote exists, generates sprint journal, runs /compound, and shows the result with next feature suggestions.

Telemetry finalize

Before returning control:

_F="$HOME/.claude/skills/nanostack/bin/lib/skill-finalize.sh"
[ -f "$_F" ] && . "$_F" feature success
unset _F

Pass abort or error instead of success if the feature flow did not complete normally.

Rules

  • One orchestration owner. /feature owns planning, build, verification, and the authorized shipping handoff. Specialists return results; they do not start another sprint.
  • Invoke each skill through the active host's skill mechanism, not by reimplementing it 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 when scope, safety, or publication authorization requires a user decision.
  • If the feature already exists in the codebase, tell the user and suggest alternatives.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.