Skip to content
Scaffolding
Skill

/manage-patterns-and-rules

Author project design patterns and coding rules with architect-mcp admin tools. Trigger when the user asks to change pattern or rule definitions. Do not trigger for reviewing existing code against unchanged rules.

BOOST
From plugin
aicode-toolkit
1619 skills1 command6 MCP
Install
$ npx -y skills add agiflow/aicode-toolkit --skill manage-patterns-and-rules --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/manage-patterns-and-rules

Context preview

The summary Claude sees to decide when to auto-load this skill.

Author project design patterns and coding rules with architect-mcp admin tools. Trigger when the user asks to change pattern or rule definitions. Do not trigger for reviewing existing code against unchanged rules.

SKILL.md

manage-patterns-and-rules.SKILL.md
name: manage-patterns-and-rules
description: 'Author project design patterns and coding rules with architect-mcp admin tools. Trigger when the user asks to change pattern or rule definitions. Do not trigger for reviewing existing code against unchanged rules.'

Maintain patterns and rules

1. Inspect project `architect.yaml`, `RULES.yaml`, template mapping and existing rules. Retrieve applicable design patterns with `get-file-design-pattern` using `file_path` before editing any target. 2. Draft the exact rule or pattern, its file selectors and examples. Request approval for config writes, especially inherited/global changes. 3. Use discovered admin schemas: `add-design-pattern`, **`add_rule`** (underscore, not `add-rule`) and `validate-architect` as appropriate. Do not guess argument keys. 4. Re-query patterns and call `review-code-change` for edited files. A backend-free review may only return rules for the host agent to evaluate; do that evaluation and report any missing configuration or failures. 5. Test on representative matching and non-matching fixture paths, summarize impact and provide rollback guidance. Workspace settings may independently enable agent backends; get consent before invoking them.

Ships withaicode-toolkit

This repo provides: project and feature scaffolding via templates file-level design guidance before edits rule-based review after edits design-system discovery for frontend work

Get the whole plugin

Other skills on aicode-toolkit.