Index of every page on this site: llms.txt
All skills
ganyuanran avatar

/writing-plans

@95d0733
by SeanRanganyuanran/aegis1.5k stars
83
Run it yourself

Use when you have an approved spec or written requirements for a multi-step task that needs a durable plan document before touching code. Small, single-owner, or fast-path tasks do not need this skill.

Use this Skill: https://skilld.dev/gh/ganyuanran/aegis/writing-plans

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

expanded-planning-guidance.md

≈1.7k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Expanded Planning Guidance

This reference contains conditional planning detail. It does not own routing, plan-versus-Planless selection, implementation authorization, or completion. Load it only through a trigger in SKILL.md; emit only the triggered structures.

Contents

  1. Workspace Save Detail
  2. Baseline And Requirement Detail
  3. New-Surface And Architecture Detail
  4. Complexity Detail
  5. Execution Readiness Detail
  6. Execution Route Detail
  7. Expanded Plan Review

Workspace Save Detail

Initialize an absent target-project workspace only when project authority permits it and the durable plan save requires it:

python <aegis-workspace-helper> init --root <target-project-root>

If installed workspace support is unavailable, create docs/aegis/README.md, docs/aegis/INDEX.md, the governed baseline file, and an initial baseline for an existing codebase. Do not create this live workspace inside the Aegis Method Pack repository.

Save the plan under docs/aegis/plans/, then register a newly created plan and check structure:

python <aegis-workspace-helper> append-index --root <target-project-root> --path docs/aegis/plans/<filename>.md --kind plan --title "<title>"
python <aegis-workspace-helper> check --root <target-project-root>

Updating an existing document does not add a second index row. Workspace checks prove structure and index coverage, not plan correctness or completion.

Baseline And Requirement Detail

Use this only when named baseline/context acknowledgement matters:

BaselineUsageDraft:
- Required baseline refs:
- Delivered context refs:
- Acknowledged before plan refs:
- Cited in plan refs:
- Missing refs:
- Decision: continue | needs-baseline-readback | needs-verification | pause-for-user | blocked

Delivered context refs is host-projected bookkeeping, not proof that a host injected content or that a model consumed it.

Use the expanded readiness form when acceptance is incomplete or disputed:

Requirement Ready Check:
- Requirement source refs:
- Goals and scope refs:
- User / scenario refs:
- Requirement item refs:
- Acceptance / verification criteria refs:
- Open blocker questions:
- Decision: ready | needs-source | needs-goal-alignment | needs-scenario | needs-acceptance-criteria | needs-clarification | needs-user-decision | blocked

Any result other than ready blocks implementation tasks and returns the smallest missing evidence or decision to its owner. Conversation or agent inference may be candidate evidence, not durable authority by itself.

When an auditable code-necessity record is needed:

Change Necessity:
- User-visible need:
- No-change / non-code option:
- Why code change is necessary:
- Minimum change boundary:
- Decision: no-change | docs/config-only | code-change | needs-clarification

New-Surface And Architecture Detail

Use for a proposed new owner, skill, artifact, adapter, fallback, compatibility path, workflow step, or benchmark metric:

Existence Check:
- Proposed new surface:
- Existing owner / reuse candidate:
- Why existing surface is insufficient:
- Creation proof:
- Entropy / retirement impact:
- Decision: reuse-existing | add-with-proof | defer | reject | needs-first-principles-review

reuse-existing redirects tasks to the current owner. add-with-proof carries the proof, verification signal, and retirement effect into the task.

An expanded Architecture Integrity Lens records the invariant, canonical owner/contract, responsibility overlap, possible higher-level simplification, old-path retirement or falsifier, and verdict. Use first-principles-review before task decomposition when direction risk remains.

Use an expanded pressure record only when natural plan prose is insufficient:

Plan Pressure Test:
- Owner / contract / retirement:
- Architecture integrity / higher-level path:
- Verification scope:
- Task executability:
- Pressure result: proceed | revise plan | return to design

Complexity Detail

Use using-aegis/references/complexity-governance.md for shared artifact classes, pressure signals, and over-budget handling.

Complexity Budget:
- Artifact class:
- Target files / artifacts:
- Current pressure:
- Projected post-change pressure:
- Budget result: within-budget | at-risk | over-budget
- Planned governance:

Plan-Time Complexity Check:
- Target files:
- Existing size / shape signals:
- Owner fit:
- Add-in-place risk:
- Better file boundary:
- Recommendation: edit-in-place | extract helper | add owner file | split task | defer refactor

An over-budget result cannot be hidden inside an add-in-place task. Change the boundary, add governance work, or explicitly stop for follow-up.

Execution Readiness Detail

Use existing plan inputs; do not create a new JSON artifact type:

Execution Readiness View:
- Intent Lock:
- Scope Fence:
- Baseline Lock:
- Approved Behavior:
- Owner / Contract Constraints:
- Compatibility Boundary:
- Retirement Boundary:
- Task Batches:
- Test Obligations:
- Review Gates:
- Drift / Rewind Rules:
- Evidence Required Before Completion:
- Advisory Boundary: method-pack execution guidance only; not GateDecision, PolicySnapshot, or completion authority

This is a handoff projection, not evidence that the work passed and not an approval gate. Skip it for tiny fast-path tasks unless explicitly requested.

Execution Route Detail

Use only when route evidence needs structured handoff:

Execution Route:
- Decision: subagent-driven | inline
- Evidence:
- Fallback:
- User confirmation required: no | yes — <specific unresolved boundary>

Subagent availability alone does not select delegation. Unknown dependencies, shared transactions/resources, stale state, untrusted inputs, unclear host capability, or borderline coordination value remain inline.

Expanded Plan Review

For a high-risk or handoff-heavy plan, verify:

  • every approved requirement and acceptance example maps to a task and check;
  • paths, owners, signatures, and command outcomes are concrete enough to act;
  • compatibility, rollback, repair, and retirement surfaces are explicit;
  • new surfaces have creation proof and no duplicate owner;
  • complexity and execution-readiness triggers have dispositions;
  • ADR signals and baseline-sync questions remain available to completion; and
  • no placeholder, speculative contract, or unapproved scope growth remains.

Use plan-document-reviewer-prompt.md only when an independent plan review is actually dispatched. Its reviewer output is advisory and cannot authorize implementation or completion.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts6d3 checks · Risk SAFE
  • Gen Agent Trust Hub6d

    This skill defines a structured workflow for creating and reviewing technical implementation plans. It includes several defensive 'guards', 'checks', and 'triage' steps to ensure that requirements are complete and that the proposed changes are necessary. While it references external scripts and other skills for execution, it does not contain any malicious patterns or unauthorized operations.

  • Socket7d

    No alerts

  • Snyk6d

    Risk: LOW · No issues

Signed by skilld at 95d0733. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago

README badge

README badge for ganyuanran/aegis/writing-plans