Tooluck logoTooluck
SKILL.md

feature-doc

Agent skill fromhuytieu/COG-second-brain

Closed-loop feature documentation for your product. Give it a feature (issue numbers or an id) and it reads the source, drives your live app to capture real screenshots and a screen recording, writes a docs article (Docusaurus or any markdown docs site) with both how-to steps and use-case content, then verifies the article with a fresh-context read-only verifier before reporting. Use when you say "write the doc for <feature>", "document issue #123", or "/feature-doc".

How to install feature-doc

install feature-doc
# install the COG-second-brain pack with the skills CLI
npx skills add huytieu/COG-second-brain

# or add only this skill to Claude Code: copy the folder

skills/feature-doc/

# into

~/.claude/skills/feature-doc/ (all projects)

.claude/skills/feature-doc/ (one project)

skills/feature-doc/SKILL.md

MITFull file
1# feature-doc: closed-loop feature documentation
2
3Produces one evidence-backed feature article end to end. Capture needs no manual
4gesture: a bundled recorder grabs frames from the browser through the DevTools
5protocol. Publishing the docs PR stays a gate for you at CP-6.
6
7## Configuration
8
9Set these once (a `.env`, your `kit.toml`, or pass them as arguments). Nothing below is hardcoded.
10
11| Setting | Meaning | Example |
12|---|---|---|
13| `APP_URL` | Start page of the live app to drive | `https://app.example.com/projects/1` |
14| `ISSUE_REPO` | Issue tracker holding the feature issues | `your-org/your-product` |
15| `DOCS_REPO` | Local path of the docs repo | `../your-docs` |
16| `DOCS_DIR` | Folder inside the docs repo for the article | `docs/features/` |
17| `EVIDENCE_DIR` | Where screenshots and video land | `./evidence/<feature>/` |
18
19Keep the docs repo in a folder your tools can always read. Some operating systems block background reads of the Documents folder mid-session, which breaks the verifier.
20
21## When to use
22- A shipped or shipping feature has no article, or an outdated one.
23- You want a doc that works as a user manual and as a guide to what you can do with the feature, with real screenshots and a video.
24
25Skip it for backend features with no user surface (write a short "no doc required" record instead).
26
27## Closed loop
28```
29CP-1 spec (issues/repo) -> CP-2 plan (AC-n) -> CP-3 build (capture + write)
30…

Excerpt shown under the repository's MIT license.

More skills in COG-second-brain

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates