Agent skill

Manage Patterns And Rules

by AgiFlow in AgiFlow/aicode-toolkit

Author project design patterns and coding rules with architect-mcp admin tools.

AGPL-3.0Auto-check passedDevelopment

Install Manage Patterns And Rules

skills CLI
$ npx skills add AgiFlow/aicode-toolkit --skill manage-patterns-and-rules -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AgiFlow/aicode-toolkit manage-patterns-and-rules --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/aicode-admin/skills/manage-patterns-and-rules .claude/skills/manage-patterns-and-rules && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
manage-patterns-and-rules
GitHub stars
161
Token cost
~309 tokens
SKILL.md length
124 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Author project design patterns and coding rules with architect-mcp admin tools.

  • Works in 5 steps: Inspect project architect.yaml,… → Draft the exact rule or pattern, its… → Use discovered admin schemas:… → …
  • The user asks to change pattern
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Rule definitions

What it does

Manage Patterns And Rules is an agent skill from AgiFlow/aicode-toolkit. 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.

Its SKILL.md is about 310 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Design patterns. It works with Model Context Protocol. The repository describes itself as: Toolkit for Coding Agents to work reliably with repo of any size. The licence is AGPL-3.0.

When your agent uses it

  • The user asks to change pattern
  • Rule definitions
  • Reviewing existing code against unchanged rules

Example prompts

  • “/manage-patterns-and-rules”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Inspect project architect.yaml, RULES.yaml, template mapping and existing rules. Retrieve applicable design patterns with…
  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…
  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…
  5. Test on representative matching and non-matching fixture paths, summarize impact and provide rollback guidance. Workspace settings may…

What it can do on your machine

Read from SKILL.md and the folder at commit d8debed. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Manage Patterns And Rules loads about 309 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 124 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~309

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from AgiFlow/aicode-toolkit at commit d8debed, republished under its AGPL-3.0 licence (© AgiFlow). 124 words, ~309 tokens.

