Skip to content
Scaffolding
Command

/edit-with-pattern

Edit a file using toolkit design-pattern guidance and review the result

BOOST
From plugin
aicode-toolkit
1611 skill1 command6 MCP
Install
> /plugin marketplace add agiflow/aicode-toolkit

How it fires

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

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/edit-with-pattern

Context preview

What this command does when you run it.

Edit a file using toolkit design-pattern guidance and review the result

Command definition

edit-with-pattern.md
description: Edit a file using toolkit design-pattern guidance and review the result

Use the `develop-feature` skill for the user's requested edit. For each target file, obtain `get-file-design-pattern` with `file_path` **before** editing. After editing call `review-code-change` with `file_path`, inspect any returned `rules` and perform host-agent review if no independent backend review ran. Fix violations and report targeted checks. If templates or MCP tools are missing, explain setup instead of asserting compliance. Obtain approval before destructive or broad generation.

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