agentleFS
gh33kgh33k/session-plugin/skills/feature/SKILL.md

feature

Skill2 starsChanged 10 months agoMITView on GitHub

Manage feature specifications and implementation plans

33 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.
  • pvnarpSkill

    bug

    Investigates and resolves bugs using structured diagnosis. Categorizes by system, traces root cause, proposes minimal fix, and suggests prevention. Use when debugging issues or investigating unexpected behavior.

    Also in 4 projects that use this

  • janroudautSkill

    bugfix

    Test-first bug diagnosis and fix — reproduce, fix, verify, iterate

    Also in 5 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 5 projects that use this

  • OpenAISkill

    ideate

    Generate image-based alternatives, remixes, or new design directions from a Product Design brief. Use when the user asks for design variants, visual exploration, remixes, or image-generated approaches from provided context.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 11 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 4 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. 0 are common, 11 are distinctive, and 10 are very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 10

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Must be lowercase, hyphenated (e.g., user-auth, payment-flow)

    line 30
  2. Distinctive:

    Gather feature information: - Ask the user:

    line 42
  3. Very specific:

    Use the template from plugins/session-workflow/templates/feature-spec.md.template

    line 50
  4. Distinctive:

    Leave technical details as placeholders or ask if user wants to fill them

    line 59
  5. Distinctive:

    Ask: "Should I create beads tasks for this feature?"

    line 73
  6. Distinctive:

    If yes, create tasks based on the implementation phases:

    line 75
  7. Very specific:

    If this is the active focus, update .project/state.md:

    line 83
  8. Distinctive:

    Read the Status line from each spec.md:

    line 118
  9. Distinctive:

    Read the acceptance criteria from spec.md and plan.md.

    line 193
  10. Distinctive:

    Ask the user to confirm each criterion is met:

    line 195
  11. Very specific:

    Update {{UPDATED_DATE}} to today

    line 210
  12. Distinctive:

    Update technical details with actual implementation (from plan.md)

    line 216
  13. Very specific:

    Ask: "Archive the plan to .context/ or delete it?"

    line 219
  14. Distinctive:

    Ask if any open tasks should be closed or moved.

    line 236
  15. Very specific:

    Update .project/state.md to reflect completion.

    line 239
  16. Very specific:

    When /session:start plan detects the user wants to create a new feature:

    line 291
  17. Very specific:

    When /session:start build loads a feature:

    line 297
  18. Very specific:

    When /session:end runs with a feature in progress:

    line 304
  19. Distinctive:

    Ask if the feature is complete

    line 305
  20. Very specific:

    If yes, prompt to run /session:feature complete <name>

    line 306
  21. Distinctive:

    If no, update plan.md with progress

    line 307

“Common” is measured: kept by at least 6 in 10 of the 32 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

session:feature

Manage feature spec/plan lifecycle. Create new features during plan sessions, track progress during build sessions, and mark complete when finished.

Usage

/session:feature create <name>    - Create a new feature with spec and plan
/session:feature list             - List all features and their status
/session:feature show <name>      - Show feature details
/session:feature complete <name>  - Mark feature as complete
/session:feature archive <name>   - Archive a completed feature's plan

Instructions

/session:feature create <name>

Creates a new feature directory with spec.md and plan.md from templates.

Best used during: PLAN sessions

