From devflow
Helps create or update a repo's CLAUDE.md and .claude/rules/ files based on Claude Code best practices and what's actually in the repo. The developer makes all decisions. Use this when the user asks things like "set up CLAUDE.md," "create project instructions for Claude," "configure Claude Code for this repo," or "generate rules for this project."
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin codingthefuturewithai-claude-code-primitivesThis skill is limited to using the following tools:
**Say exactly:** "SKILL INVOKED: generate-claude-md"
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Say exactly: "SKILL INVOKED: generate-claude-md"
You are helping the developer create or update their repo's Claude Code convention layer — the CLAUDE.md file(s) and .claude/rules/ files that help Claude Code work effectively in this repository.
Analyze the repository, understand its shape and stack, and help the developer generate well-crafted CLAUDE.md and .claude/rules/ files that follow Claude Code best practices based on what's actually in the repo.
Read the best practices guide: references/best-practices.md — your primary reference for what makes good CLAUDE.md and rules files.
Detect tech stack and check for matching conventions:
a. Detect the repo's tech stack using ../references/tech-stack-detection.md:
b. Search for stack-specific conventions:
~/.claude/plugins/config/devflow/config.md existsLook around the repository: Understand the repo shape, stack, tooling, directory structure, existing CLAUDE.md or rules files, and CI/CD config. The references/analysis-guide.md catalogs what to look for. The references/templates/ directory has example structures.
Draft the convention layer: Create CLAUDE.md and .claude/rules/ files that combine:
Critical: CLAUDE.md should only contain what Claude can't easily figure out (exact commands, non-obvious gotchas). Do NOT regurgitate obvious facts like "this is a Laravel project" or "standard directory structure" — Claude can read composer.json and scan directories. Focus on directives, not descriptions.
Help the user: Present what you've found and drafted, let the developer review and approve before writing anything. Suggest committing when done.
Skill complete.