agentleFS
danwykesdevdanwykesdev/skills/feature-cycle/SKILL.md

saas-feature-cycle

Skill0 starsChanged 6 months agoMITView on GitHub

Run one approved feature from spec through plan, tasks, implementation, review, and completion using branch and PR checkpoints.

The file

Show its rules and text

We split this skill into the rules it gives an agent

30 rules. About 0 are common, 26 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈26

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Use this skill when the user wants a feature to be worked through until it is done, rather than manually running /feature, /plan, /tasks, …

    line 8
  2. Distinctive:

    Create/update task list

    line 18
  3. Distinctive:

    Update docs/ADRs when needed

    line 21
  4. Distinctive:

    Do not skip Product OS checks.

    line 27
  5. Distinctive:

    Do not implement code until spec, plan, and tasks exist.

    line 28
  6. Distinctive:

    If requirements change, stop implementation and run the change-control section before continuing.

    line 30
  7. Distinctive:

    Do not silently change product scope, tenancy model, security model, database architecture, or stack decisions.

    line 31
  8. Distinctive:

    Keep changes tied to the active feature spec and branch.

    line 32
  9. Distinctive:

    Prefer small commits/checkpoints over one large uncontrolled change.

    line 33
  10. Distinctive:

    Ask only for missing information:

    line 37
  11. Distinctive:

    Before modifying files, inspect:

    line 47
  12. Distinctive:

    If the repo is dirty with unrelated changes, classify them before continuing.

    line 61
  13. Distinctive:

    If no spec exists, create one using the feature template.

    line 67
  14. Distinctive:

    Create or update the technical plan.

    line 85
  15. Distinctive:

    Create implementation tasks grouped by area:

    line 100
  16. Distinctive:

    update the task list

    line 120
  17. Distinctive:

    run relevant tests/checks if available

    line 121
  18. Distinctive:

    check for scope drift

    line 123
  19. Distinctive:

    Do not ask the user to manually run the next Product OS command unless one of these is true:

    line 126
  20. Distinctive:

    If the feature or system changes mid-build:

    line 137
  21. Distinctive:

    Add/update ADR if architecture changed.

    line 143
  22. Distinctive:

    Add/update security notes if risk changed.

    line 144
  23. Very specific:

    If GitHub MCP or gh is available:

    line 149
  24. Distinctive:

    read the associated PR

    line 151
  25. Very specific:

    check latest PR comments/reviews/checks

    line 152
  26. Distinctive:

    keep PR description aligned with feature spec

    line 153
  27. Distinctive:

    ensure PR title references feature id/name

    line 155
  28. Distinctive:

    If no PR exists, recommend creating one when implementation starts or when first useful checkpoint is reached.

    line 157
  29. Distinctive:

    Before declaring the feature done, review against:

    line 161
  30. Very specific:

    If the feature is complete, recommend $saas-done only if additional formal sign-off is required.

    line 195

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

SaaS Product OS: Feature Cycle

Use this skill when the user wants a feature to be worked through until it is done, rather than manually running /feature, /plan, /tasks, /build-task, /review, and /done one at a time.

Purpose

Complete one feature as a controlled lifecycle:

  1. Confirm current repo state
  2. Confirm or create feature branch
  3. Confirm feature spec
  4. Create/update plan
  5. Create/update task list
  6. Implement tasks in small batches
  7. Review against Product OS guardrails
  8. Update docs/ADRs when needed
  9. Prepare or update PR
  10. Confirm whether the feature is done

Mandatory rules

  • Do not skip Product OS checks.
  • Do not implement code until spec, plan, and tasks exist.
  • Work from the current branch and associated PR when available.
  • If requirements change, stop implementation and run the change-control section before continuing.
  • Do not silently change product scope, tenancy model, security model, database architecture, or stack decisions.
  • Keep changes tied to the active feature spec and branch.
  • Prefer small commits/checkpoints over one large uncontrolled change.

Inputs to collect

Ask only for missing information:

  • Feature name or feature id
  • Whether an existing spec exists
  • Whether to create a new branch
  • Whether a PR already exists
  • Any changed requirements since the spec was written

Start-of-cycle audit

Before modifying files, inspect:

  • git status --short
  • current branch
  • recent commits
  • open/associated PR if GitHub MCP or gh is available
  • AGENTS.md
  • platform/constitution.md
  • relevant specs/<feature>/spec.md
  • relevant specs/<feature>/plan.md
  • relevant specs/<feature>/tasks.md
  • quality/definition-of-done.md
  • security/tenancy-checklist.md

If the repo is dirty with unrelated changes, classify them before continuing.

Feature lifecycle

1. Feature spec

If no spec exists, create one using the feature template.

The spec must include:

  • user story
  • business outcome
  • functional requirements
  • non-functional requirements
  • data model impact
  • auth/permission impact
  • tenancy impact
  • UI states
  • accessibility requirements
  • acceptance criteria
  • out-of-scope items

2. Technical plan

Create or update the technical plan.

The plan must include:

  • files likely to change
  • database migrations if required
  • storage changes if required
  • queue/background-job changes if required
  • API route changes if required
  • component/CSS changes if required
  • tests required
  • risks/blockers

3. Task list

Create implementation tasks grouped by area:

  • data/schema
  • server/API
  • storage/queues
  • UI/components
  • CSS/design-system
  • tests
  • docs
  • security/tenancy
  • review/finalisation

Tasks must be small enough for an implementation model to complete safely.

4. Implementation loop

Work through tasks in batches.

After each batch:

  • update the task list
  • run relevant tests/checks if available
  • summarise files changed
  • check for scope drift
  • continue to the next batch unless blocked

Do not ask the user to manually run the next Product OS command unless one of these is true:

  • requirements are ambiguous
  • Product OS docs conflict
  • tests fail and need product judgement
  • security/tenancy risk is discovered
  • architecture/ADR decision is required
  • rate limit/tooling prevents continuation

5. Change-control during implementation

If the feature or system changes mid-build:

  1. Pause implementation.
  2. Capture the change in the feature spec.
  3. Update the plan.
  4. Update tasks.
  5. Add/update ADR if architecture changed.
  6. Add/update security notes if risk changed.
  7. Continue only once the new scope is reflected in repo files.

6. PR and branch handling

If GitHub MCP or gh is available:

  • read the associated PR
  • check latest PR comments/reviews/checks
  • keep PR description aligned with feature spec
  • mark completed tasks in the PR/checklist
  • ensure PR title references feature id/name

If no PR exists, recommend creating one when implementation starts or when first useful checkpoint is reached.

7. Review

Before declaring the feature done, review against:

  • feature spec
  • plan
  • task list
  • platform constitution
  • tenancy checklist
  • threat model where relevant
  • design system where relevant
  • accessibility rules
  • definition of done
  • PR checks/comments where available

Classify result as:

  • Done
  • Done with follow-up issues
  • Needs changes
  • Blocked

Required final output

End with:

  • current branch
  • PR status if known
  • feature status
  • tasks completed
  • tasks remaining
  • files changed
  • tests/checks run
  • Product OS docs updated
  • next best action

If the feature is complete, recommend $saas-done only if additional formal sign-off is required. Otherwise include the done checklist result directly.

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.