documentation-assistant
CLAUDE.md9 starsChanged 5 months agoMITView on GitHub
Documentation Assistant is an AI-powered tool that helps developers understand, analyze, and generate documentation for software projects. The main goal of this project is to reduce the effort required to document codebases by using AI assistance to: When writing code: Since this project focuses on documentation: When assisting with this project: Before creating commits: Common commit types: feat: add repository scanning feature fix: handle missing documentation files docs: update installation guide refactor: simplify file processing logic test: add documentation parser…
- Reads credentials
In this repositoryOne other file it gives its agents.
- code-documentationSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
26 rules. About 0 are common, 24 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈24
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 22
Create a simple workflow that developers can use with minimal setup.
- Distinctive: line 30
Always understand the existing project structure before making changes.
- Distinctive: line 31
Do not modify files unrelated to the requested feature.
- Distinctive: line 32
Prefer simple and maintainable solutions.
- Distinctive: line 33
Follow existing coding patterns in the repository.
- Distinctive: line 34
Keep functions small and focused.
- Distinctive: line 43
Write clean and readable code.
- Distinctive: line 44
Use meaningful variable and function names.
- Distinctive: line 45
Add comments only when the logic is not obvious.
- Distinctive: line 48
Keep the project easy for new contributors to understand.
- Distinctive: line 57
Do not invent information that does not exist in the source code.
- Distinctive: line 58
Always verify generated content against the actual implementation.
- Distinctive: line 71
When assisting with this project:
- Distinctive: line 77
Avoid large refactoring unless requested.
- Distinctive: line 85
Ensure the application builds successfully.
- Distinctive: line 86
Check for syntax errors.
- Distinctive: line 87
Verify that existing features still work.
- Distinctive: line 89
Make sure the commit message clearly describes the actual changes.
- Very specific: line 91
Avoid generic commit messages such as update, changes, or modify.
- Distinctive: line 122
Update documentation if needed.
- Distinctive: line 128
Never expose API keys or secrets.
- Very specific: line 129
Do not commit .env files.
- Distinctive: line 132
Avoid executing unsafe user-provided code.
- Distinctive: line 138
Before considering a task complete:
- Distinctive: line 140
Test the changed functionality.
- Distinctive: line 143
Ensure documentation matches the implementation.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md 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
<!-- Before doing or changing anything, read CLAUDE.md and README.md first. --> Project Overview
Documentation Assistant is an AI-powered tool that helps developers understand, analyze, and generate documentation for software projects.
The main goal of this project is to reduce the effort required to document codebases by using AI assistance to:
- Analyze project structure
- Understand source code
- Generate meaningful documentation
- Help developers quickly understand unfamiliar repositories
Project Goals
- Build a reliable documentation generation assistant.
- Provide clear and useful explanations of code.
- Generate developer-friendly documentation.
- Maintain accuracy by using the existing codebase as the source of truth.
- Create a simple workflow that developers can use with minimal setup.
Development Guidelines
General Rules
- Always understand the existing project structure before making changes.
- Do not modify files unrelated to the requested feature.
- Prefer simple and maintainable solutions.
- Follow existing coding patterns in the repository.
- Keep functions small and focused.
- Avoid unnecessary dependencies.
Code Quality
When writing code:
- Write clean and readable code.
- Use meaningful variable and function names.
- Add comments only when the logic is not obvious.
- Handle errors properly.
- Avoid duplicated code.
- Keep the project easy for new contributors to understand.
Documentation Rules
Since this project focuses on documentation:
- Generated documentation must be clear and beginner-friendly.
- Do not invent information that does not exist in the source code.
- Always verify generated content against the actual implementation.
Explain:
- Purpose of files
- Important functions/classes
- Data flow
- Dependencies
- Setup instructions
AI Assistant Behavior
When assisting with this project:
- First analyze the repository structure.
- Understand the existing implementation before suggesting changes.
- Explain the reason behind recommended changes.
- Prefer incremental improvements.
- Avoid large refactoring unless requested.
Git Workflow
Before creating commits:
- Ensure the application builds successfully.
- Check for syntax errors.
- Verify that existing features still work.
- Review changed files before committing.
- Make sure the commit message clearly describes the actual changes.
- The commit message name must be related to the features added, bugs fixed, or improvements made.
- Avoid generic commit messages such as
update,changes, ormodify.
Common commit types:
feat:— Add a new featurefix:— Fix a bug or unexpected behaviordocs:— Update documentationrefactor:— Improve code structure without changing functionalitytest:— Add or update testschore:— Update configuration or maintenance tasks
Examples:
feat: add repository scanning feature fix: handle missing documentation files docs: update installation guide refactor: simplify file processing logic test: add documentation parser tests chore: update project dependencies
Feature Development Process
For new features:
- Understand the requirement.
- Review existing architecture.
- Plan the implementation.
- Implement the smallest working solution.
- Test the feature.
- Update documentation if needed.
Security Guidelines
- Never expose API keys or secrets.
- Do not commit
.envfiles. - Validate external inputs.
- Handle file access carefully.
- Avoid executing unsafe user-provided code.
Testing
Before considering a task complete:
- Test the changed functionality.
- Check edge cases.
- Verify error handling.
- Ensure documentation matches the implementation.
Project Philosophy
The Documentation Assistant should help developers understand software faster.
Prioritize:
- Accuracy over assumptions.
- Simplicity over complexity.
- Helpful explanations over technical jargon.
- Maintainable code over quick hacks.
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.

