CommunityWriting & Editinggithub.com

gener8v/gener8v.claude-skills.engineering

Create or top up a project's documentation set: list what exists, let the user choose which document types to add, collect one shared fact sheet from the code, write the documents (in parallel when there are several), then check them against each other and against the code. Use when asked to 'bootstrap the docs', 'start the documentation', 'we have no README or ARCHITECTURE', or 'fill in the missing docs'. Not for the per-commit update of existing documents (documentation-sync), and not for gener8v pipeline documents (gener8v:brownfield and gener8v:planning make those).

What is gener8v.claude-skills.engineering?

gener8v.claude-skills.engineering is a Claude Code agent skill that create or top up a project's documentation set: list what exists, let the user choose which document types to add, collect one shared fact sheet from the code, write the documents (in parallel when there are several), then check them against each other and against the code. Use when asked to 'bootstrap the docs', 'start the documentation', 'we have no README or ARCHITECTURE', or 'fill in the missing docs'. Not for the per-commit update of existing documents (documentation-sync), and not for gener8v pipeline documents (gener8v:brownfield and gener8v:planning make those).

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/gener8v/gener8v.claude-skills.engineering/tree/HEAD/skills/documentation-bootstrap

Installed? Explore more Writing & Editing skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Documentation bootstrap

This is an occasional bulk task. For changes after this, use engineering:documentation-sync.

1. Take an inventory

List the documents that exist and mark each one present, thin (exists but is mostly empty or out of date) or missing. Check at least:

README.md, CONTRIBUTING.md, CHANGELOG.md, ARCHITECTURE.md or docs/architecture/, decision records, CLAUDE.md, SECURITY.md, LICENSE, the API reference, the configuration reference, runbooks.

git ls-files '*.md' | grep -v node_modules

2. Let the user choose

Show the menu from resources/doc-catalog.md. Mark each type as present, thin or missing. Mark the types that you recommend for this kind of project.

  • Present documents are not rewritten. The user can choose "revise" for a thin one.
  • The user picks. Do not write a type that the user did not pick.

3. Build the fact sheet

Before anyone writes, collect the facts that more than one document will use. Take them from the code and git, not from memory. Write them to a scratch file.

FactSource
Project name and one-sentence purposeREADME, manifest, the user
Current versionmanifest, latest tag (git describe --tags --abbrev=0)
Languages, frameworks and their versionsmanifests and lock files
Install, test, lint, build and run commandsengineering:development-commands
Components and their namesdirectory layout, entry points, compose files
Environment variables and settings.env.example, and the code that reads settings (search for process.env, os.environ, getenv)
Important datesthe first commit (git log --reverse), the tags
What works today, what does notthe user, open issues

If two sources disagree, ask the user. Do not choose one silently. Every writer uses only the fact sheet and the code.

4. Write

  • Three documents or fewer: write them yourself, one after the other.
  • More than three: start one sub-agent for each document or small group, at most four at a time. Give each sub-agent:
    • the exact file or files that it owns, and the rule that it may not change any other file;
    • the fact sheet;
    • the section outline for its type from resources/doc-catalog.md;
    • the instruction to write in Simplified Technical English (the simple-english skill, if installed);
    • the instruction to report facts that it needed and did not find, instead of inventing them.

Do not invent history, numbers, users or features. Write "TBD" and list it for the user.

5. Check the set

Follow resources/consistency-check.md. Fix every problem before you continue.

6. Commit

Put the documents on a branch (engineering:git-branching) and open a PR (engineering:github-pr-merge). In the PR body, list each new document and each "TBD" that needs an answer from the user.

Related skills

  • engineering:documentation-sync: keeps these documents correct after this.
  • gener8v:brownfield: onboards an existing codebase into the gener8v pipeline. It writes .gener8v/ context, not these project documents.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

gener8v/gener8v.claude-skills.engineering

Find and run a project's test, lint, type-check, build and dev-server commands, read the results correctly, and seed a throwaway database when UI work needs realistic data. Never seeds the project's real or default database. Use before 'run the tests', 'lint this', 'does it build', 'start the app so I can see it', 'seed some demo data', and before you claim that a change works. Not for deployment or CI pipeline design; use the project's own deploy tooling for those.

gener8v/gener8v.claude-skills.engineering

Before a commit, find every document that describes what the change touched and update it in the same commit, or confirm in one line that no document needs a change. Catches stale text, missing documentation and facts kept in two places. Use before any commit or PR, and when asked 'are the docs up to date', 'update the docs for this change' or 'did I miss a README change'. Not for creating a documentation set or filling large gaps (documentation-bootstrap), and not for gener8v pipeline documents under .gener8v/, which the pipeline skills own.

gener8v/gener8v.claude-skills.engineering

Put work on the correct branch before the first edit. Finds the base branch, starts a well-named branch from the current remote tip, and sets up one worktree per agent for parallel work. Use at the start of any change to a tracked file, such as 'start on issue 42', 'fix this typo', 'set up branches for these three tickets', or before you start sub-agents that edit code. Not for opening or merging a PR (github-pr-merge) or for history rewrites and other risky git commands (git-safety).

gener8v/gener8v.claude-skills.engineering

Approval gate for git commands that destroy work or skip checks: force-push, --no-verify, signing bypass, reset --hard, clean -f, discarding uncommitted edits, branch or tag deletion, rewriting pushed commits and push --mirror. Each one needs the user's explicit approval at that moment; an earlier approval never carries over. Also covers a secrets check before a commit and what to do when a secret is already committed. Use before any of these commands, or when asked to 'force push', 'skip the hooks', 'throw away my changes' or 'delete that branch'. Not for normal branching (git-branching) or the PR flow (github-pr-merge).

Related Skills