Skip to content
OpenSmartRoute
Skillv1.0.0

fusion-rules

Entrypoint for AI coding assistant rule authoring across GitHub Copilot, Cursor, and Claude Code. USE FOR: setting up rules, reviewing existing rules, scaffolding instruction files, or asking which ed

by equinor(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from equinor/fusion-skills (skills/fusion-rules/SKILL.md) via skills.sh. Install upstream with npx skills add equinor/fusion-skills --skill fusion-rules. Copyright stays with the author (MIT).

Fusion Rules

Gateway for AI coding assistant rule authoring. Detects the target editor and routes to the right agent.

Routing

Intent Agent
Set up GitHub Copilot instructions / rules agents/copilot.agent.md
Set up Cursor project rules agents/cursor.agent.md
Set up Claude Code rules / CLAUDE.md agents/claude-code.agent.md
Set up rules for all editors / mixed team Run all three agents sequentially
Review or improve existing rules Route to the agent matching the file format

Intent detection

Detect target editor from the request:

  • Copilot — "copilot", "copilot-instructions", ".github/instructions", "applyTo"
  • Cursor — "cursor", ".cursor/rules", "mdc", "alwaysApply", "globs"
  • Claude Code — "claude", "CLAUDE.md", ".claude/rules", "paths"
  • All / unknown — "rules", "instructions", "set up AI rules", or no editor specified

Route directly on detected intent. No editor specified → run all three agents.

Loading behavior

Load ONLY the routed agent file. Each agent carries the full workflow and references .system/fusion-rule-author/ assets and templates on demand. Don't preload all agents.

Multi-editor workflow

When targeting multiple editors:

  1. Run first agent's scan and interview (Steps 1–3) in full
  2. Pass scan summary + interview answers as context to remaining agents — they skip Steps 1–3 and start at Step 4 (Classify)
  3. Each agent drafts, reviews, and writes files for its own editor format
  4. Generate parallel files with equivalent content — no duplication within a single editor

What this skill does NOT do

  • Author skills (SKILL.md) — use fusion-skill-authoring
  • Author agent definitions (.agent.md) — separate concern
  • Write CI checks for rule validation — out of scope
  • Migrate entire legacy codebases — incremental adoption only

Safety

  • No secrets or credentials in rule files
  • No overwrites without showing diff and getting approval
  • No invented conventions — only document what the developer confirms
  • Show drafts before writing any files

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/equinor-fusion-skills-fusion-rules/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

equinor-fusion-skills-fusion-rules.ocm.jsonjson
{
  "ocm": "1",
  "id": "equinor-fusion-skills-fusion-rules",
  "kind": "skill",
  "name": "fusion-rules",
  "description": "Entrypoint for AI coding assistant rule authoring across GitHub Copilot, Cursor, and Claude Code. USE FOR: setting up rules, reviewing existing rules, scaffolding instruction files, or asking which editor format to use. DO NOT USE FOR: authoring skills (SKILL.md), agent definitions (.agent.md), or CI enforcement of rule files.",
  "publisher": "equinor",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "copilot",
      "cursor",
      "claude-code",
      "rules",
      "instructions",
      "developer-experience",
      "onboarding",
      "entrypoint",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Entrypoint for AI coding assistant rule authoring across GitHub Copilot, Cursor, and Claude Code. USE FOR: setting up rules, reviewing existing rules, scaffolding instruction files, or asking which editor format to use. DO NOT USE FOR: authoring skills (SKILL.md), agent definitions (.agent.md), or CI enforcement of rule files."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/equinor/fusion-skills",
      "path": "skills/fusion-rules/SKILL.md",
      "ref": "HEAD",
      "url": "https://www.skills.sh/equinor/fusion-skills/fusion-rules",
      "key": "equinor/fusion-skills/skills/fusion-rules/SKILL.md"
    },
    "license": "MIT"
  },
  "instructions": "# Fusion Rules\n\nGateway for AI coding assistant rule authoring. Detects the target editor and routes to the right agent.\n\n## Routing\n\n| Intent | Agent |\n|--------|-------|\n| Set up GitHub Copilot instructions / rules | `agents/copilot.agent.md` |\n| Set up Cursor project rules | `agents/cursor.agent.md` |\n| Set up Claude Code rules / CLAUDE.md | `agents/claude-code.agent.md` |\n| Set up rules for all editors / mixed team | Run all three agents sequentially |\n| Review or improve existing rules | Route to the agent matching the file format |\n\n## Intent detection\n\nDetect target editor from the requ",
  "cost": {
    "context_tokens": 523
  }
}

Fetch it by URL: GET /api/v1/registry/equinor-fusion-skills-fusion-rules/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.