# summary

Inject neutral rules into runtime-specific locations.

# description

Reads rules from the neutral registry (`.setup-agents/rules/`), renders them for the specified target runtime, and writes to the correct location. Use `--dry-run` to preview without writing.

# flags.target.summary

Target runtime to inject rules for.

# flags.target.description

The target AI coding assistant runtime. Determines output format and destination path.

# flags.profile.summary

Filter rules by profile ID.

# flags.profile.description

Only inject rules that apply to the specified profile. Omit to inject all rules.

# flags.rule.summary

Inject a specific rule by ID.

# flags.rule.description

Only inject the rule with the given ID. Omit to inject all matching rules.

# flags.dry-run.summary

Preview changes without writing files.

# flags.dry-run.description

Show which files would be written and their content, but do not actually write anything.

# examples

- Inject all rules for Claude:

  <%= config.bin %> <%= command.id %> --target claude

- Inject rules for a specific profile:

  <%= config.bin %> <%= command.id %> --target cursor --profile developer

- Preview injection of a single rule:

  <%= config.bin %> <%= command.id %> --target codex --rule my-rule --dry-run

# info.injected

Injected rule "%s" → %s

# info.dryRun

[dry-run] Would write rule "%s" → %s

# info.noRules

No matching rules found in the registry.

# info.done

Injected %d rule(s) for target "%s".

# info.dryRunDone

[dry-run] Would inject %d rule(s) for target "%s".