Download SKILL.mdSave it as .claude/skills/manage-patterns-and-rules/SKILL.md (or your agent's skills folder).
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.

© AgiFlow, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/aicode-admin/skills/manage-patterns-and-rules of AgiFlow/aicode-toolkit.

Open the folder on GitHubat commit d8debed

Compare with similar skills

Manage Patterns And Rules next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Manage Patterns And Rules compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Manage Patterns And Rules this skillAgiFlow/aicode-toolkit161—~309Automated safety check: PassAGPL-3.0
Context Handling in fp-goIBM/fp-go2k—~4.2kAutomated safety check: PassApache-2.0
Typed Dependencies with fp-go EffectIBM/fp-go2k—~4.3kAutomated safety check: PassApache-2.0
Arch Checkcodewithmukesh/dotnet-claude-kit751—~1.5kAutomated safety check: PassMIT
Dotnet Backend Patternswshobson/agents40k8 repos~6.6kAutomated safety check: PassMIT
Building Admin Dashboard Customizationsmedusajs/medusa-agent-skills227—~5kAutomated safety check: PassNone

Similar skills

  • Official

    Covers handling Go's context.Context idiomatically in fp-go code: reading and scoping context through operators, timeouts, cancellation and converting ctx-first functions.

    2k GitHub stars~4.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Teaches an agent to write fp-go v2 services with the Effect type, carrying dependencies in its type parameter instead of in context.Context or parameters.

    2k GitHub stars~4.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Arch Check

    codewithmukesh/dotnet-claude-kit

    Architecture conformance check: verifies an existing codebase against its declared architecture (VSA, Clean Architecture, DDD, Modular Monolith) — dependency direction, layer violations, module…

    751 GitHub stars~1.5k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Master C/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications.

    40k GitHub starsUsed in 8 repos~6.6k tokens
    Backend & APIsAuto-check passed
  • Building Admin Dashboard Customizations

    medusajs/medusa-agent-skills

    Load automatically when planning, researching, or implementing Medusa Admin dashboard UI (widgets, custom pages, forms, tables, data loading, navigation).

    227 GitHub stars~5k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Frontmcp Development

    agentfront/frontmcp

    A skill your agent uses when building any FrontMCP server component other than a tool (for tools, use create-tool).

    146 GitHub stars~11k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from AgiFlow/aicode-toolkit

All 9 skills in this repo
  • Playwriter

    AgiFlow/aicode-toolkit

    Control the user own Chrome browser via Playwriter extension with Playwright code snippets in a stateful local js sandbox via playwriter cli.

    161 GitHub stars~457 tokensUpdated 3 days ago
    Auto-check passed
  • Author Templates

    AgiFlow/aicode-toolkit

    Create or update reusable toolkit boilerplate templates and feature scaffolds.

    161 GitHub stars~322 tokensUpdated 3 days ago
    Auto-check passed
  • Create Project

    AgiFlow/aicode-toolkit

    Discover and create a new application from a scaffold-mcp boilerplate.

    161 GitHub stars~255 tokensUpdated 3 days ago
    Auto-check passed
  • Develop Feature

    AgiFlow/aicode-toolkit

    Add or edit a feature in a toolkit-configured project using scaffold methods and file-specific design patterns.

    161 GitHub stars~440 tokensUpdated 3 days ago
    Auto-check passed
  • Discover Design System

    AgiFlow/aicode-toolkit

    Discover existing project themes, supported CSS classes and reusable UI components.

    161 GitHub stars~284 tokensUpdated 3 days ago
    Auto-check passed
  • Initialize Workspace

    AgiFlow/aicode-toolkit

    Set up toolkit templates and project metadata in a consumer workspace.

    161 GitHub stars~358 tokensUpdated 3 days ago
    Auto-check passed

Categories

Questions about Manage Patterns And Rules

What does Manage Patterns And Rules do?

Author project design patterns and coding rules with architect-mcp admin tools. Manage Patterns And Rules is an agent skill from AgiFlow/aicode-toolkit. Author project design patterns and coding rules with architect-mcp admin tools.

When should I use Manage Patterns And Rules?

Manage Patterns And Rules fits situations like: the user asks to change pattern; rule definitions; reviewing existing code against unchanged rules.

How do I install Manage Patterns And Rules in Claude Code?

Run `npx skills add AgiFlow/aicode-toolkit --skill manage-patterns-and-rules -a claude-code`. Or copy the skill folder (plugins/aicode-admin/skills/manage-patterns-and-rules in AgiFlow/aicode-toolkit) into .claude/skills/manage-patterns-and-rules in your project. Claude Code loads it when a task matches its description.

How do I install Manage Patterns And Rules in Codex?

Run `npx skills add AgiFlow/aicode-toolkit --skill manage-patterns-and-rules -a codex`. Or copy the skill folder (plugins/aicode-admin/skills/manage-patterns-and-rules in AgiFlow/aicode-toolkit) into .agents/skills/manage-patterns-and-rules in your project. Codex loads it when a task matches its description.

Can I use Manage Patterns And Rules in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AgiFlow/aicode-toolkit --skill manage-patterns-and-rules -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/manage-patterns-and-rules, .gemini/skills/manage-patterns-and-rules, .github/skills/manage-patterns-and-rules and .opencode/skills/manage-patterns-and-rules in your project.

What does Manage Patterns And Rules need to run?

SKILL.md names no scripts, command-line tools or credentials: Manage Patterns And Rules is instructions for the agent only.

Does Manage Patterns And Rules access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Manage Patterns And Rules safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Manage Patterns And Rules use?

Manage Patterns And Rules is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Manage Patterns And Rules use?

About 309 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Manage Patterns And Rules?

Skills that share tags, products or a category with Manage Patterns And Rules: Context Handling in fp-go (IBM/fp-go, 2k stars), Typed Dependencies with fp-go Effect (IBM/fp-go, 2k stars), Arch Check (codewithmukesh/dotnet-claude-kit, 751 stars) and Dotnet Backend Patterns (wshobson/agents, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Manage Patterns And Rules?

AgiFlow (a GitHub organization) maintains it in AgiFlow/aicode-toolkit, which has 161 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 5, 2026.

Source: AgiFlow/aicode-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.