feature
Skill4 starsChanged 57 days agoMITView on GitHub
End-to-end Magento 2 feature orchestrator: add, change, build, or implement Magento 2 functionality, from one change to a multi-module integration (blueprint, code, review, tests, report). Two user-approval gates before any code. Also resumes/continues a `.docs/{FeatureName}` feature folder. One surface on an existing module: magento2-tools:cli-command (CLI/cron), magento2-tools:system-config, magento2-tools:eav-attribute, magento2-tools:admin-form, magento2-tools:graphql.
33 other projects use a version of this.
Adopted by
Most recently taken up by
- crbnos/carbontheir own version, first seen Oct 4, 2026
- yicheng47/runnertheir own version, first seen Oct 1, 2026
- SatanshuMishra/interphasetheir own version, first seen Sep 30, 2026
- eliphazbouye/skillstheir own version, first seen Sep 30, 2026
- akshaypimprikar/pragmatheir own version, first seen Sep 29, 2026
- savinofiore/lexitheir own version, first seen Sep 29, 2026
Used with
Projects with it also use bug, bugfix and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
pvnarpSkillbug
Investigates and resolves bugs using structured diagnosis. Categorizes by system, traces root cause, proposes minimal fix, and suggests prevention. Use when debugging issues or investigating unexpected behavior.
Also in 4 projects that use this
janroudautSkillbugfix
Test-first bug diagnosis and fix — reproduce, fix, verify, iterate
Also in 5 projects that use this
OpenAISkillideate
Generate image-based alternatives, remixes, or new design directions from a Product Design brief. Use when the user asks for design variants, visual exploration, remixes, or image-generated approaches from provided context.
Also in 3 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 4 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 5 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 4 projects that use this
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- crbnos/carbon★ 2.7ksame name
- aeonfun/aeon★ 766same name
- garagon/nanostack★ 207same name
- yicheng47/runner★ 206same name
- DeL-TaiseiOzaki/claude-code-orchestra★ 198same name
- dlupiak/claude-session-dashboard★ 71same name
- hex/claude-sessions★ 44same name
- Snowflake-Labs/coco-skills★ 38same name
- aaronjmars/miroshark-aeon★ 18same name
- eduwxyz/my-awesome-skills★ 16same name
23 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository35 other files it gives its agents.
- a11y-auditSkill
- admin-formSkill
- admin-listingSkill
- auditSkill
- breeze-adaptSkill
- breeze-compatSkill
- breeze-themeSkill
- cli-commandSkill
- contextSkill
- data-migrationSkill
- debugSkill
- deploySkill
- docsSkill
- eav-attributeSkill
- extension-pointSkill
- fixSkill
- frontendSkill
- graphqlSkill
- i18nSkill
- indexerSkill
- lintSkill
- marketplaceSkill
- message-queueSkill
- module-createSkill
- perf-auditSkill
- releaseSkill
- remediateSkill
- reviewSkill
- securitySkill
- system-configSkill
- test-generateSkill
- triageSkill
- upgradeSkill
- webapiSkill
- widgetSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. 0 are common, 13 are distinctive, and 15 are very specific to this project.
0
Common
Most of the 32 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
15
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Read references/core-rules-detail.md when a rule's one-liner is not enough.
- Distinctive: line 23
Two approval gates: Do not write any code until the user approves both the feature blueprint (after Phase 2) and the task plan (after Phase …
- Very specific: line 28
Save before present: Write blueprint.md, plan.md and task records to disk and read them back before presenting.
- Distinctive: line 31
Continuous execution: After the plan gate, Phases 5-7 run without check-ins.
- Very specific: line 32
Review every module: After creating or modifying any module, invoke review.
- Distinctive: line 34
Tests must pass: All unit tests must complete with zero failures before Phase 7.
- Very specific: line 42
No empty implementations: Do not create stub classes with // TODO bodies and report them as done.
- Distinctive: line 44
All diagrams are Mermaid: Every diagram in every document — dependency graphs, flow charts, module schemas, ER diagrams — must use Mermaid …
- Very specific: line 52
One artifact home: Every sub-skill is invoked with --docs-root=.docs/{FeatureName} so the whole run's reports nest under the feature folder …
- Very specific: line 59
Output budget: Follow context/references/output-budget.md — targeted reads, summary-first test/lint output, long logs to files.
- Distinctive: line 89
If no such path is present in the request: skip Phase 0 entirely and start Phase 1.
- Distinctive: line 90
If a path is present:
- Very specific: line 91
Verify .docs/{FeatureName}/plan.md exists.
- Very specific: line 94
Verify .docs/{FeatureName}/blueprint.md exists and read its Status: line.
- Very specific: line 129
Create the feature folder {ctx.docs_root}/{FeatureName}/ if it does not exist (anchored at the project root per the Artifact location rule …
- Distinctive: line 136
Before accepting approval, scan section 12 (Open Questions).
- Distinctive: line 139
Wait for explicit approval: Do not proceed to Phase 3 until the user approves the blueprint.
- Distinctive: line 140
If the user requests changes, revise, save again, and re-confirm on disk before presenting.
- Very specific: line 172
Wait for explicit approval: Do not write any code until the user approves.
- Very specific: line 176
Update the blueprint status line to Status: Approved in .docs/{FeatureName}/blueprint.md.
- Very specific: line 177
Update the plan.md status line to Status: Approved.
- Distinctive: line 178
No further record-writing is needed here — the detailed task records were written in step 6.
- Very specific: line 187
At Phase 5 start: update the status line to Status: In Progress in both .docs/{FeatureName}/blueprint.md and .docs/{FeatureName}/plan.md.
- Very specific: line 190
Resuming a partial run: if .docs/{FeatureName}/plan.md exists with Status: In Progress, read plan.md and identify completed tasks by their …
- Distinctive: line 218
If per-task commits are enabled (see Core Rules), make the commit now.
- Very specific: line 219
Do not begin the next task until plan.md shows [x] for the task just finished.
- Distinctive: line 226
Every task subsection below ends with "→ run the Per-task completion protocol" — that is the cue to perform these five steps.
- Distinctive: line 252
After 7B, if specs remain, run the Multi-spec requests ask (Phase 1).
“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Magento 2 Feature Implement
End-to-end orchestration skill. The user describes a Magento 2 feature or change; this skill drives the full implementation from analysis through tested, reviewed, reported delivery across 7 phases.
Core Rules
Read references/core-rules-detail.md when a rule's one-liner is not enough.
- Mode-driven. Pick
feature(default),hotfix,extendorspikein Phase 1 (references/modes.md);hotfixskips Phases 3-4,extendonly 3. - Two approval gates. Do not write any code until the user approves both the feature blueprint
(after Phase 2) and the task plan (after Phase 4). Affirmative replies: "proceed", "yes", "go",
"approved", "ok", or equivalent. In
hotfixandextendmode only the blueprint gate applies. - Blueprint first. Save the blueprint before building the module schema. The module schema derives from the blueprint — not from assumptions.
- Save before present. Write
blueprint.md,plan.mdand task records to disk and read them back before presenting; cite the path, never present from memory. - Ask once. Gather all clarifying questions in a single batch during Phase 1. Never interrupt mid-execution with more questions unless a blocking ambiguity is discovered.
- Continuous execution. After the plan gate, Phases 5-7 run without check-ins; a finished task cues the next. Stop only for: a blocking ambiguity, an unobtainable input, the smoke cap, 7B done.
- Review every module. After creating or modifying any module, invoke
review. Fix all Critical and High findings before continuing to the next task. - Tests must pass. All unit tests must complete with zero failures before Phase 7. Never mark implementation complete with failing tests.
- Test-first for behaviour (opt-in). TDD on (
--tdd, CLAUDE.md,MAGENTO2_FI_TDD=1): behaviour-bearingM*/X*tasks run red → green → refactor;spikeexempt (references/tdd-mode.md). - Smoke before report. Phase 6 runs 6A (unit tests + coverage) then 6B (smoke battery); Phase 7 waits until no Critical/High smoke finding is open.
- Smoke tooling is policy, not preference.
curlfor REST/GraphQL; headless browser for admin/storefront, never headed or a browser-automation MCP server; no browser ⇒ curl tier + Medium finding. A user directive outranks every probe (context/references/runtime-test-tooling.md). - Smoke loop is bounded. Critical/High smoke findings are auto-routed to the right
sub-skill of this pack for remediation, then Phase 6 re-runs from 6A. The loop halts at 5
iterations and asks the user how to proceed (
retry/accept-known-issues <IDs>/abort). - No empty implementations. Do not create stub classes with
// TODObodies and report them as done. Every generated file must contain real implementation content. - All diagrams are Mermaid. Every diagram in every document — dependency graphs, flow charts, module schemas, ER diagrams — must use Mermaid syntax. No ASCII art or external image links.
- Document before report (required). 7B may not start until the 7A documentation set is on disk and current (
references/documentation-guide.md). - Guides and user docs are HTML. One shared inline CSS color schema; each HTML file declares
<meta charset="utf-8">first in<head>. - Per-task git commits (opt-in).
--per-task-commits, CLAUDE.md orMAGENTO2_FI_PER_TASK_COMMITS=1⇒ one commit per Phase 5 task (references/per-task-commits.md). - Model tiering. Advisory
Model tierper task; everyAgentcall setsmodel, and comprehension/findings go toexplorer/reviewer, neverExplore/general-purpose(context/references/execution-modes.md§"Subagent dispatch"). - Delegate by probing, never by assumption. Attempt the sub-skill's
Skillcall; fall back inline only on a real failure, and record it. Never pre-declare one unreachable. - Deploy delegation. D* tasks delegate to
deploy(module list + environment);featurenever runsbin/magentoitself. - One artifact home. Every sub-skill is invoked with
--docs-root=.docs/{FeatureName}so the whole run's reports nest under the feature folder (seecontext/references/artifact-layout.md). Never invoke a sub-skill without it. - Source of truth. During planning and generation, do NOT scan unrelated modules under
app/code/vendor/*/Magento core for conventions; the generator sub-skills build from their templates + shared references. Read only the target of the change and the contracts of modules it explicitly depends on. Seecontext/references/source-of-truth.md. - Output budget. Follow
context/references/output-budget.md— targeted reads, summary-first test/lint output, long logs to files. - After a context compaction, re-read the reference for the phase in progress before continuing.
Feature Folder Structure
Each feature lives in .docs/{FeatureName}/ at the project root; sub-skill reports nest by category, e.g. .docs/{FeatureName}/reviews/.
Read references/feature-folder-structure.md before creating it in Phase 2.
Phase 0 — Resume Check
Goal: detect explicit resume requests before running Phase 1.
This phase only fires when the user names a specific feature folder in the request.
Auto-scanning of .docs/ is intentionally disabled — without an explicit path the
skill treats the request as a new feature.
- Parse the user request for a path matching
.docs/{FeatureName}— accept any of:- leading
./or none (.docs/CaseManagement,./.docs/CaseManagement) .docs/ordocs/(some users elide the leading dot)- trailing
/,/plan.md, or/blueprint.mdare tolerated and stripped Examples that match: - "resume execution of ./.docs/CaseManagement"
- "continue .docs/CaseManagement"
- "finish .docs/CaseManagement/plan.md" Examples that do NOT match (fall through to Phase 1 as a new feature):
- "continue the plan", "resume what we were doing", "pick up the case stuff"
- leading
- If no such path is present in the request: skip Phase 0 entirely and start Phase 1.
- If a path is present:
- Verify
.docs/{FeatureName}/plan.mdexists. If not, tell the user the folder has no plan and stop — do NOT silently fall back to Phase 1. The user explicitly asked to resume; restarting from scratch would destroy work. - Verify
.docs/{FeatureName}/blueprint.mdexists and read itsStatus:line.Status: Complete— tell the user the feature is already done and ask whether they want to extend it (which is a different mode) before doing anything else.Status: Awaiting Approval— the plan never got the Phase 4 approval gate; present the existing blueprint + plan and re-enter Phase 4 at the approval prompt.Status: ApprovedorStatus: In Progress— proceed to step 3 below.
- Announce the feature: name, mode (from blueprint), and a summary of completed vs
pending tasks from
plan.md's Current State checklist (count of[x]vs[ ]and the next unchecked task ID/title). - Jump directly to Phase 5 "Resuming a partial run". Do NOT re-elicit, do NOT re-plan, do NOT re-prompt for the blueprint or plan approval gates — the user already approved when the plan was first written.
- Continue execution from the first unchecked task in
plan.md. All standard Phase 5 rules (per-task review, per-task commit if enabled, checkbox update on completion) apply unchanged.
- Verify
Phase 1 — Elicit and Analyze
Goal: understand the feature well enough to write a complete blueprint.
Pick the mode, resolve {Vendor} (prefer {ctx.vendor}; never hardcoded), ask clarifying questions in one batch, state your understanding.
Read references/phase1-4-design.md before starting this phase.
Multi-spec requests. If the request names more than one spec or feature, run the first only (say which; list the rest). After Phase 7B, AskUserQuestion: "N specs remain: <list>. Continue here, or /clear and start the next fresh? (each feature adds ~150–300k tokens of context)" Options: /clear and start fresh (Recommended) — print /magento2-tools:feature <remaining specs> to run after /clear; Continue here — proceed to the next spec in place. Never hard-stop; no queue file.
Phase 2 — Feature Blueprint
Goal: produce a complete, approved blueprint.
Read references/phase1-4-design.md before starting this phase (steps 1–3).
- Create the feature folder
{ctx.docs_root}/{FeatureName}/if it does not exist (anchored at the project root per the Artifact location rule — never under{ctx.magento_root}). Write the blueprint to.docs/{FeatureName}/blueprint.mdwithStatus: Awaiting Approvalas the first line. This file MUST exist on disk before step 5 — do not present a blueprint that has not been saved (per the Save before present rule). - Confirm the file is on disk (read it back), then present the complete blueprint to the user
and cite its path: "Blueprint saved to
.docs/{FeatureName}/blueprint.md— review there or below." - Before accepting approval, scan section 12 (Open Questions). If any question is marked blocking and unresolved, present it inline with the blueprint and wait for an answer before proceeding. This is the one permitted exception to the "ask once" rule from Phase 1.
- Wait for explicit approval. Do not proceed to Phase 3 until the user approves the blueprint. If the user requests changes, revise, save again, and re-confirm on disk before presenting.
Phase 3 — Module Schema
Goal: decide exactly which modules own which parts of the feature.
New-vs-modify matrix, surfaces, Mermaid graph TD schema. No approval pause — present it with the Phase 4 plan.
Read references/phase1-4-design.md before starting this phase.
Phase 4 — Task Breakdown and Approval Gate
Goal: produce a detailed, approved implementation plan.
Read references/phase1-4-design.md before starting this phase — steps 1–7 in full. Condensed:
- Write
plan.mdAND the detailed task records to disk for review — before presenting and before the approval gate.plan.md(templates/plan.md):Status: Awaiting Approval, three Mermaid diagrams, the Current State checklist (- [ ] {ID}: {Title}), summary table — no task records; those go totasks.md(≤ 5) ortasks/(> 5). All MUST exist on disk before step 7. - Confirm
plan.mdand the task records are on disk (read them back), then present the plan inline, citing the paths. - Print the approval prompt verbatim:
Plan ready for approval. Tasks: {N} | Modules to create: {N} | Modules to modify: {N} Estimated total effort: {sum}
Reply "proceed" to begin implementation, or describe any changes to the plan.
- Wait for explicit approval. Do not write any code until the user approves. The
plan.mdand task records already exist on disk (step 6) for review. If the user requests changes, revise bothplan.mdand the affected task records, keep them in sync, re-confirm on disk, and present again. Once approved:- Update the blueprint status line to
Status: Approvedin.docs/{FeatureName}/blueprint.md. - Update the
plan.mdstatus line toStatus: Approved. - No further record-writing is needed here — the detailed task records were written in step 6; just ensure they reflect any last-round revisions before Phase 5 begins.
- Update the blueprint status line to
Phase 5 — Execute
Goal: implement all tasks in dependency order.
At Phase 5 start: update the status line to Status: In Progress in both
.docs/{FeatureName}/blueprint.md and .docs/{FeatureName}/plan.md.
Resuming a partial run: if .docs/{FeatureName}/plan.md exists with Status: In Progress,
read plan.md and identify completed tasks by their checked [x] checkboxes in the Current State
section. Read the task records from tasks.md or tasks/ and resume from the first unchecked
item. Do not re-run tasks already marked complete. Mark each task [x] in plan.md immediately
after it completes and save the file before starting the next task.
Read references/phase5-task-types.md before starting this phase (env context, fallback, task types in full).
Environment context (resolve once, before Phase 5 tool steps)
Invoke the context skill; use {runner} = {ctx.runner}, {magento} = {ctx.magento_cli} (null ⇒ manual next steps), tools = {ctx.tools.*} (null ⇒ skip and report). Never hardcode a runner.
Work through the approved task list in dependency order; Parallel: yes tasks may run as sub-agents per references/task-breakdown-guide.md. For each task:
Per-task completion protocol (mandatory — closes every task type below)
A task is not done until its checkbox is flipped in plan.md. This step is part of the
task, not optional bookkeeping, and is not deferred to Phase 6 or 7 — an unchecked
completed task breaks resume. After a task's acceptance criteria are met, before starting
the next task, run these steps in order:
- Open
.docs/{FeatureName}/plan.mdand change this task's line in## Current Statefrom- [ ] {ID}: …to- [x] {ID}: …. - Save
plan.md, then read the line back to confirm the[x]landed. If## Current Statehas no line for this task (e.g. aextendplan that listed only some tasks), add one as- [x] {ID}: {Title}so resume can still see it. - If per-task commits are enabled (see Core Rules), make the commit now.
- Do not begin the next task until
plan.mdshows[x]for the task just finished. This is an ordering constraint on steps 1-3, not a pause: it sequences the bookkeeping ahead of the next task, it does not end the turn. - Immediately begin the next unchecked task — in the same turn, with no progress summary and no check-in (Core Rules → Continuous execution). When the task just closed was the last one, roll straight into Phase 6.
Every task subsection below ends with "→ run the Per-task completion protocol" — that is the cue to perform these five steps. When tasks run in parallel (same wave), apply the protocol once per task as each one finishes, not once for the whole wave.
Fallback discipline (applies to every delegating task below)
Fall back inline only when the Skill call actually fails; then keep the type prefix (never relabel to X), generate from the skill's own references/, and record the failure on the Skill: line. D* never runs inline.
Task types (M*, X*, R*, T*, E*, G*, I*, C*, L*, Q*, V*, D*)
Each delegates with --docs-root=.docs/{FeatureName} and ends with "→ run the Per-task completion protocol".
Phase 6 — Test
6A unit tests + coverage, then 6B smoke battery; each iteration re-enters from 6A, halting at 5 per Smoke loop is bounded.
Refuse to run against production unless CLAUDE.md contains Allow smoke on production: true.
Read references/phase6-test.md before starting this phase.
Phase 7 — Documentation and Final Report
7A documentation is required — on disk and current before 7B, the final report.
Read references/phase7-docs-report.md before starting this phase.
After 7B, if specs remain, run the Multi-spec requests ask (Phase 1).
Reference Files
| Reference | Read when |
references/core-rules-detail.md | a rule's one-liner is not enough |
references/feature-folder-structure.md | Phase 2 |
references/modes.md | Phase 1 |
references/phase1-4-design.md | Phases 1–4 |
references/feature-blueprint-format.md | Phase 2 |
references/module-schema-guide.md | Phase 3 |
references/task-breakdown-guide.md | Phases 4, 5 |
references/tdd-mode.md | TDD on |
references/per-task-commits.md | per-task commits on |
references/phase5-task-types.md | Phase 5 |
references/phase6-test.md | Phase 6 |
references/smoke-test-guide.md | Phase 6B |
references/smoke-runner.md | Phase 6B |
references/error-signal-baseline.md | Phase 6B |
references/phase7-docs-report.md | Phase 7 |
references/documentation-guide.md | Phase 7A |
references/final-report-format.md | Phase 7B |
references/tradeoffs-catalog.md | Phase 7B |
context/references/source-of-truth.md— source-of-truth hierarchy + the no-unrelated-module-scanning rule.
Related Skills
Invoke all related skills via the Skill tool. Do not spawn separate agents for sub-skill
invocations — the Skill tool preserves conversation context across phases.
| Skill | For |
module-create | M* |
review | R* (--diff) |
test-generate | T*, 6A |
eav-attribute | E* |
graphql | G* |
extension-point | I* |
system-config | C* |
cli-command | L* |
message-queue | Q* |
lint | V* |
deploy | D*, 6B fixes |
docs | 7A, per module |
fix | 6B S9 default |
debug | 6B S9 error signals |
perf-audit | 6B S9 slow/N+1 |
security | 6B S9 ACL, CSRF |
frontend | 6B S9 (augment) |
data-migration | 6B S9 patches |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