Steps:

  1. Validate feature name:

    • Must be lowercase, hyphenated (e.g., user-auth, payment-flow)
    • Cannot already exist
    ls -d .project/features/{{name}} 2>/dev/null && echo "EXISTS"
  2. Create feature directory:
    mkdir -p .project/features/{{name}}
  3. Gather feature information - Ask the user:
    • "What is this feature about?" (for Overview)
    • "What are the main goals?" (for Goals section)
    • "What should this feature NOT do?" (for Non-Goals)
    • "What are the key requirements?" (for Requirements)
    • "How will we know it's done?" (for Acceptance Criteria)
  4. Create spec.md: Use the template from plugins/session-workflow/templates/feature-spec.md.template

    Fill in:

    • {{FEATURE_NAME}}: The feature name (title-cased)
    • {{STATUS}}: draft
    • {{CREATED_DATE}}: Today's date
    • {{UPDATED_DATE}}: Today's date
    • {{FEATURE_OVERVIEW}}: User's description
    • Goals, Non-Goals, Requirements, Acceptance Criteria from user input
    • Leave technical details as placeholders or ask if user wants to fill them
  5. Create plan.md: Use the template from plugins/session-workflow/templates/feature-plan.md.template

    Ask the user:

    • "What's the implementation goal?"
    • "What's the current state before this feature?"
    • "What high-level changes are needed?"
    • "How should we break this into phases?"

    Fill in the template with gathered information.

  6. Create beads tasks (if available): Ask: "Should I create beads tasks for this feature?"

    If yes, create tasks based on the implementation phases:

    bd create

    Link tasks in the plan.md "Related Tasks" section.

  7. Update project state: If this is the active focus, update .project/state.md:
    ## Active Focus
    Feature: {{name}}
    Status: Planning
  8. Report success:
    Feature '{{name}}' created!
    
    Files:
    - .project/features/{{name}}/spec.md
    - .project/features/{{name}}/plan.md
    
    Next steps:
    1. Review and refine spec.md
    2. Detail the implementation plan
    3. Start a build session: /session:start build

/session:feature list

Lists all features and their current status.

