agentleFS
nyalakondasheshankadesai-jpgnyalakondasheshankadesai-jpg/antigravity-documentor/SKILL.md

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.

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
  1. Distinctive:

    NEVER activate automatically: Do not trigger on tangential mentions of "docs", "readme", or casual conversation about documentation.

    line 21
  2. Distinctive:

    This is the highest-priority step: Before generating anything, reconstruct the complete development history.

    line 36
  3. Very specific:

    Create <artifacts>/development_log.md with timestamped development events and phases.

    line 73
  4. Very specific:

    Create <artifacts>/technical_report.md with requirements, architecture, security, performance, and API specs.

    line 76
  5. Very specific:

    Create <artifacts>/visual_documentation.md containing Mermaid.js diagrams (Architecture, Sequence, Component, Flowchart, Gantt).

    line 79
  6. Very specific:

    Create <artifacts>/decision_log.md logging architectural, technical, and process decisions with context and impact.

    line 82
  7. Very specific:

    Create <artifacts>/project_metrics.md tracking files, LOC estimates, prompt iterations, bug counts, and tools used.

    line 85
  8. Very specific:

    Create <artifacts>/presentation_outline.md containing an 11-slide pitch deck outline with talking points.

    line 88
  9. Very specific:

    Create <artifacts>/reflection.md analyzing successes, improvements, postponed features, and future roadmap.

    line 91
  10. Very specific:

    Create <artifacts>/project_dashboard.md summarizing status and linking all artifacts and Notion pages.

    line 97

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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-project
  • Finalize Project
  • Generate Project Documentation
  • Document 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:

SourceHow to accessWhat to extract
Conversation historyRead transcript logs from <appDataDir>/brain/<conversation-id>/.system_generated/logs/transcript.jsonlEvery prompt, response, iteration, pivot, and user feedback
Code changeslist_dir, view_file, grep_search across the project rootAll source files, configs, scripts, tests — current state
Files createdWalk the full directory tree, note timestamps where availableComplete file inventory with purposes
Decisions madeExtract from conversation: "I chose X because Y", "Let's use Z"Decision + rationale pairs
Errors encounteredGrep transcripts for error messages, stack traces, "fix", "bug", "broke"Error description, root cause, context
Fixes appliedTrack what changed after each errorFix description, files modified, approach
User feedbackFilter transcript for USER_INPUT stepsRequests, corrections, approvals, rejections

Reconstruction process:

  1. Read the conversation transcript — scan transcript.jsonl for all USER_INPUT and PLANNER_RESPONSE steps. Build a chronological event list.
  2. Walk the codebase — list_dir recursively from the project root. For every file, note path, size, and purpose.
  3. Extract decisions — search the transcript for phrases like "chose", "decided", "because", "instead of", "better to", "let's use". Log each as a Decision record.
  4. Extract errors — search for "error", "Error", "failed", "bug", "broke", "fix", "issue". Log each with context.
  5. Build a timeline — order all events chronologically using timestamps from the transcript.
  6. Count metrics — total files, languages, dependencies, iterations, bugs fixed.

Step 2 — Generate Multiple Documentation Formats

Generate all applicable documents as artifacts:

  • README.md
  • CHANGELOG.md
  • CONTRIBUTING.md
  • PROJECT_REPORT.md
  • API_DOCUMENTATION.md
  • USER_GUIDE.md
  • DEPLOYMENT_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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.