Install 1c-rules
This plugin does not copy content/rules into the host. It calls install.ps1, which adapts files through adapters/*.yaml for the current tool.
Host tool id
| Host | -Tool |
|---|---|
| Cursor | cursor |
| Claude Code | claude-code |
| Codex | codex |
| OpenCode | opencode |
| Kilo Code / Kilo CLI | kilocode |
Steps
- Resolve the project root (the 1C repo, never
~/.claude,~/.cursor,~/.config/kilo, or the user home). - Run the plugin script from this plugin's
scripts/directory:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "<plugin>/scripts/invoke-install.ps1" -Action init -Tool <tool-id> -ProjectRoot "<project-root>"
On machines with pwsh, that binary is fine too. The script finds the local 1c-rules checkout when you are developing this repo; otherwise it clones https://github.com/comol/ai_rules_1c.git and runs that install.ps1.
- Read the installer output. Success ends with the usual
install.ps1verification lines. Do not claim success if a frontmatter gate failed. - Tell the user to restart the AI client if MCP configs changed.
Do not hand-copy content/ into .cursor/, .claude/, .opencode/, or .kilo/. Do not put on-demand rules into .claude/rules/ or .kilo/rules/.