documenting-project
Skill0 starsChanged 5 months agoMITView on GitHub
Use when the user explicitly requests project documentation with trigger phrases like '/document-project', 'Finalize Project', or 'Generate Project Documentation'. Never activates automatically.
In this repository2 other files it gives its agents.
- .cursor/rules/documenting-project.mdcCursor rule
- documenting-projectSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 2 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
NEVER activate automatically: Do not trigger on tangential mentions of "docs", "readme", or casual conversation about documentation.
- Distinctive: line 36
This is the highest-priority step: Before generating anything, reconstruct the complete development history.
- Very specific: line 73
Create <artifacts>/development_log.md with timestamped development events and phases.
- Very specific: line 76
Create <artifacts>/technical_report.md with requirements, architecture, security, performance, and API specs.
- Very specific: line 79
Create <artifacts>/visual_documentation.md containing Mermaid.js diagrams (Architecture, Sequence, Component, Flowchart, Gantt).
- Very specific: line 82
Create <artifacts>/decision_log.md logging architectural, technical, and process decisions with context and impact.
- Very specific: line 85
Create <artifacts>/project_metrics.md tracking files, LOC estimates, prompt iterations, bug counts, and tools used.
- Very specific: line 88
Create <artifacts>/presentation_outline.md containing an 11-slide pitch deck outline with talking points.
- Very specific: line 91
Create <artifacts>/reflection.md analyzing successes, improvements, postponed features, and future roadmap.
- Very specific: line 97
Create <artifacts>/project_dashboard.md summarizing status and linking all artifacts and Notion pages.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Documenting a Project
Overview
Generate comprehensive, professional-grade project documentation from the full history of a completed (or in-progress) project. This skill reconstructs the entire development journey — every decision, error, fix, and iteration — then produces structured deliverables across multiple formats, a Notion workspace, and a summary dashboard.
When to Use
ONLY activate when the user explicitly says one of these triggers:
/document-projectFinalize ProjectGenerate Project DocumentationDocument this project- Any clear, unambiguous request to produce final project documentation
NEVER activate automatically. Do not trigger on tangential mentions of "docs", "readme", or casual conversation about documentation.
When NOT to Use
- Writing a single README
- Updating inline code comments
- Answering a question about the project
- Any context where the user has not explicitly requested full project documentation
Execution Steps
Step 1 — Reconstruct Project Memory
This is the highest-priority step. Before generating anything, reconstruct the complete development history. The documentation must reflect the full journey, not just the final state.
Sources to mine:
| Source | How to access | What to extract |
| Conversation history | Read transcript logs from <appDataDir>/brain/<conversation-id>/.system_generated/logs/transcript.jsonl | Every prompt, response, iteration, pivot, and user feedback |
| Code changes | list_dir, view_file, grep_search across the project root | All source files, configs, scripts, tests — current state |
| Files created | Walk the full directory tree, note timestamps where available | Complete file inventory with purposes |
| Decisions made | Extract from conversation: "I chose X because Y", "Let's use Z" | Decision + rationale pairs |
| Errors encountered | Grep transcripts for error messages, stack traces, "fix", "bug", "broke" | Error description, root cause, context |
| Fixes applied | Track what changed after each error | Fix description, files modified, approach |
| User feedback | Filter transcript for USER_INPUT steps | Requests, corrections, approvals, rejections |
Reconstruction process:
- Read the conversation transcript — scan
transcript.jsonlfor allUSER_INPUTandPLANNER_RESPONSEsteps. Build a chronological event list. - Walk the codebase —
list_dirrecursively from the project root. For every file, note path, size, and purpose. - Extract decisions — search the transcript for phrases like "chose", "decided", "because", "instead of", "better to", "let's use". Log each as a Decision record.
- Extract errors — search for "error", "Error", "failed", "bug", "broke", "fix", "issue". Log each with context.
- Build a timeline — order all events chronologically using timestamps from the transcript.
- Count metrics — total files, languages, dependencies, iterations, bugs fixed.
Step 2 — Generate Multiple Documentation Formats
Generate all applicable documents as artifacts:
README.mdCHANGELOG.mdCONTRIBUTING.mdPROJECT_REPORT.mdAPI_DOCUMENTATION.mdUSER_GUIDE.mdDEPLOYMENT_GUIDE.md
Step 3 — Generate Development Log with Timeline
Create <artifacts>/development_log.md with timestamped development events and phases.
Step 4 — Generate Technical Report
Create <artifacts>/technical_report.md with requirements, architecture, security, performance, and API specs.
Step 5 — Generate Visual Documentation
Create <artifacts>/visual_documentation.md containing Mermaid.js diagrams (Architecture, Sequence, Component, Flowchart, Gantt).
Step 6 — Capture AI Decisions
Create <artifacts>/decision_log.md logging architectural, technical, and process decisions with context and impact.
Step 7 — Generate Project Metrics
Create <artifacts>/project_metrics.md tracking files, LOC estimates, prompt iterations, bug counts, and tools used.
Step 8 — Generate Presentation Outline
Create <artifacts>/presentation_outline.md containing an 11-slide pitch deck outline with talking points.
Step 9 — Generate Reflection & Retrospective
Create <artifacts>/reflection.md analyzing successes, improvements, postponed features, and future roadmap.
Step 10 — Create Notion Workspace
Construct a 16-page hierarchical Notion workspace using Notion MCP API tools.
Step 11 — Generate Summary Dashboard
Create <artifacts>/project_dashboard.md summarizing status and linking all artifacts and Notion pages.
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.

