feature-spec
Skill0 starsChanged 2 months agoMITView on GitHub
Researches a feature request and writes a specification with acceptance criteria and a screenshot mockup for human review. Use for type:feature tickets after triage.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- devexpert-io/harness-startertheir own version, first seen Sep 26, 2026
- PackmindHub/packmindtheir own version, first seen Sep 21, 2026
- carreiras/claude-skillstheir own version, first seen Jul 10, 2026
- PiloTracer/pilo.ai.logicbisontheir own version, first seen Jul 6, 2026
- yasunori0418/skillstheir own version, first seen Jun 27, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- PackmindHub/packmind★ 317same name
- natnew/awesome-ai-scientists★ 19same name
- yasunori0418/skills★ 8same name
- gonimar/claude-web-studio★ 5same name
- carreiras/claude-skills★ 4same name
- devexpert-io/harness-starter★ 4same name
- manishkumar98/nextleap-claude-code★ 1same name
- PiloTracer/pilo.ai.logicbison★ 0same name
- vbrevik/claude_code_skills★ 0same name
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.
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 7 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
- Distinctive: line 22
Read AGENTS.md, then the actual code in the change area.
- Very specific: line 38
Write a throwaway script in /tmp (it never lands in the repository).
- Distinctive: line 41
Start the site as is, open it in Playwright — the same Chromium as in the tests.
- Distinctive: line 45
If the change has states (on/off, before/after) — show both.
- Distinctive: line 130
Read the reason, rewrite the specification with exactly that remark in mind, note in the comment what changed compared to the previous …
“Common” is measured: kept by at least 6 in 10 of the 7 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 Specification
Your job is to research and describe, not implement. No feature code is written at this stage.
A human reads the result and decides: set spec:approved or return it for a rewrite.
The ticket number is in $ISSUE.
Step 0. Check the state
Work only if there is type:feature + ai:triaged, and no spec:ready, spec:approved,
ai:in-progress, needs-info. Set ai:in-progress, remove it at the end.
Exception: a human explicitly asked for a rewrite — then rewrite, even if spec:ready is already set.
Step 1. Research
Read AGENTS.md, then the actual code in the change area. Find out concretely:
- where exactly this behavior lives in the current code (file and function);
- what already exists that can be reused;
- what constraints the pure frontend without a build imposes (no server, no state between sessions);
- whether it conflicts with
prefers-reduced-motion, responsive layout, the Ukrainian localization.
A specification without links to specific lines of code is fiction. That is how it will be judged too.
Step 2. Draw the mockup — as a real screenshot
ASCII-art in a comment is forbidden. A human must see the result with their own eyes, not reconstruct it from boxes and dashes.
The mockup is made by overlaying on the live page, not by editing project files:
- Write a throwaway script in
/tmp(it never lands in the repository). Node will not find the project'snode_modulesfrom there — load Playwright viacreateRequire("<project root>/package.json"), not a plainimport. - Start the site as is, open it in Playwright — the same Chromium as in the tests.
- Overlay the proposed change at runtime:
page.addStyleTag,page.evaluate,context.addInitScript. Do not touchindex.html,styles.css,app.js. - Capture at least two widths: desktop 1280 and mobile 360 — the same one as in the acceptance criteria.
- If the change has states (on/off, before/after) — show both.
File names: docs/evidence/spec-$ISSUE-<screen>[-mobile].png.
The naming convention is in _shared/evidence.md.
Then put the PNGs on a branch so the raw link works. A branch with images only, no code and no PR:
git worktree add /tmp/mockup-$ISSUE -b ai/$ISSUE-spec-mockup origin/main
cp docs/evidence/spec-$ISSUE-*.png /tmp/mockup-$ISSUE/docs/evidence/
git -C /tmp/mockup-$ISSUE add docs/evidence/
git -C /tmp/mockup-$ISSUE commit -m "Mockup for specification #$ISSUE"
git -C /tmp/mockup-$ISSUE push -u origin ai/$ISSUE-spec-mockup
git worktree remove /tmp/mockup-$ISSUEThe worktree is so you do not drag uncommitted changes from the working branch along.
The link for the comment:
https://raw.githubusercontent.com/vidprog/coffee-ground-tests/ai/$ISSUE-spec-mockup/docs/evidence/spec-$ISSUE-home.png
The mockup must be honest. It is an overlay on the real layout of the real project, so it shows real proportions, fonts and behavior at 360px. If you draw something that does not exist in the project — say so in the caption under the image.
Step 3. Write the specification
As a comment on the ticket, exactly in this format:
## 📋 Specification
### Who and why
The user, the scenario, the problem. One or two sentences.
### What we do
A description of the behavior from the user's point of view. Without the words "optimize",
"improve" — only what can be seen on screen.
### What it will look like
| Desktop | 360px |
|---|---|
|  |  |
Under the images — one line about what exactly is shown on them and what was drawn in.
### Acceptance criteria
- [ ] Each item is verifiable by a Playwright test.
- [ ] Phrase it as an observable action: "after clicking X, Y appears".
- [ ] Mandatory item about the mobile width 360px.
- [ ] Mandatory item about `prefers-reduced-motion`, if there is animation.
### Out of scope
What we deliberately do NOT do in this ticket. At least two items.
### Technical plan
| File | Change |
|---|---|
| `app.js` | new function `shareResult()` next to `copyResult()` (line ~118) |
| `styles.css` | button style based on `.ghost-btn` |
| `tests/share.spec.js` | new test for the acceptance criteria |
Size estimate: S / M / L. Risks: what may go wrong.
### Open questions
Where a human decision is needed. If there are none — write "none".
---
👤 **Review needed.** Agree — set the `spec:approved` label, and implementation can start.
Something is off — write a comment, I will rewrite the specification.
<sub>🤖 Automated specification · the mockup was overlaid in a browser, project code was not touched</sub>Step 4. Set labels
gh issue edit $ISSUE -R vidprog/coffee-ground-tests \
--add-label "spec:ready" --remove-label "ai:in-progress"If the specification was returned
Read the reason, rewrite the specification with exactly that remark in mind, note in the comment what changed compared to the previous version, and retake the mockup if the remark was about looks. Do not argue, but if the remark contradicts the code — say so directly, with links to lines.
Forbidden
Writing feature code, editing project files for the mockup, opening a PR,
setting spec:approved yourself, making assumptions about a backend or a build — there are none in the project.
ASCII-art instead of a screenshot. Drawing the mockup in a graphics editor instead of a browser —
it will lie about proportions.
The branch ai/$ISSUE-spec-mockup with PNGs only — the only thing this skill is allowed to push.
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.

