scaffold-rules
Original:🇺🇸 English
Translated
Scaffold development rules for AI coding agents. Auto-invoked when user asks about setting up rules, coding conventions, or configuring their AI agent environment.
7installs
Added on
NPX Install
npx skill4agent add plaited/development-skills scaffold-rulesTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Scaffold Rules
Scaffold shared development rules for AI coding agent environments.
When to Use
Use when the user wants to:
- Set up development rules or coding conventions
- Configure their AI coding agent environment
- Add project guidelines for Claude, Cursor, or other agents
Workflow
Step 1: Preview Changes (Optional)
bash
bunx @plaited/development-skills scaffold-rules --dry-runReview the array to see what will be created.
actionsStep 2: Run Scaffold
bash
bunx @plaited/development-skills scaffold-rulesThis will:
- Copy rules to (canonical location)
.agents/rules/ - Create symlinks in and
.claude/rules(if those directories exist).cursor/rules - Fallback: append links to if no agent directories found
AGENTS.md
Step 3: Report to User
Tell the user what was created based on the output.
actionsCLI Options
| Flag | Description |
|---|---|
| List available rules without scaffolding |
| Preview actions without making changes |
How It Works
.agents/rules/ ← Canonical location (files copied here)
├── testing.md
├── bun.md
└── ...
.claude/rules -> ../.agents/rules ← Symlink (if .claude/ exists)
.cursor/rules -> ../.agents/rules ← Symlink (if .cursor/ exists)| Project has... | Copy | Symlinks | AGENTS.md |
|---|---|---|---|
| ✓ | None | No |
| ✓ | | No |
| ✓ | | No |
| ✓ | | No |
| ✓ | | No |
| ✓ | Both | No |
| None of the above | ✓ | None | ✓ Append links |
Related Skills
- validate-skill - Validate skill directories against AgentSkills spec