Steps:

  1. Find all features:
    ls -d .project/features/*/ 2>/dev/null
  2. For each feature, extract status: Read the Status line from each spec.md:
    grep "^\*\*State\*\*:" .project/features/*/spec.md 2>/dev/null
  3. Check for active plans:
    ls .project/features/*/plan.md 2>/dev/null
  4. Display summary:
    Features:
    
    | Name | Status | Has Plan | Tasks |
    |------|--------|----------|-------|
    | user-auth | in-progress | yes | 3 open |
    | payment | draft | yes | 0 |
    | notifications | complete | no | - |

/session:feature show <name>

Shows detailed information about a specific feature.

Steps:

  1. Verify feature exists:
    ls -d .project/features/{{name}} 2>/dev/null
  2. Read and display spec.md: Show the full specification with current status.
  3. Read and display plan.md (if exists): Show current implementation progress.
  4. Show related beads tasks:
    bd list --label={{name}} 2>/dev/null
  5. Provide context:
    Feature: {{name}}
    Status: {{status}}
    
    [Spec summary]
    
    Plan progress:
    - Phase 1: [status]
    - Phase 2: [status]
    
    Related tasks: [count] open, [count] closed

/session:feature complete <name>

Marks a feature as complete, updates spec.md, and optionally removes plan.md.

Best used during: BUILD or REVIEW sessions when feature is finished

Steps:

  1. Verify feature exists and has plan:
    ls .project/features/{{name}}/spec.md .project/features/{{name}}/plan.md 2>/dev/null
  2. Review acceptance criteria: Read the acceptance criteria from spec.md and plan.md.

    Ask the user to confirm each criterion is met:

    Acceptance Criteria Check:
    - [ ] Criterion 1 - Met? (y/n)
    - [ ] Criterion 2 - Met? (y/n)
    ...
  3. Gather completion information:
    • "Summarize what was implemented"
    • "Any lessons learned?"
    • "Any follow-up work needed?"
  4. Update spec.md:
    • Change {{STATUS}} to complete
    • Update {{UPDATED_DATE}} to today
    • Fill in Completion Notes section:
      • {{COMPLETION_DATE}}: Today's date
      • {{COMPLETION_SUMMARY}}: User's summary
      • {{LESSONS_LEARNED}}: User's lessons learned
    • Mark all acceptance criteria as checked
    • Update technical details with actual implementation (from plan.md)
  5. Archive or delete plan.md: Ask: "Archive the plan to .context/ or delete it?"

    If archive:

    mv .project/features/{{name}}/plan.md .context/archived-plans/{{name}}-plan-{{date}}.md

    If delete:

    rm .project/features/{{name}}/plan.md
  6. Close related beads tasks:

    bd list --label={{name}} --status=open

    Ask if any open tasks should be closed or moved.

  7. Update project state: Update .project/state.md to reflect completion.
  8. Report success:
    Feature '{{name}}' marked complete!
    
    Updated: .project/features/{{name}}/spec.md
    Plan: [archived to / deleted]
    
    Completion summary: {{summary}}

/session:feature archive <name>

Archives a completed feature's plan without marking complete (useful for pausing work).

Steps:

  1. Verify plan exists:
    ls .project/features/{{name}}/plan.md 2>/dev/null
  2. Create archive directory (if needed):
    mkdir -p .context/archived-plans
  3. Archive the plan:
    mv .project/features/{{name}}/plan.md .context/archived-plans/{{name}}-plan-{{date}}.md
  4. Update spec.md status to paused if appropriate.
  5. Report:
    Plan archived: .context/archived-plans/{{name}}-plan-{{date}}.md
    
    To resume work later:
    1. Copy the plan back to .project/features/{{name}}/plan.md
    2. Start a build session: /session:start build

Integration with Session Types

During PLAN sessions

When /session:start plan detects the user wants to create a new feature:

  • Suggest: "Would you like to create a feature? Run /session:feature create <name>"
  • The feature command handles spec and plan creation

During BUILD sessions

When /session:start build loads a feature:

  • Automatically loads spec.md and plan.md
  • Shows current implementation phase
  • Links to related beads tasks

During session end

When /session:end runs with a feature in progress:

  • Ask if the feature is complete
  • If yes, prompt to run /session:feature complete <name>
  • If no, update plan.md with progress

Examples

Creating a new feature

User: /session:feature create user-notifications

Assistant: Let me help you create the user-notifications feature.

What is this feature about?

User: Send push notifications and in-app alerts when users receive messages or updates.

Assistant: Great\! What are the main goals for this feature?

User: Real-time notifications, customizable preferences, support both push and in-app

Assistant: Creating feature...

Created: .project/features/user-notifications/spec.md
Created: .project/features/user-notifications/plan.md

Feature 'user-notifications' created\!

Files:
- .project/features/user-notifications/spec.md
- .project/features/user-notifications/plan.md

Next steps:
1. Review and refine spec.md
2. Detail the implementation plan
3. Start a build session: /session:start build

Completing a feature

User: /session:feature complete user-notifications

Assistant: Let me verify the feature is ready for completion...

Reading: .project/features/user-notifications/spec.md
Reading: .project/features/user-notifications/plan.md

Acceptance Criteria Check:
- [x] Push notifications work on iOS and Android - Met? (y/n)

User: y

Assistant:
- [x] In-app notification center shows history - Met? (y/n)

User: y

Assistant:
- [x] Users can configure notification preferences - Met? (y/n)

User: y

Assistant: All criteria met\!

Summarize what was implemented:

User: Added Firebase push notifications, in-app notification center with 30-day history, and a preferences page.

Assistant: Archive the plan to .context/ or delete it?

User: archive

Assistant:
Feature 'user-notifications' marked complete\!

Updated: .project/features/user-notifications/spec.md
Plan: archived to .context/archived-plans/user-notifications-plan-2024-01-22.md

Completion summary: Added Firebase push notifications, in-app notification center with 30-day history, and a preferences page.

Listing features

User: /session:feature list

Assistant:
Features:

| Name | Status | Has Plan | Tasks |
|------|--------|----------|---------|
| user-auth | complete | no | - |
| user-notifications | complete | no | - |
| payment-flow | in-progress | yes | 5 open |
| analytics | draft | yes | 2 open |

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.