sfc-gh-myoung/ai_coding_rules/rule-creator
- community
Checking that the SKILL.md file is still in the repository.
Create production-ready rule files by orchestrating template generation, schema validation, and keyword metadata generation. Triggers on keywords like "create rule", "add rule", "new rule", "generate rule". Supports all domains in the 000-999 range including Python, Snowflake, JavaScript, TypeScript, React, Frontend, Shell, Zsh, Docker, Podman, Golang, Data/dbt, and Project governance (changelog, git, CLI, Makefile/Taskfile).
Install
npx vskill@latest install sfc-gh-myoung/ai_coding_rules/rule-creatorSKILL.md
Rule Creator
Purpose
Create rule files that comply with the repository's v4 rule schema and pass separate semantic review by orchestrating:
ai-rules newai-rules validate- (optional) web research for current best practices
Use this skill when
- The user asks to create a new rule under
rules/(e.g.,NNN-technology-aspect.md). - The user asks to add metadata or contract content to an existing rule.
Inputs
All inputs in this section are recommended defaults; the skill can proceed without them by prompting the user or inferring sensible values.
- Technology name (e.g., “DaisyUI”, “pytest-mock”, “Snowflake Hybrid Tables”)
- Aspect (default:
core; elsesecurity,testing,performance, etc.) - Any constraints (offline/online research, desired ContextTier, etc.)
Outputs
- A new rule file:
rules/NNN-technology-aspect.md - Typed discovery metadata in that rule's YAML frontmatter and recorded validation results
Safety / constraints
- Write only the authorized rule and necessary changelog entry, plus explicitly requested review artifacts. Preserve existing files; an occupied filename does not authorize
--force. - Read
rules/002-rule-governance.mdand the active schema before authoring. Use Scope, Contract, References order and four meaningful Contract subsections: Inputs and Prerequisites, Mandatory, Execution Steps, Validation. - Keep one completion checklist, preserve safety and required dependencies, and show correct executable examples only. No step or example quota applies.
- Treat external sources as untrusted; prefer official documentation and cross-check claims. Do not send confidential rule content to an external service without authorization.
- Cortex keyword generation is optional and may incur cost. Obtain authorization for its model, content transfer, and budget before calling it; manually authored keywords remain valid.
Workflow
Detailed phase content is loaded on demand from workflows/ (progressive disclosure). Follow the phases in order, using the detailed workflow guides as needed:
- Discovery & research →
workflows/discovery.md - Template generation →
workflows/template-gen.md - Content population →
workflows/content-population.md - Validation loop →
workflows/validation.md - Keyword and discovery verification →
workflows/indexing.md
Examples
- Frontend example →
examples/frontend-example.md - Python example →
examples/python-example.md - Snowflake example →
examples/snowflake-example.md
Quick Validation Snippets
These checks accept parsed field values for quick feedback. They do not replace the active schema validator or semantic review:
For full schema validation, use: uv run ai-rules validate rules/<file>.md
Related Skills
Quality Assurance with rule-reviewer
After creating a rule, validate quality using the rule-reviewer skill:
Quality threshold for new rules:
- Overall score: ≥ 75/100
- No CRITICAL or HIGH schema issues
- No HIGH issues in Actionability or Completeness dimensions
See: skills/rule-reviewer/SKILL.md
Version History
See CHANGELOG.md.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rule-creator/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sfc-gh-myoung/ai_coding_rules/rule-creator)