Skip to content

[Resource]: CLAUDE.md Generator #729

@yurukusa

Description

@yurukusa

Display Name

CLAUDE.md Generator

Category

Tooling

Sub-Category

None

Primary Link

https://github.com/yurukusa/claude-code-ops-starter

Author Name

yurukusa

Author Link

https://github.com/yurukusa

License

MIT

Other License

No response

Description

Interactive Bash script that generates project-specific CLAUDE.md files through 8 guided questions. Supports 7 language presets (Python, TypeScript, Go, Rust, Java, C#, Ruby) and includes optional safety modules for dangerous command protection, external action gates, and error tracking. Also supports a non-interactive --defaults mode.

Validate Claims

# Clone and run
git clone https://github.com/yurukusa/claude-code-ops-starter.git
cd claude-code-ops-starter

# 1. Generate with defaults (non-interactive)
bash tools/claude-md-generator.sh --defaults
# Output: CLAUDE.md with 8 sections including language rules and safety modules

# 2. Verify output structure
grep -c "^##" CLAUDE.md
# Expected: 8 sections

# 3. Custom output path
bash tools/claude-md-generator.sh --defaults --output /tmp/test-claude.md
cat /tmp/test-claude.md | head -5

Specific Task(s)

Generate a CLAUDE.md for a Python/Django project that includes dangerous command protection and external action safety. Verify the output file contains project-specific rules and safety gates.

Specific Prompt(s)

git clone https://github.com/yurukusa/claude-code-ops-starter.git
cd claude-code-ops-starter
bash tools/claude-md-generator.sh

When prompted, answer:
- Project name: my-django-app
- Description: Django REST API
- Language: Python
- Framework: Django
- Test command: pytest
- Linting: ruff check .
- Dangerous command protection: yes
- External action safety: yes
- Error tracking: yes

Additional Comments

  • No network calls: Runs entirely offline. Zero external dependencies beyond Bash.
  • No elevated access: Does not require --dangerously-skip-permissions or sudo.
  • Non-interactive mode: --defaults flag generates a complete CLAUDE.md without prompts (useful for CI/automation).
  • All code is commented: Inline comments explain each section and safety module.
  • Also available as a standalone Gist: https://gist.github.com/yurukusa/9e710dece35d673dd71e678dfa55eaa3

Recommendation Checklist

  • I have checked that this resource hasn't already been submitted
  • My resource provides genuine value to Claude Code users, and any risks are clearly stated
  • All provided links are working and publicly accessible
  • I am submitting only ONE resource in this issue
  • I understand that low-quality or duplicate submissions may be rejected

Metadata

Metadata

Assignees

No one assigned

    Labels

    resource-submissionThis Issue submits a new resource to the listvalidation-passedResource has passed initial validation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions