OpenParable
Skip to content
← Back to skills

05 Rule Generate

Agent Building
05-rule-generate

05 Rule Generate is an Agent Skill for agent building published in the ai-driven-dev/framework repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Generate a coding rule that governs editor and agent behavior across the host AI tools. Use when the user wants to write, add, or refactor a rule, convention, or coding standard. Not for other artifacts like skills, agents, or hooks.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ai-driven-dev/framework/blob/HEAD/plugins/aidd-context/skills/05-rule-generate/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/05-rule-generate, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Rule Generate

Write one canonical rule from intent and render it per confirmed host tool that supports rules, or once as a plugin source.

Actions

#ActionRoleInput
01capture-ruleCapture the topic, pick category and sluguser request
02write-ruleWrite the rule file per supported toolthe topic
03validateCheck each rule filethe files

Run the actions in order, 01 → 03, and run each action's ## Test before the next. Before running an action, read its file in actions/, not only the table or assets.

References

  • references/rule-authoring.md: the contract (taxonomy, naming, frontmatter, content).
  • references/tool-paths.md: per-tool rules path, frontmatter, unsupported tools, the gate.

Assets

  • assets/rule-template.md: rule file scaffold.