
Document Generate
Generate missing docs for a feature, module, or whole project, from scratch, on request.
- CCM score
- 61 of 100
- skills.sh installs
- 328
- GitHub stars
- 142.6K
- last updated
- Nov 25, 2026
Own this skill? Claim it
What it does
- Covers writing documentation for a named feature, module, or entire project when none exists yet
- Triggers on phrases like "write docs for this", "generate documentation", "create a tutorial", and "write a how-to"
- Runs a shared preamble, question-tuning, and telemetry steps, and detects the git host (GitHub or GitLab) from the remote URL
- Resolves the base branch via
ghorglabCLI, falling back to git-nativeorigin/HEADormain - Designed for repositories where documentation is absent and must be drafted rather than updated
Install
$ npx -y skills add garrytan/gstack --skill document-generate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Shared preamble (load first)
This skill follows gstack shared preamble bddb4b7ad57b (AskUserQuestion format, voice, writing, completeness and completion rules). A section or subsection here with a shared heading replaces the shared one. Unless the next line loaded that file: if your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read ~/.claude/skills/gstack/document-generate/sections/preamble.md in full before the command below.
!~/.claude/skills/gstack/bin/gstack-skill-load preamble ~/.claude/skills/gstack/document-generate/sections/preamble.md
Preamble (run first)
!~/.claude/skills/gstack/bin/gstack-skill-load start --skill "document-generate" --model "claude"
If the line above is not the start output, run this once; otherwise it already ran:
~/.claude/skills/gstack/bin/gstack-skill-start --skill "document-generate" --model "claude"
Details
- Repository
- github.com/garrytan/gstack
- Categories
- Git & Releases, Technical Documentation
- License
- MIT
- First seen
- Nov 25, 2026
More from garrytan/gstack
All 63- Sync Gbrain324
- Spec315
- Ios Design Review311
- Ios Qa296
- Ios Clean294
- Ios Fix292
- Ios Sync290
- Diagram278
- Test Audit58
- Deslop Shared Libs57
- Eval Plan50
- Design Motion46
- Captain36
- Modernize36
- Ubicloud36
- Write Skill35
- Runaway Stopper26
- Build Check3
- Gstack Ship
- Gstack25.1K
- Design Review689
- Office Hours682
- Plan Ceo Review566
- Plan Eng Review562
Similar to Document Generate
More Git & Releases
release-changelogpaperclipai/paperclip327 installsGenerate the stable Paperclip release changelog at releases/vYYYY.MDD.P.md by reading commits, changesets, and merged PR context since the last stable tag.
git-commitfvadicamo/dev-agent-skills324 installsCreates git commits following Conventional Commits format with type/scope/subject. Use when user wants to commit changes, create commit, save work, or stage and
github-agilejwynia/agent-skills318 installsDiagnose GitHub-driven agile workflow problems and guide feature branch development
create-prdavila7/claude-code-templates314 installsCreate pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review
commit-hygienealinaqi/maggy306 installscommit hygiene
recallberserkdisruptors/contextual-commits305 installsReconstruct and narrate the current development context from contextual commits. Run at session start, when resuming work, or when switching branches. Produces