kevinpatrickrobbins/codebase-audit/readme-file-creation
Claude Code and agent skill by kevinpatrickrobbins/codebase-audit
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Analyze a repository and generate a state-of-the-art README.md file. Use when user wants to create or update a README for their project, repository, or codebase. Triggers include requests to "create/write/generate/update a README", "document my repo", "make a README", or "I need documentation for my project". This skill scans the repository structure, analyzes code files, identifies key components, and produces a comprehensive, professional README following modern best practices.
Install
npx vskill@latest install kevinpatrickrobbins/codebase-audit/readme-file-creationSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Antigravity README Generator
This skill provides a systematic workflow for analyzing a repository and generating a state-of-the-art README.md file that follows modern documentation best practices.
When to Use This Skill
Trigger conditions:
- User mentions creating or updating a README
- User asks to "document my repo" or "generate documentation"
- User says "I need a README" or "help me write a README"
- User asks for project documentation
- Repository lacks a README or has an outdated one
Initial approach: Confirm with the user that they want a comprehensive README generated. Explain that the process involves:
- Scanning the repository structure
- Analyzing key files and components
- Identifying the project type and tech stack
- Generating a comprehensive README with all standard sections
Workflow
Phase 1: Repository Discovery
Goal: Understand the project structure, purpose, and technical details.
Step 1: Identify Repository Location
Ask the user for the repository path. Common scenarios:
- Repository is in
/mnt/user-data/uploads(user uploaded files) - Repository is at a specific path they'll provide
- Current working directory contains the repo
If unclear, use view to check the current directory and /mnt/user-data/uploads.
Step 2: Scan Repository Structure
Perform a comprehensive scan to understand the project:
(find/tree are POSIX commands — on Windows run them in Git Bash, or use the agent's file-search tools such as Glob instead.)
Look for key indicators:
- Package/dependency files (package.json, requirements.txt, Cargo.toml, go.mod, etc.)
- Configuration files (.env.example, config/, etc.)
- Documentation directories (docs/, documentation/)
- Test directories (test/, tests/, __tests__, spec/)
- Source code directories (src/, lib/, app/, etc.)
- Build files (Dockerfile, docker-compose.yml, Makefile)
- CI/CD files (.github/workflows/, .gitlab-ci.yml, etc.)
Step 3: Identify Project Type and Tech Stack
Based on the repository scan, determine:
- Project type: Library, application, framework, tool, service, etc.
- Primary language(s): JavaScript/TypeScript, Python, Rust, Go, Java, etc.
- Framework/runtime: React, Vue, Django, FastAPI, Express, Next.js, etc.
- Package manager: npm, yarn, pnpm, pip, cargo, go modules, maven, gradle
- Key dependencies: Read package files to identify major dependencies
Step 4: Analyze Key Files
Read and analyze critical files to extract information:
- Package/dependency files - Extract:
- Project name and version
- Description
- Main dependencies
- Scripts/commands
- Entry points
- License file - Identify license type
- Configuration files - Understand:
- Required environment variables
- Configuration structure
- Main source files - Understand:
- Entry points
- Core functionality
- Architecture patterns
- Existing README (if present) - Extract:
- Current description
- Features mentioned
- Any special notes
Step 5: Identify Special Features
Look for and document:
- API endpoints (scan for route definitions)
- CLI commands (look for CLI frameworks, argument parsers)
- Database usage (ORMs, database clients)
- Authentication/authorization
- Testing frameworks
- Deployment configurations
- Docker support
- CI/CD pipelines
- Monitoring/logging setup
Phase 2: Content Generation
Goal: Generate comprehensive README content following best practices.
README Structure
Generate a README with these sections (adjust based on project type):
- Title & Badges (if applicable)
- Project name
- Relevant badges (build status, version, license, etc.)
- Description
- Clear, concise project description
- What problem it solves
- Key features/capabilities (3-5 bullet points)
- Table of Contents (for longer READMEs)
- Prerequisites
- Required software versions
- System requirements
- Dependencies to install globally
- Installation
- Step-by-step installation instructions
- Platform-specific notes if needed
- Example commands
- Configuration (if applicable)
- Environment variables
- Configuration file examples
- Setup instructions
- Usage
- Basic usage examples
- Common use cases
- Code snippets
- CLI command examples
- API usage examples
- Development
- How to set up development environment
- Running tests
- Build process
- Development server commands
- API Documentation (if applicable)
- Key endpoints
- Request/response examples
- Authentication details
- Project Structure (optional, for complex projects)
- Directory layout explanation
- Key files and their purposes
- Contributing (if applicable)
- How to contribute
- Code style guidelines
- PR process
- Testing
- How to run tests
- Test coverage information
- Testing frameworks used
- Deployment (if applicable)
- Deployment instructions
- Environment setup
- Platform-specific guidance
- Built With
- Major technologies
- Key frameworks
- Important libraries
- License
- License type
- Link to LICENSE file
- Authors/Contributors (if identifiable)
- Acknowledgments (optional)
Content Guidelines
Writing Style:
- Clear, concise, and professional
- Use active voice
- Provide concrete examples
- Include actual commands users can copy/paste
- Explain why, not just what
Code Examples:
- Use proper syntax highlighting
- Include comments for clarity
- Show realistic, working examples
- Provide both basic and advanced examples when relevant
Commands:
- Always use code blocks for commands
- Show expected output when helpful
- Include alternative commands for different platforms if needed
Completeness:
- Every section should be actionable
- No placeholder text like "TODO" or "Coming soon"
- If information is unknown, either research it or omit the section
Phase 3: README Creation
Step 1: Generate README Content
Create the complete README content with all identified sections. Ensure:
- All code blocks use proper markdown syntax with language tags
- All links are functional
- All commands are accurate
- Examples are realistic and testable
Step 2: Create README.md File
Write the README.md to the repository root:
Use create_file to write the README.md at [repo_path]/README.md.
Step 3: Validation
After creating the README:
- Verify the file was created successfully
- Check that all links are properly formatted
- Ensure code blocks are properly formatted
- Validate that commands are correct for the project
Step 4: Present to User
Show the user:
- Confirmation that README.md was created
- Location of the file
- Brief summary of what was included
- Suggestions for customization (if any)
Offer to:
- Make adjustments to any section
- Add additional sections
- Clarify any content
- Generate additional documentation files (CONTRIBUTING.md, CODE_OF_CONDUCT.md, etc.)
Best Practices
Modern README Standards
Follow these contemporary README best practices:
- Start with a hook - Immediately explain what the project does and why it matters
- Show, don't tell - Include screenshots, GIFs, or code examples early
- Progressive disclosure - Basic info first, advanced details later
- Action-oriented - Focus on what users can DO
- Copy-pasteable - All commands should be ready to use
- Platform-aware - Note OS-specific requirements
- Keep it current - Only include information that's accurate and maintained
Section-Specific Guidelines
Installation:
- Start with the quickest path to getting started
- Separate quick start from comprehensive setup
- Include troubleshooting for common issues
Usage:
- Show the simplest example first
- Build up to complex examples
- Include common pitfalls and solutions
Development:
- Make it easy for contributors to get started
- Document the development workflow
- Explain the architecture if complex
API Documentation:
- Keep it concise in the README
- Link to full API docs if available
- Show realistic request/response examples
Quality Markers
A state-of-the-art README should:
- Be readable in under 5 minutes
- Get users from zero to running in under 10 minutes
- Answer common questions preemptively
- Have zero ambiguity in instructions
- Include visual aids when helpful
- Work for both beginners and advanced users
- Be maintainable and easy to update
Handling Edge Cases
No package files found:
- Analyze source code directly
- Look for import statements to identify dependencies
- Document setup steps generically
Multiple languages/technologies:
- Create sections for each major component
- Clearly separate setup instructions
- Use subsections effectively
Large/complex repository:
- Focus on getting started quickly
- Link to detailed documentation
- Provide a project structure overview
- Create additional documentation files if needed
Unclear purpose:
- Ask user for clarification
- Read through main source files more carefully
- Check for documentation comments in code
- Ask about the project's goals and use cases
Existing README is comprehensive:
- Ask if user wants to update/improve it or start fresh
- Offer specific improvements (better examples, clearer instructions, etc.)
- Respect existing structure and voice while enhancing clarity
User Interaction
Throughout the process:
- Keep user informed of progress ("Scanning repository structure...")
- Ask for clarification when needed
- Offer options when multiple approaches are valid
- Show enthusiasm for their project
- Provide helpful suggestions beyond the README
After completion:
- Offer to create related documentation (CONTRIBUTING.md, CHANGELOG.md, etc.)
- Suggest improvements to project structure if observed
- Recommend tools or practices that could help
- Ask if they want badges added (GitHub Actions, npm version, etc.)
Technical Implementation Notes
File Reading:
- Use
viewfor reading file contents - For binary files or very large files, use
bash_toolwith appropriate commands - Respect
.gitignorepatterns when scanning
Path Handling:
- Always use absolute paths
- Handle spaces in filenames properly
- Support both Unix and Windows path conventions
Error Handling:
- Gracefully handle missing files
- Provide helpful errors for permission issues
- Suggest solutions for common problems
Performance:
- Don't read extremely large files entirely
- Limit directory traversal depth for huge repositories
- Sample files if there are too many to analyze
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/readme-file-creation/SKILL.md
Popularity
- Repository stars
- 83
- Repository forks
- 6
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kevinpatrickrobbins/codebase-audit/readme-file-creation)