feature-spec
Skill321 starsChanged 54 days agoApache-2.0View on GitHub
Generate a Packmind feature specification from a GitHub issue, file, URL, or direct description. Breaks Phase 3 into 4 fine-grained approval gates (domain data structures, ports/use cases/routes, frontend components, implementation plan) to catch problems early. Routes work between the OSS sibling (../packmind) and the proprietary repo (cwd). Outputs spec artifacts under tmp/feature-specs/{slug}/ for use with /feature-sprint.
20 other projects use a version of this.
Adopted by
Most recently taken up by
- insight68/Skillstheir own version, first seen Nov 8, 2026
- CesarRivasP/feature-spectheir own version, first seen Oct 15, 2026
- PiloTracer/pilo.ai.logicbisontheir own version, first seen Oct 11, 2026
- akachandan1/proofstacktheir own version, first seen Oct 11, 2026
- edu6565/claude-skillstheir own version, first seen Oct 11, 2026
- Simone-Tarantino/godot-superpowerstheir own version, first seen Oct 11, 2026
Used with
Projects with it also use changelog.
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.
HashiCorpSkillchangelog
Add a `.changelog/<PR_NUMBER>.txt` entry for a GitHub Pull Request, commit, and push.
Also in 4 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- WikiEducationFoundation/WikiEduDashboard★ 431same name
- https-deeplearning-ai/sc-spec-driven-development-files★ 310same name
- natnew/awesome-ai-scientists★ 20same name
- yasunori0418/skills★ 9same name
- insight68/Skills★ 5same name
- carreiras/claude-skills★ 4same name
- devexpert-io/harness-starter★ 4same name
- gonimar/claude-web-studio★ 4same name
- Simone-Tarantino/godot-superpowers★ 2same name
- CesarRivasP/feature-spec★ 1same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository92 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apps/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- apps/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- packages/CLAUDE.mdCLAUDE.md
- .cursor/rules/packmind/standard-backend-tests-redaction.mdcCursor rule
- .cursor/rules/packmind/standard-changelog.mdcCursor rule
- .cursor/rules/packmind/standard-code-comments.mdcCursor rule
- .cursor/rules/packmind/standard-compliance-logging-personal-information.mdcCursor rule
- .cursor/rules/packmind/standard-typescript-good-practices.mdcCursor rule
- agent-skill-frontmatter-auditSkill
- amplitude-listener-events-adoptionSkill
- cli-e2e-test-authoringSkill
- datadog-analysisSkill
- doc-auditSkill
- feature-specSkill
- feature-sprintSkill
- packmind-onboardSkill
- packmind-update-playbookSkill
- playbook-cli-auditSkill
- product-mapSkill
- qa-reviewSkill
- release-proprietarySkill
- upgrade-runtime-stackSkill
- working-with-playground-appSkill
- working-with-pm-design-kitSkill
- agentic-design-sessionSkill
- agentic-doc-ingestSkill
- agentic-feature-framingSkill
- agentic-orchestratorSkill
- agent-skill-frontmatter-auditSkill
- amplitude-listener-events-adoptionSkill
- cli-e2e-test-authoringSkill
- create-run-e2e-testsSkill
- creating-end-user-documentation-for-packmindSkill
- datadog-analysisSkill
- doc-auditSkill
- feature-flags-auditSkill
- feature-flags-authoringSkill
- feature-sprintSkill
- how-to-write-typeorm-migrations-in-packmindSkill
- improve-claude-mdSkill
- packmind-onboardSkill
- packmind-update-playbookSkill
- playbook-cli-auditSkill
- product-mapSkill
- qa-reviewSkill
- release-proprietarySkill
- upgrade-runtime-stackSkill
- working-with-playground-appSkill
- working-with-pm-design-kitSkill
- agent-skill-frontmatter-auditSkill
- amplitude-listener-events-adoptionSkill
- cli-e2e-test-authoringSkill
- creating-end-user-documentation-for-packmindSkill
- datadog-analysisSkill
- doc-auditSkill
- feature-flags-auditSkill
- feature-flags-authoringSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill when the user wants to:
- Very specific: line 76
Before starting, check for an existing task directory at tmp/feature-specs/{slug}/:
- Distinctive: line 78
Check which output files exist to determine current phase (see Phase Detection table above)
- Very specific: line 79
Read the main spec file's YAML frontmatter for status: DRAFT|COMPLETE
- Distinctive: line 88
If user confirms, proceed to the appropriate phase file
- Distinctive: line 89
If no task directory found, start a new feature spec
- Distinctive: line 123
After generating the implementation plan, a Plan subagent analyzes tasks
- Very specific: line 135
When the spec is complete (Phase 4), the next step is /feature-sprint {slug} — the companion skill that executes the implementation plan.
“Common” is measured: kept by at least 6 in 10 of the 18 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.
Files
Feature Spec Skill
Generate a comprehensive feature specification grounded in Packmind's hexagonal architecture, frontend gateway/PM-UI conventions, and the OSS/proprietary fork boundary.
When to Use
Use this skill when the user wants to:
- Plan a new feature, fix, or refactor that spans Packmind's stack
- Convert a GitHub issue, design doc, or rough idea into a structured spec
- Get fine-grained validation of data structures, routes, and components before committing to a plan
Do NOT use for trivial one-line fixes or pure dependency bumps.
Packmind Repo Layout (essential context)
- Closed-source fork (
packmind-proprietary): the current working directory when this skill runs. - Open-source repo (
packmind): the sibling directory at../packmind(cloned next to the proprietary repo). Resolve to an absolute path at runtime withrealpath ../packmind. - Most feature work happens on the OSS repo and auto-merges into the proprietary fork. The proprietary fork only contains paid/closed features (e.g.
packages/editions, certainpackages/deploymentsextensions). After an OSS merge, you typically pull on the proprietary side. - Architecture: hexagonal (
packages/{domain}/{domain,application,infra}), NestJS API atapps/api, React+@packmind/uifrontend atapps/frontend, TypeORM, Jest+@swc/jest.
Input Sources
| Source | Examples | Detection |
| GitHub | #123, owner/repo#123, full issue URL | Pattern #\d+ or github.com/.../issues/ |
| File | file:spec.md, path/to/spec.md | Prefix file: or readable file |
| URL | https://... | HTTP(S) URL (non-GitHub) |
| Prompt | Any other text | Default |
Workflow Phases
Execute phases sequentially. Phases 1 and 4 run seamlessly (no approval gate). Phases 2 and 3 require user approval before proceeding.
| Phase | File | Purpose | Gate |
| 1 | phase-1-resolve-source.md | Detect source type, fetch content, decide OSS-vs-proprietary routing, create state | seamless |
| 2 | phase-2-discovery-and-spec.md | Research Packmind patterns (reference domain, hex layers, frontend conventions), draft acceptance criteria, generate functional spec | approval |
| 3 | phase-3-implementation.md | Technical approach + implementation plan (4 subtasks below) | 4 approvals |
| 3A | ↳ Subtask 3A | Validate domain data structures (entities, value objects, events, migrations) | approval |
| 3B | ↳ Subtask 3B | Validate ports, contracts, use cases, services, adapters, NestJS routes | approval |
| 3C | ↳ Subtask 3C | Validate frontend components, gateways, query hooks, PM-UI usage | approval |
| 3D | ↳ Subtask 3D | Generate full implementation plan (task breakdown, grouping, coverage) | approval |
| 4 | phase-4-finalize.md | Generate context.md, mark spec complete, report (no commit — artifacts live in tmp/) | seamless |
State Management
State is persisted to markdown files under a git-ignored tmp/ directory for cross-session continuity. Phase progress is inferred from which output files exist — no separate state file needed.
tmp/feature-specs/{slug}/
├── {slug}.md # Main spec (status: DRAFT → COMPLETE in frontmatter)
├── discovery.md # Phase 2 output (YAML frontmatter + markdown)
├── functional-spec.md # Phase 2 output (informed by discovery)
├── implementation-plan.md # Phase 3 output (includes parallel groups section)
└── context.md # Phase 4 output (YAML frontmatter + markdown)Phase Detection (Resume Logic)
| Files Present | Completed Phase | Resume At |
{slug}.md only | Phase 1 | Phase 2 |
+ discovery.md, functional-spec.md | Phase 2 | Phase 3 |
+ implementation-plan.md | Phase 3 | Phase 4 |
+ context.md (status: COMPLETE) | Phase 4 | Done |
Invocation
Auto-Detection (Resuming)
Before starting, check for an existing task directory at tmp/feature-specs/{slug}/:
- Check which output files exist to determine current phase (see Phase Detection table above)
- Read the main spec file's YAML frontmatter for
status: DRAFT|COMPLETE - If resuming, display:
**Resuming Feature Spec**: {slug} **Current Phase**: {detected_phase} **Status**: {status from frontmatter} Continue from Phase {detected_phase}? (Y/n) - If user confirms, proceed to the appropriate phase file
- If no task directory found, start a new feature spec
Starting New
To start a new feature spec: Read phase-1-resolve-source.md and follow its instructions.
<feature-spec-rules>
<rule>Execute phases SEQUENTIALLY — never skip phases</rule>
<rule>Phases 1 and 4 proceed automatically — no approval gate</rule>
<rule>Phases 2 and 3 require USER APPROVAL via AskUserQuestion before proceeding</rule>
<rule>Save all artifacts under tmp/feature-specs/{slug}/ — never under tracked folders</rule>
<rule>Use Task tool with Explore subagent for codebase research; never read 50 files yourself</rule>
<rule>Agent NEVER implements code in this skill — output ONLY specification documents</rule>
<rule>Main spec file has status DRAFT until Phase 4 completes</rule>
<rule>Always record target_repo (oss | proprietary | both) decided in Phase 1; consumed by /feature-sprint</rule>
<rule>Never invent OSS/proprietary boundaries — if unsure, ask the user</rule>
</feature-spec-rules>Output
Final deliverable: tmp/feature-specs/{slug}/{slug}.md + sibling artifacts.
Contains:
- Functional specification with acceptance criteria
- Technical approach grounded in Packmind reference patterns
- Implementation plan with phased tasks (each task has reference
file:linepatterns) - Parallel Groups section (for parallel execution via
/feature-sprint) target_repo: oss | proprietary | both
Parallel Execution Support
Phase 3 includes a grouping step that analyzes task dependencies and creates parallel execution groups:
How grouping works:
- After generating the implementation plan, a Plan subagent analyzes tasks
- Tasks are grouped by file dependencies (tasks sharing files go together)
- Groups are non-overlapping (no file belongs to multiple groups)
- Results are stored in
implementation-plan.md(Parallel Groups section) andcontext.md(YAML frontmatter)
When grouping is skipped:
- Tasks have no clear file dependencies
- Single-file or trivial implementations
- User opts out during Phase 3 review
Handoff
When the spec is complete (Phase 4), the next step is /feature-sprint {slug} — the companion skill that executes the implementation plan.
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
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.

