Skills for Real Engineers. Straight from my .agents directory.
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
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)
1# feature-doc: closed-loop feature documentation23Produces one evidence-backed feature article end to end. Capture needs no manual4gesture: a bundled recorder grabs frames from the browser through the DevTools5protocol. Publishing the docs PR stays a gate for you at CP-6.67## Configuration89Set these once (a `.env`, your `kit.toml`, or pass them as arguments). Nothing below is hardcoded.1011| 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>/` |1819Keep 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.2021## When to use22- 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.2425Skip it for backend features with no user surface (write a short "no doc required" record instead).2627## Closed loop28```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
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
