Shadows Doc Forge
VerifiedAuto-documentation generator — analyzes code and generates README, API docs, architecture docs, inline comments. Use when documentation is missing or outdated.
$ Add to .claude/skills/ About This Skill
# Doc Forge — Intelligent Documentation Generator
Version: 1.1.0 | Author: Shadows Company | License: MIT
---
WHEN TO TRIGGER
- Project has no README or outdated documentation
- User says "document this", "generate docs", "write README"
- New module/feature needs documentation
- API endpoints need documented
- Onboarding documentation needed
WHEN NOT TO TRIGGER
- Code is self-explanatory and well-named
- User explicitly says "no docs needed"
- Adding trivial comments to obvious code
PREREQUISITES
No binaries required. This skill reads source files and generates documentation in markdown format. No external tools needed.
---
DOCUMENTATION TYPES
Type 1 — README.md
Structure: ```markdown # Project Name [One-line description]
Quick Start [3-5 steps to get running]
Features [Bullet list of key capabilities]
Installation [Step-by-step install instructions]
Usage [Code examples for common use cases]
Configuration [Environment variables, config files]
API Reference [If applicable — endpoints or function signatures]
Architecture [High-level diagram or description]
Contributing [How to contribute]
License [License type] ```
Type 2 — API Documentation
For each endpoint/function: ```markdown ### `METHOD /path/to/endpoint`
Description: What it does.
Auth: Required/Optional/None
Parameters: | Name | Type | Required | Description | |------|------|----------|-------------| | id | string | Yes | Resource ID |
Request Body: ```json { "key": "value" } ```
Response (200): ```json { "ok": true, "data": {} } ```
Errors: | Code | Description | |------|-------------| | 400 | Invalid input | | 401 | Unauthorized | | 404 | Not found | ```
Type 3 — Architecture Document
```markdown # Architecture Overview
System Diagram [Text-based diagram using ASCII or Mermaid]
Components [Description of each major component]
Data Flow [How data moves through the system]
Key Decisions [Why certain architectural choices were made]
Dependencies [External services and their purposes] ```
Type 4 — Inline Code Documentation
- Rules for adding code comments:
- Only document WHY, never WHAT — the code shows WHAT
- Document edge cases — explain non-obvious behavior
- Document contracts — inputs, outputs, side effects
- No obvious comments — `// increment counter` on `counter++` is noise
Good: ```python # Rate limit: Stripe API allows max 100 requests/sec. # We batch to stay under 80 to account for retries. batch_size = 80 ```
Bad: ```python # Set batch size to 80 batch_size = 80 ```
---
PROCESS
- Scan the project structure — list all directories and key files (entry points, configs, tests)
- Read entry points first (main.py, index.ts, server.py), then configs, then supporting modules
- Analyze frameworks used, architecture patterns, data flow, public interfaces
- Generate the appropriate documentation type based on what the project needs most
- Verify every code example and function signature against the actual source before finalizing
---
SECURITY CONSIDERATIONS
This skill reads source code files to generate documentation. It does not execute code, make network calls, or modify existing source files. Generated documentation is written as new files only. No credentials required, no persistence, no network access. Safe for all repositories.
---
OUTPUT FORMAT
Generated documentation follows the templates defined in DOCUMENTATION TYPES above. Each output file is a standalone markdown document placed alongside the source it documents (or at the project root for README.md).
---
RULES
- Read before documenting — never document code you haven't read
- Accuracy over completeness — better to document less correctly than more incorrectly
- Living docs — documentation must match current code state
- Examples are mandatory — every API endpoint needs a usage example
- No fictional features — only document what actually exists in the codebase
- Match project language — if project docs are in French, write in French
---
Published by Shadows Company — "We work in the shadows to serve the Light."
Use Cases
- Generate professional written content tailored to specific requirements
- Analyze data and content to extract actionable insights
- Generate structured output from specifications or requirements
- Run automated tests to verify functionality and catch regressions
- Create structured plans with milestones, timelines, and deliverables
Pros & Cons
Pros
- +Security verified with no dangerous patterns detected in content analysis
- +Supports batch processing for efficient high-volume operations
- +API-based architecture allows flexible integration with various platforms
- +Generates professional-quality output suitable for direct use
Cons
- -Requires API key configuration — not free or self-contained
- -Generated content may need manual review and editing for accuracy
- -Template-based approach may not suit highly specialized document formats
FAQ
What does Shadows Doc Forge do?
What platforms support Shadows Doc Forge?
What are the use cases for Shadows Doc Forge?
100+ free AI tools
Writing, PDF, image, and developer tools — all in your browser.
Next Step
Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.