One project. Perfect AI rulebooks for every platform.
Configure your project goals, commands, and constraints once. RuleForge formats the instructions dynamically according to the official specifications for Claude Code, OpenAI/AAIF AGENTS.md, Cursor, GitHub Copilot, Windsurf, and ChatGPT.
Define your assistant
⚡ Scoped Rules (.mdc / Path-Specific) (0 defined)
Generates modular scoped rules: .cursor/rules/<name>.mdc with glob activation, .agents/rules/*.md, .github/instructions/*.instructions.md, etc.
🧩 Agent Skills (SKILL.md) (0 defined)
Agent Skills generate compliant .agents/skills/<name>/SKILL.md packages with structured frontmatter and procedures.
🤖 Custom Subagents (0 defined)
Generates specialized subagents with tool permissions and models for Claude Code (.claude/agents/*.md), Gemini CLI (.gemini/agents/*.md), Copilot (.github/agents/*.agent.md), OpenCode, Antigravity, and Kiro.
⌨️ Commands & Prompts (0 defined)
Generates reusable command prompt files (e.g. .github/prompts/<name>.prompt.md for Copilot, .claude/commands/<name>.md for Claude Code, .gemini/commands/*.md, .opencode/commands/*.md).
🔌 Model Context Protocol (MCP) (0 defined)
Connects coding agents to external tools. Standard format for Claude Code (.mcp.json), Cursor (.cursor/mcp.json), Cline (cline_mcp_settings.json), VS Code (.vscode/mcp.json), Antigravity, OpenCode, and Kiro.
🪝 Lifecycle Hooks (0 defined)
Automate tool verification actions (e.g. running linters pre-commit, tests post-tool execution) with timeout and blocking policies.
🛡️ Permissions, Sandbox & Settings
Configured
Configures default model preferences and security boundaries (Claude .claude/settings.json, Cursor .cursor/settings.json, Gemini .gemini/settings.json, Antigravity, OpenCode).
The Complete Guide to Multi-AI Context Engineering
Modern coding assistants (Claude Code, OpenAI Codex, Cursor Composer, GitHub Copilot, Windsurf, and Antigravity) are only as reliable as the boundary rules and architectural context committed into your repository. RulesForge standardizes this workflow, creating persistent, version-controlled rulebooks that eliminate prompt repetition and hallucinated commands.
⚡ Command-First Verification
Coding agents are strictly instructed to execute your actual test, build, and lint commands before marking any feature as complete, preventing phantom test passes.
🛡️ Defensive Guardrails
Imperative constraints prevent accidental secrets disclosure (e.g. committing .env), unauthorized dependency bloat, and destructive file overrides.
📐 Multi-Specification Sync
Generate router-style CLAUDE.md for Anthropic, frontmatter-scoped .mdc for Cursor, and AAIF-compliant AGENTS.md in a single click.
AI Rulebook Specifications by Platform
Overview of standardized instruction formats, repository locations, and parsing conventions.
| Platform / Tool | Target File Path | Format & Structure | Recommended Context Strategy |
|---|---|---|---|
| Anthropic Claude Code | CLAUDE.md | Markdown Router | Concise router index under 200 lines pointing to detailed docs |
| OpenAI Codex / AAIF | AGENTS.md | Standard Open Spec | Declarative capabilities, commands, and security boundaries |
| Cursor Composer | .cursor/rules/*.mdc | YAML Frontmatter | Scoped rule matching based on file glob patterns |
| GitHub Copilot | .github/copilot-instructions.md | Markdown Guidelines | Project-wide coding conventions, test patterns, and styles |
| Windsurf Cascade | .windsurfrules | Workflow Rules | Step-by-step confirmation loops and execution gates |
| ChatGPT & General LLMs | chatgpt-instructions.md | Custom Persona | High-level persona, response tone, and architectural perspective |
How to Integrate Into Your Repository
Define Architecture
Input your project tech stack, build & test commands, and critical boundaries into the generator form above.
Select Targets
Check the platforms used by your development team (Claude Code, Cursor, Copilot, etc.) to generate synchronized specs.
Download Bundle
Use "Copy", "Download File", or the "Download ZIP" button to get the pre-structured repository directory tree.
Commit to Git
Commit the rulebooks to your root branch. Any developer or CI agent opening the codebase inherits the instructions instantly.
Frequently Asked Questions (FAQ)
Where should I save the exported files in my codebase?
- Claude Code: Save
CLAUDE.mddirectly at the root of your project. - OpenAI Codex / AAIF: Save
AGENTS.mdin the project root directory. - Cursor: Place files under
.cursor/rules/rules.mdc(or multiple modular.mdcfiles). - GitHub Copilot: Place at
.github/copilot-instructions.md. - Windsurf: Save as
.windsurfrulesin your repository root.
Is my project idea, prompt, or code sent to an external server?
Can I use generated rulebooks for commercial software and enterprise projects?
How does RulesForge prevent AI hallucinations and unauthorized edits?
.env or credentials), explicit architectural constraints, and requirements to explain defects before applying patches.
Why does Anthropic recommend keeping CLAUDE.md under 200 lines?
CLAUDE.md concise (serving as a "router" file) because excessively long system prompts degrade context attention and increase latency on every turn. RulesForge formats CLAUDE.md compactly with references to secondary documentation rather than dumping raw codebases into system context.