Install
$ agentstack add skill-drag88-claude-dev-framework-rules-generator ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Rules Generator Skill
Auto-generate .claude/rules/ documentation for any codebase.
When to Activate
- No
.claude/rules/directory exists in the current project - User asks about codebase structure or architecture
- User asks "what does this project do"
- Starting work on an unfamiliar codebase
- User explicitly asks to generate rules
Actions
- Load rulebook: Read
rules-templates/claudemd-4-7-rulebook.md(vendored into CDF) as the authoritative reference for rule framing (positive imperatives, explicit scope, why-statements, neutral tone). Falls back to the embedded principles in this file only if the rulebook is missing.
- Explore codebase using the Explore agent to understand:
- Directory structure and key files
- Tech stack (languages, frameworks, libraries)
- Architectural patterns and conventions
- Build/test/run commands
- Generate
.claude/rules/files with YAML frontmatter on every file:
architecture.md— Directory structure, key files, component relationships, data flow. Frontmatter:description:only (loads broadly).tech-stack.md— Languages, frameworks, libraries with purposes. Frontmatter:description:only.patterns.md— Architectural patterns, code conventions, error handling. Frontmatter:description:+paths:scoped to source dirs (e.g.["src/**", "lib/**"]).commands.md— Setup, build, test, lint, run commands. Frontmatter:description:only.- Project-type files (
api-conventions.md,component-conventions.md, etc.) — Always includepaths:scoped to the relevant directory glob so they only load when matching files are touched.
- Frame rules as positive imperatives, with explicit scope and the why where non-obvious. Example: "Apply to every API route, including admin routes. Reason: centralized auth check." Avoid CAPS, MUST, CRITICAL, "ANY", "ALWAYS".
- Confirm completion with a summary listing each generated file, its line count, and whether it is path-scoped or always-loaded.
File Format
Every rule file uses YAML frontmatter:
---
description: One-line summary of what this file covers
paths: ["src/api/**/*.py", "src/middleware/**"] # optional — omit to always-load
---
# API Route Rules
- Every endpoint validates input via the `@validate_input` decorator. Reason: centralized request schema enforcement.
- API errors return the standard `{error, code, details}` shape. Reason: client-side error parser depends on it.
Rules without paths: load every session. Use paths: for any topic that only applies when specific files are touched — this saves context across sessions that do not touch those files.
Related Commands
/cdf:rules generate- Manually refresh all rules/cdf:docs plan- Create task documentation structure
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: drag88
- Source: drag88/claude-dev-framework
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.