agentleFS
martinholovskymartinholovsky/claude-skills-generator/CLAUDE.md

claude-skills-generator

CLAUDE.md47 starsChanged 12 months agoUnlicenseView on GitHub

{{PROJECT_DESCRIPTION}} This file contains mandatory instructions for Claude Code when working on this project. {{ARCHITECTURE_DESCRIPTION}} Use these commands for common implementation tasks (customize as needed): - /implement-feature - Load feature implementation skills - /run-tests - Execute test suite STOP! Before updating ANY dependency, you MUST: When the user asks to run tests, execute ALL of these automatically: Report results for each step. If any step fails, attempt to fix the issue before proceeding. Run these commands and fix any failures…

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

15 rules. About 0 are common, 14 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    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
  1. Distinctive:

    Never introduce OWASP Top 10 vulnerabilities

    line 13
  2. Distinctive:

    All file operations must respect sandboxing rules

    line 14
  3. Distinctive:

    All user inputs must be validated

    line 16
  4. Distinctive:

    Use these commands for common implementation tasks (customize as needed):

    line 30
  5. Distinctive:

    Use conventional commit format

    line 36
  6. Distinctive:

    Ensure all tests pass before committing

    line 37
  7. Distinctive:

    Never commit sensitive credentials

    line 38
  8. Distinctive:

    Update one package at a time: - never bulk update

    line 54
  9. Distinctive:

    When the user asks to run tests, execute ALL of these automatically:

    line 75
  10. Distinctive:

    Report results for each step: If any step fails, attempt to fix the issue before proceeding.

    line 81
  11. Distinctive:

    Run these commands and fix any failures before committing:

    line 85
  12. Distinctive:

    If unclear about implementation approach, ask for clarification before proceeding.

    line 93
  13. Very specific:

    Read the required skill files from skills/[skill-name]/SKILL.md

    line 105
  14. Distinctive:

    Only then begin implementation

    line 108
  15. Distinctive:

    Before implementing, you MUST explicitly state:

    line 112

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

{{PROJECT_NAME}} - Claude Code Instructions

Project Overview

{{PROJECT_DESCRIPTION}}

This file contains mandatory instructions for Claude Code when working on this project.

Code Quality Requirements

Security First

  • Never introduce OWASP Top 10 vulnerabilities
  • All file operations must respect sandboxing rules
  • Credentials must use OS keychain, never plaintext
  • All user inputs must be validated

Architecture

{{ARCHITECTURE_DESCRIPTION}}

Key Documentation

  • README: README.md - Project overview
  • Contributing: CONTRIBUTING.md - How to contribute
  • Architecture: CLAUDE_CODE_ARCHITECTURE.md - Claude Code integration guide

Slash Commands

Use these commands for common implementation tasks (customize as needed):

  • /implement-feature - Load feature implementation skills
  • /run-tests - Execute test suite

Commit Guidelines

  • Use conventional commit format
  • Ensure all tests pass before committing
  • Never commit sensitive credentials

Dependency Management Rules

CRITICAL: Never Guess Package Versions

STOP! Before updating ANY dependency, you MUST:

  1. Check actual latest version:
    npm view <package> version
    # or for Python
    pip index versions <package>
  2. Read migration guide for major version updates
  3. Update one package at a time - never bulk update
  4. Run verification after each update:
    {{INSTALL_COMMAND}} && {{DEV_COMMAND}} && {{BUILD_COMMAND}} && {{TEST_COMMAND}}

Version Specification Rules

// Use conservative ranges for production dependencies
"package": "~1.0.0"          // Patch only

// Caret (^) only for dev tools
"eslint": "^9.0.0"           // Minor + patch OK

Testing Requirements

When User Asks to "Run Tests"

When the user asks to run tests, execute ALL of these automatically:

{{TEST_COMMANDS}}

Report results for each step. If any step fails, attempt to fix the issue before proceeding.

After Any Code Change

Run these commands and fix any failures before committing:

{{VERIFICATION_COMMANDS}}

Questions?

If unclear about implementation approach, ask for clarification before proceeding.


Optional Sections (Uncomment and customize as needed)

<!-- ## Skill Loading Requirements (for projects using skills/) ### Process Details 1. Identify the task domain 2. Read the required skill files from `skills/[skill-name]/SKILL.md` 3. Load supporting skills if additional patterns are needed 4. **Confirm patterns and security requirements to user** 5. Only then begin implementation ### Verification Required Before implementing, you MUST explicitly state: ``` Skills loaded: - [skill-name]: Applied patterns X, Y, Z - [skill-name]: Security considerations A, B, C Ready to implement following these skill requirements. ``` --><!-- ## Performance Targets - UI responsiveness: 60 FPS minimum - API latency: <100ms - Memory (idle): <{{MEMORY_LIMIT}} -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.