executing-plans
/executing-plans
Execute written implementation plan whose Tasks edit code, per-Task SAFE/CAUTION/UNSAFE git-signal verdict before edit AND data-driven cascade for code-generation and behavior-modification Tasks (style from silo authors, strategy+template from proven neighbors, callers + tests-at-risk on modify). Triggers on "execute the plan", "start Task N", "выполни план", "начни задачу", "run the plan", "implement the plan steps". NOT for one-off edits without a written plan. Wraps superpowers:executing-plans with tea-rags git-signal verdicts and tea-rags:data-driven-generation cascade.
- Author
- artk0de ↗
- Repository
- tearags-mcp ↗
- Licence
- MIT
- Last repository change
- 18.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 18.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Execute written implementation plan whose Tasks edit code, per-Task SAFE/CAUTION/UNSAFE git-signal verdict before edit AND data-driven cascade for code-generation and behavior-modification Tasks (style from silo authors, strategy+template from proven neighbors, callers + tests-at-risk on modify). Triggers on "execute the plan", "start Task N", "выполни план", "начни задачу", "run the plan", "implement the plan steps". NOT for one-off edits without a written plan. Wraps superpowers:executing-plans with tea-rags git-signal verdicts and tea-rags:data-driven-generation cascade.
Triggers from the description
Original author description
Execute written implementation plan whose Tasks edit code, per-Task SAFE/CAUTION/UNSAFE git-signal verdict before edit AND data-driven cascade for code-generation and behavior-modification Tasks (style from silo authors, strategy+template from proven neighbors, callers + tests-at-risk on modify). Triggers on "execute the plan", "start Task N", "выполни план", "начни задачу", "run the plan", "implement the plan steps". NOT for one-off edits without a written plan. Wraps superpowers:executing-plans with tea-rags git-signal verdicts and tea-rags:data-driven-generation cascade.
How it works
- Iron Rule
- Mandatory Step Order (DO NOT SKIP)
- Reading the plan — doc-TOC, not wholesale Read
- Step 1 — Extract Task's file list
- Step 2.0 — Addressing (EVERY Task)
- Step 2 — Pre-touch guard call
- Step 3 — Compute verdict per file, aggregate to Task verdict
- Step 4 — Gate the Task execution
- Step 4.5 — Per-Task proven-template lookup (code-generation Tasks)
- Step 5 — Code-Gen Cascade (MANDATORY for generation + modification Tasks)
SKILL.md preview
---
name: executing-plans
description:
Execute written implementation plan whose Tasks edit code, per-Task
SAFE/CAUTION/UNSAFE git-signal verdict before edit AND data-driven cascade for
code-generation and behavior-modification Tasks (style from silo authors,
strategy+template from proven neighbors, callers + tests-at-risk on modify).
Triggers on "execute the plan", "start Task N", "выполни план", "начни
задачу", "run the plan", "implement the plan steps". NOT for one-off edits
without a written plan. Wraps superpowers:executing-plans with tea-rags
git-signal verdicts and tea-rags:data-driven-generation cascade.
---
# dinopowers: executing-plans
Wrapper over `superpowers:executing-plans`. Adds **pre-touch modification
guard** — before each Task's first Edit/Write, queries tea-rags impact signals
for files Task will modify, produces verdict. High-blast-radius / hotspot /
silo-owned files flagged before edits begin, not after broken commit.
## Iron Rule
**For every plan Task that modifies files, the pre-touch guard MUST run BEFORE
the first Edit/Write/MultiEdit of that Task.**
Core value: correct tool (`semantic_search`), correct impact rerank
(`"blastRadius"` when codegraph on, `{imports 0.5, churn 0.3, ownership 0.2}`
fallback when off), correct params (brace-expanded `pathPattern` over Task-local
files, `metaOnly: true`), correct verdict ladder (SAFE / CAUTION / UNSAFE) +
correct gating (CAUTION = confirm, UNSAFE = pause).
Task purely additive (creates new files, touches no existing ones): skip guard
for that Task — state explicitly. Do not invent pathPattern to justify guard
call.
## Mandatory Step Order (DO NOT SKIP)
1. **Step 2.0** — addressing, EVERY Task: every tea-rags read call passes
`path=<your working directory>`. No clone, no reindex for the tree's own
edits.
2. Step 2 — git-signal SAFE/CAUTION/UNSAFE verdict per Task before any edit
3. Step 4 — verdict-gating: STOP and ask user if any UNSAFE
4. **MUST** Step 5 — Code-Gen Cascade for generation AND behavior-modification
Tasks (invoke `tea-rags:data-driven-generation`)
5. Step 6 — chain into `superpowers:executing-plans`
⚠️ Skipping Step 5 → ungrounded code. Skipping Step 6 → parent workflow never
runs. Skipping Step 2.0 → guard reads `main`'s tree → verdict computed on code
this branch already changed.
**Chaining rule:** see [CHAINING.md](../../CHAINING.md) — every dinopowers:X
redirects superpowers:X. NEVER bypass the wrapper.
**Index freshness:** see [FRESHNESS.md](../../FRESHNESS.md) and
`tea-rags/rules/index-freshness.md`. **NO background reindex hook.** Linked
worktree: overlay serves the tree's uncommitted edits — never reindex for them.
Main checkout: incremental `mcp__tea-rags__index_codebase` before searching
uncommitted WIP.
Plus cross-plugin chain for code generation:
- `tea-rags:data-driven-generation` — invoked from Step 5 below for any Task
that GENERATES code (new files, functions, classes, rewrites) or CHANGES
behavior of existing symbol (MODIFY). Pulls strategy, template, silo-author
style; on modify, tests-at-risk + callers. Not a `superpowers:Y` redirect —
additional MANDATORY step wrapper inserts.
## Reading the plan — doc-TOC, not wholesale Read
Plan/spec/brief = doc-chunk source. Per-Task re-consult →
`find_symbol(relativePath: "<plan>.md")` heading TOC → drill active Task section
via `doc:<hash>`. NEVER wholesale re-Read plan mid-execution. Edited plan file →
section hashes moved → main checkout: incremental reindex
(`mcp__tea-rags__index_codebase`) BEFORE next TOC read; linked worktree: none —
`find_symbol` reads the TOC from the tree.
## Step 1 — Extract Task's file list
From current plan Task identify:
| Source | Example |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| Task explicitly names files | "Task 3: update `a.ts`, `b.ts`" |
| Task refers to symbols | "refactor `Class.method()`" → resolve via `mcp__tea-rags__find_symbol` to get file |
| Task refers to a small dir | "update all files in `language/ruby/chunking/`" → `semantic_search` `pathPattern: "<dir>/**"`, `level: "file"`, `metaOnly: true` (one row per file) |
Output:
- `taskFileList`: relative paths Task will modify (typically 1-5)
- `taskIntent`: one sentence what Task does
If `taskFileList` empty (pure new-file creation): skip to Step 4 with verdict
`SAFE (new files only)`.
## Step 2.0 — Addressing (EVERY Task)
1. **Address the tree.** Step 2 guard + every tea-rags read call of this Task
(and every skill it invokes) pass `path=<your working directory>` — never an
alias alone (tea-rags search-cascade "Addressing the Codebase"). Linked
worktree → reads its own tree against the repository's index, any delta size;
no clone, no reindex for the tree's own edits (index-freshness).
2. **Read the `workingTree` marker.** `pendingFiles` → those files' rows are the
index's; re-call for current code. `indexOnlyFiles` → non-code rows are the
index's. Neither triggers a reindex. `degraded` → its `remedy` under
index-freshness consent.
- **Subagent-driven:** subagent never reindexes, passes
`path=<its working directory>`.
- Teardown of a clone that exists: `dinopowers:finishing-a-development-branch`.
## Step 2 — Pre-touch guard call
Issue ONE `mcp__tea-rags__semantic_search` call — SAME idiom as
`dinopowers:writing-plans` Step 2:
```
path: <your working directory> ← tea-rags search-cascade "Addressing the Codebase"; never project alone
query: <taskIntent from Step 1>
pathPattern: "{taskFile1,taskFile2,...}" ← brace expansion
rerank: "blastRadius" ← codegraph on; OFF fallback below
limit: <taskFileList.length * 3>
metaOnly: true
```
**Codegraph gating for `rerank`:** `"blastRadius"` (real `fanIn` + churn +
bugFix) when prime `## Enrichment` lists `codegraph.symbols`; fall back to
`{ custom: { imports: 0.5, churn: 0.3, ownership: 0.2 } }` (import-proxy,
approximate) when that line absent.
Do NOT substitute:
| Wrong tool | Why wrong |
| --------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `mcp__tree-sitter__modification_guard` | Structural (AST) guard, misses git-signal blast radius (imports count, bugFixRate, ownership) |
| `mcp__tea-rags__hybrid_search` | Same rerank, but its BM25 leg re-ranks by query-token overlap — signal scan wants semantic + signals |
| Named preset `"hotspots"` / `"codeReview"` / `"impactAnalysis"` | `impactAnalysis` does not exist; these miss the blast-radius dimension. `"blastRadius"` IS correct when codegraph is on |
| One call per file, sequential | Brace expansion covers all in one |
| `mcp__tea-rags__find_similar` without a prior guard call | Finds analogs, doesn't return blast-radius signals |
Do NOT pass:
- `metaOnly: false` — we want verdict inputs, not content
- Wrong rerank for codegraph state — `"blastRadius"` when on, the
`{imports 0.5, churn 0.3, ownership 0.2}` fallback when off, matching
`dinopowers:writing-plans` and `tea-rags:data-driven-generation` IMPACT step
for cross-skill comparability
- `filter` narrowing file set — `pathPattern` already scopes; filters hide
signal
Results empty (files brand-new, not yet in git): verdict defaults to
`SAFE (new files)`. Do NOT fabricate blast-radius signals for untracked files.
## Step 3 — Compute verdict per file, aggregate to Task verdict
For each unique `relativePath` in results, read labels from
`rankingOverlay.file.*` (`{value,label}`; kept under metaOnly), raw values from
`payload.git.file.*` (essential fields only under metaOnly):
- `commitCount` — churn magnitude
- `bugFixRate` — historical quality (percent of commits tagged as fix/bug);
overlay only under metaOnly (non-essential)
- `blameDominantAuthorPct` (with adaptive label `shared` / `concentrated` /
`silo` / `deep-silo`) — live-line silo indicator
- blast radius — `codegraph.file.fanIn` (blastRadius overlay, codegraph on) or
`imports` score (custom fallback, codegraph off)
Compute per-file verdict via this ladder. Use **adaptive labels**, not magic
percentages — labels come from per-codebase percentile distributions in payload
signal `stats.labels`, surfaced through `get_index_metrics`.
| Verdict | Any of these triggers |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `UNSAFE` | blast radius (fanIn / imports) top 5% of result set AND `bugFixRate.label ∈ {"concerning", "critical"}`; OR `blameDominantAuthorPct.label === "deep-silo"` (one author owns the live code) |
| `CAUTION` | blast radius (fanIn / imports) top 15%; OR `bugFixRate.label === "concerning"`; OR `blameDominantAuthorPct.label === "silo"` |
| `SAFE` | none of the above |
Task verdict = worst of per-file verdicts (UNSAFE dominates CAUTION dominates
SAFE).
Compose guard block:
```
### dinopowers guard — Task N ("<taskIntent>")
| File | imports | churn | bugFix | owner | Verdict |
|---|---|---|---|---|---|
| src/a.ts | 47 imports | 23 commits | 35% | Alice (92%) | CAUTION |
| src/b.ts | 3 imports | 5 commits | 0% | shared (42%) | SAFE |
**Task verdict: CAUTION** — high-blast-radius in `src/a.ts`. Owner Alice has 92% dominance.
```
## Step 4 — Gate the Task execution
Branch on Task verdict BEFORE invoking `superpowers:executing-plans` for this
Task:
| Verdict | Action |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `SAFE` | Proceed without interruption — Step 4.5 / Step 5 (code-gen, modify Tasks), then `superpowers:executing-plans` |
| `CAUTION` | Surface the guard block to the user. Ask "Proceed with Task N?". Wait for explicit confirmation before invoking `superpowers:executing-plans`. |
| `UNSAFE` | Pause — surface block + recommend one of: (a) split Task into smaller Tasks, (b) add owner as co-author/reviewer, (c) require tests-before-edit. Do NOT invoke `superpowers:executing-plans` until user explicitly overrides. |
Never silently convert UNSAFE→CAUTION or CAUTION→SAFE to "keep momentum".
Verdict is circuit breaker.
**Chaining rule reminder:** when `superpowers:executing-plans` runs a Task, it
may chain into `superpowers:test-driven-development`,
`superpowers:verification-before-completion`,
`superpowers:requesting-code-review` or
`superpowers:finishing-a-development-branch`. Redirect each to corresponding
`dinopowers:Y` wrapper — see Chaining rule section above.
## Step 4.5 — Per-Task proven-template lookup (code-generation Tasks)
For Task about to execute, if classified as code-generation (same heuristic as
`dinopowers:writing-plans` Step 3.5: keywords "implement", "add", "write",
"extend" + "function | method | class | helper | module") — i.e. Step 5 row
**Generation** (DDG mode CREATE / EXTEND). **Modification** Tasks skip 4.5: DDG
MODIFY mode skips TEMPLATE — symbol itself is the reference.
1. Plan document already carries `**Proven templates**` subsection for this Task
(written by writing-plans Step 3.5) → USE that. Skip recipe re-invocation —
writing-plans output canonical for this Task.
2. Plan does NOT carry per-Task templates (older plan, or written without Step
3.5 enrichment) → invoke `tea-rags:extract-project-patterns` with:
- `pathPatternL1` = deepest common ancestor of Task's Affected Files
- `behaviorQuery` = Task title
- `limit` = 5 Use returned `templates[0]` and `locality` directly.
Load chosen template into session as `tea-rags:data-driven-generation` Step 2
(TEMPLATE) input — so Code-Gen Cascade (Step 5) starts from correct reference
without re-invoking recipe.
**Skip clause:** non-code Tasks (config, test, doc) bypass this step, proceed
directly to Step 5.
## Step 5 — Code-Gen Cascade (MANDATORY for generation + modification Tasks)
After verdict gate clears (SAFE proceeds, CAUTION confirmed, UNSAFE overridden),
classify Task by intent BEFORE invoking `superpowers:executing-plans`. DDG picks
its own mode (CREATE / EXTEND / MODIFY) via `find_symbol` probe — wrapper only
decides WHETHER to invoke.
| Task intent | Action |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
| **Generation**: new file, new function, new class, new method on existing class, rewrite-to-new-template | **MUST** invoke `Skill(tea-rags:data-driven-generation)` BEFORE any Edit/Write (CREATE / EXTEND) |
| **Modification**: change behavior of EXISTING symbol in place (bug fix, condition tweak, new branch, hotfix) | **MUST** invoke `Skill(tea-rags:data-driven-generation)` BEFORE any Edit/Write (MODIFY) |
| **Refactor only**: rename, move, extract, inline, reformat — no behavior change | Skip Step 5 — DDG out of scope for pure refactor; see naming note below |
| **Deletion**: remove file, remove function, prune dead code | Skip Step 5 — no generation |
| **Trivial**: typo, comment / log-message text, single-token swap, no behavior change | Skip Step 5 AND skip wrapper entirely — direct Edit |
**Naming note (rename / extract, codegraph on):** the new name goes through
`get_naming_lexicon(names=[{name, kind, type?}], language, pathPattern)` before
the Edit (`language` = the edited file's; evidence never crosses languages) —
`MISFIT` → use `suggestion`; `NEW_TERM` → a `topTerms` word if it means the
same; `NO_CONVENTION` → `prefer.exact` or a name like `prefer.analogous`. A
plan-fixed name is checked too. Reading: `tea-rags:data-driven-generation` Step
5 "Naming (lexicon)".
Why MANDATORY for modification — DDG MODIFY mode owns what in-context edit
misses:
- **Tests-at-risk** — `tea-rags:tests-as-context` recipe finds tests pinning
current behavior → run them; unpinned behavior noted.
- **`get_callers` on modified symbol** — changed behavior propagates through
real call edges; callers relying on old contract surface BEFORE commit.
- **Symbol-own style + strategy** — minimal diff matched to symbol itself,
strategy from its own labels (DEFENSIVE on `bugFixRate` critical). Hotfix
(exact location given) = MODIFY minus STRATEGY/STYLE — DDG decides, not
wrapper.
- **REUSE for introduced logic** — new branch/guard reuses existing helper
instead of N-th reimplementation.
Why MANDATORY for generation: without `tea-rags:data-driven-generation` agent
generates code disconnected from project conventions. Misses:
- **Strategy selection** — DEFENSIVE for buggy zones, STABILIZATION for
high-churn, CONSERVATIVE for legacy, STANDARD elsewhere. Reading SKILL.md text
alone won't trigger this — only data-driven skill encodes the
label-to-strategy ladder.
- **Template via "proven" rerank** — battle-tested code (long-lived, low-churn,
low-bug, multi-author) found via the named `proven` preset. Manual `Read` of
one sibling file picks arbitrary example, not proven one.
- **Silo-author style copy** — when
`blameDominantAuthorPct.label === "deep-silo"` data-driven skill instructs
exact pattern match AND flags live-line owner for review. Manual style copy
via Read skips silo signal entirely.
How to invoke (one Skill call, no parameters needed — skill reads area context
from this conversation):
```
Skill(tea-rags:data-driven-generation)
```
If `tea-rags:data-driven-generation` reports it lacks area context (no overlay
labels in conversation), it internally chains to `tea-rags:explore` for
pre-generation gathering. Let it. Do NOT pre-fetch labels yourself — skill owns
that workflow.
After Step 5 returns (strategy + template + style decided), THEN invoke
`Skill(superpowers:executing-plans)` (or its TDD onward chain via
`Skill(dinopowers:test-driven-development)`) to write the code.
**Order matters:** addressing (Step 2.0) → guard (Step 2) → verdict gate
(Step 4) → data-driven cascade (Step 5) → executing-plans chain. Skipping Step 5
for generation or modification Task = same severity as skipping guard for
existing-file Task.
## Red Flags — STOP and restart from Step 2
- "This Task is small, skip the guard" → if `taskFileList` has ≥1 existing file,
run Step 2
- Substituted `mcp__tree-sitter__modification_guard` → tree-sitter gives
structural safety, not git-signal blast radius; both useful but this wrapper
git-first. Run Step 2.
- Wrong rerank for codegraph state → redo: `"blastRadius"` when prime
`## Enrichment` lists `codegraph.symbols`, else
`{imports: 0.5, churn: 0.3, ownership: 0.2}` (tea-rags analytics-rerank)
- Ran guard AFTER first Edit → wrong order; revert uncommitted changes if
possible, restart from Step 2 before next Edit
- Silent downgrade of verdict → surface true verdict; let user downgrade if they
want
- `metaOnly: false` on guard call → restart with `metaOnly: true`
- Let `superpowers:executing-plans` chain into raw
`superpowers:test-driven-development` /
`superpowers:verification-before-completion` /
`superpowers:requesting-code-review` /
`superpowers:finishing-a-development-branch` without redirecting to
`dinopowers:Y` wrapper → intercept, invoke wrapper instead (see Chaining rule)
- Generation Task ran straight to `Read sibling.ts` + `Write new.ts` without
invoking `Skill(tea-rags:data-driven-generation)` → revert (or pause before
Edit), restart from Step 5. Manual sibling-Read is exactly what data-driven
skill replaces with structured strategy + proven template + silo style.
- Invoked `tea-rags:data-driven-generation` for pure refactor (rename, move,
extract) → over-trigger; adds no value when behavior unchanged. Restart from
Step 5 classification; refactor row says SKIP.
- Bug fix / condition tweak in existing method edited in-context, "no new
pattern, DDG not needed" → wrong: Modification row. Pause before Edit, invoke
DDG (MODIFY: tests-at-risk + `get_callers`).
- Guard addressed an alias without `path` inside a worktree → wrong tree; redo
with `path=<your working directory>`.
- Reindexed (or cloned) for the worktree's own uncommitted edits, or for
`pendingFiles` → unneeded; overlay already reads the tree.
## Common Mistakes
| Mistake | Reality |
| --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| One guard call per plan (not per Task) | `dinopowers:writing-plans` does per-plan. This wrapper is per-Task — scope matches edit granularity. |
| Use `rerank: "codeReview"` because "review before edit" sounds right | `codeReview` lacks `imports` weight — blast-radius invisible |
| Emit the guard block and proceed without gating | The block is not documentation — it's a circuit breaker. CAUTION waits for confirmation. |
| Treat UNSAFE as "just a warning" | UNSAFE pauses. User must explicitly override before edits. |
| Pre-fetch ALL plan files in one guard at plan start | Context stale by the time Task 5 runs. Guard is per-Task, just-in-time. |
| Invoke `superpowers:executing-plans` for the whole plan at once | Wrapper is per-Task — gate each Task separately |
| For new-file Task: `Read sibling.ts` then `Write new.ts` directly | Skips Step 5. Sibling-by-Read picks arbitrary example, ignores `bugFixRate`/`blameDominantAuthor` signals. Use `Skill(tea-rags:data-driven-generation)`. |
| Generation Task → guard SAFE (new file) → straight to executing-plans | SAFE (new file) only resolves blast-radius gate. Step 5 is a SEPARATE gate — strategy + template + style still needed. Both gates must clear. |
| Modification Task → guard SAFE → edit in-context | SAFE says file is safe to touch, not that callers survive new behavior. DDG MODIFY runs tests-at-risk + `get_callers` — Step 5 still applies. |
| Reindex "after commit" in a worktree as cleanup of finished Task | Overlay already reads the tree, any delta size (Step 2.0). |
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · artk0de/tearags-mcp | 100 | MIT |
| nikospavlopoulos/devops-mutant-powers | 100 | MIT |
| arklab/ark.tools | 100 | MIT |
| arklab/ark.tools | 100 | MIT |
| ongtungduong/legion | 100 | MIT |
| osmontero/opencode-skills | 100 | MIT |
| GanyuanRan/Aegis | 100 | MIT |
| seaworld008/commonly-used-high-value-skills | 100 | MIT |
| FrancoStino/opencode-skills-collection | 100 | MIT |
Database snapshot: 13.11.2026 · package version 48d9f88ec141 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100dino-executing-plans
Execute written implementation plan or tracker issue whose Tasks edit code, per-Task SAFE/CAUTION/UNSAFE git-signal verdict before edit AND data-driven cascade for code-generation and behavior-modification Tasks (strategy+template from proven neighbors, callers + tests-at-risk… - 100writing-plans
Author implementation plan; Affected Files section enriched per-file imports, churn, ownership, bugFixRate, taskIds from tea-rags — task decomposition reflects real impact+risk. Triggers on "write a plan", "draft implementation plan", "напиши план", "распиши задачи по файлам",… - 90sr-executing-plans
Use when you have a written implementation plan to execute in a separate session with review checkpoints - 100review-plan
Use after writing implementation plans (superpowers:writing-plans output) or when the user says "review plan", "check my plan", "sanity check the plan", "validate plan", "review before executing". Also use before superpowers:executing-plans if a plan has not been reviewed yet.