本文へ移動
cccskills
無料GitHub で公開

implementation-plan

Load when asked to create, update, re-baseline, or continue a repository-grounded implementation/technical/refactor plan and its `dev/active/<task>` plan/context/tasks files; not for a product PRD, informal advice, or reviewing an already-written plan.

インストール方法を見る

含まれるファイル(6)

  • SKILL.md13.7 KB
  • resources/index.md847 B
  • resources/investigation-workflow.md11.1 KB
  • resources/operational-artifacts.md11.4 KB
  • resources/plan-template.md23.1 KB
  • resources/quality-gates.md11.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

<!-- ABOUTME: Repository-grounded implementation-planning workflow for persistent dev docs. --> <!-- ABOUTME: Converts planning requests into synchronized plan, context, and task artifacts without implementing code. -->

Must-Read Docs

Top Invariants

  1. Planning vs. Execution Decoupling (Strict Separation of Concerns):
    • Zero Git Topology Alteration: Planning agents must NEVER create git branches (plan/*, feat/*), switch branches (git checkout -b), or create git worktrees (git worktree add). The repository workspace stays parked on develop.
    • Artifacts Live Exclusively in Repo Root: All technical planning artifacts (plan.md, tasks.md, context.md) must be written directly into dev/active/<task-slug>/ within the main repository workspace on develop. I-VSD moral/ethical reports are owned strictly by the i-vsd skill and live under islamic-value-sensitive-design/workstreams/i-vsd-*.md (or governance/ / consultations/ for foundational inputs), never inside dev/active/.
    • Execution Topology Is An Implementation Detail: How an approved plan is eventually executed (whether via an isolated worktree in .worktrees/<task>, an in-tree branch, directly on develop, by an autonomous agent using implement-tasks, or manually by a developer) is strictly an execution concern. Planning must never preempt, create, or dictate execution topology.
  2. Follow I-VSD planning mode: reuse one shared repository evidence packet, create the draft islamic-value-sensitive-design/workstreams/i-vsd-<task-name>.md, resolve material branches through grill-me, draft the triad, then revalidate its IVSD-* mappings before declaring it plan-aligned. The plan request satisfies the normal I-VSD agreement prompt but never suppresses necessary user questions.
  3. Upstream Freshness & Repository Evidence: Before investigating, ensure local tracking reflects upstream reality (git checkout develop && git pull --ff-only). Verify every claimed path, symbol, test, contract, and configuration key from repository evidence, then classify the work against every relevant intent and carry its docs, skills, rules, scope, tests, acceptance criteria, forbidden moves, and Release, Changelog, And Phase Commit Strategy into the plan.
  4. Behavior vs. Code Separation & Scenario Contract: In plan.md, define externally observable behavior contracts using RFC 2119 keywords (SHALL/MUST) and concrete WHEN/THEN scenarios before designing code. Implementation details (classes, handlers, migrations) belong strictly in Section 5 Architecture. Classify changes as Behavioral Delta (requiring scenarios) vs Non-Behavioral Delta (pure refactor/tooling).
  5. Invariant-First Slicing & The 3-Ring Progressive Verification Model:
    • Ring 1 (Inner Loop, < 2s): Sequence failing invariant/specification tests (Red Phase) before production code (Green Phase) specifically for Core Domain Invariants, Concurrency Races, State Machines, and Security Boundaries. Pure domain invariants belong in Event.Domain.UnitTests (< 50ms). Subtasks specify in-memory TUnit slicing (--treenode-filter "/*/*/*<TestClass>/*"). Standard CQRS commands/queries, API endpoints, and UI components do NOT require dogmatic Red/Green micro-task decomposition; implement them directly and verify via targeted contract/integration tests without boilerplate mock-mirroring (NSubstitute.Received(1)).
    • Ring 2 (Phase Exit Gate, < 15s): Every intermediate phase ends with one Release build and at most ONE selected project test against ONE selected provider. Planning multi-database matrix runs or container sweeps during intermediate phases is strictly forbidden.
    • Ring 3 (Plan Exit Gate): The full 5-database matrix, migrations, and architecture tests are planned strictly at the final plan exit before PR creation.
    • Yak-Shaving Quarantine Rule: Forbid planning or executing fixes for unrelated pre-existing test rot or broken fixtures outside the task scope. Unrelated failures are quarantined, logged in context.md / dev/backlog/, and deferred.
  6. Greenfield Breaking Change Freedom: This platform is pre-release (0 users, 0 external adopters). Never plan backward-compatibility shims, deprecated route aliases, or legacy compatibility layers. Break and replace cleanly to achieve optimal architecture.
  7. Strict Deferrable Open Questions Gate: Unknowns in plan.md Section 2.6 are strictly for genuinely deferrable details that will not alter scope, architectural patterns, or task breakdown. If an unknown would shift the task sequence, resolve it via grill-me before finalizing the plan.
  8. Dev-Doc Triad & Lean Working Memory: Maintain clean separation across artifacts without unnecessary duplication:
    • *-plan.md: Architectural design, current-state evidence, RFC 2119 behavioral scenarios, design decisions, and phase-level boundaries (no granular execution tasks, checkboxes, or ephemeral session churn).
    • *-tasks.md: The sole hot execution ledger (granular Red/Green task breakdown, checkable tasks with atomic verification criteria, phase verification gates, and declarative phase commit contracts).
    • *-context.md: Ephemeral session memory (quick resume, blockers, validation baseline results, and dated session handoffs). In a single uninterrupted session, context.md does not need constant micro-churn; focus execution tracking on tasks.md.
  9. Planned Commit Contracts: Each phase closes after verification with one or more smallest independently reviewable commits; apply conventional-commit rules 1, 13, and 14, never a multi-outcome umbrella commit. Specify type, scope, title, description, changelog treatment, trailers, and exact phase-owned paths for feat/<task-name>; the harness executes native Git without pre-generated scripts or hash recording. Titles name concrete outcomes; descriptions explain the problem and changed behavior before data/control flow. Truthful contracts execute unchanged without reloading the skill.
    • Human-facing planning: Use reader-first writing for executive summaries, planned messages, reports, and decision briefs. Explain the user/operator or engineering consequence before the mechanism; keep detailed architecture in its designated section.
  10. Local Working Memory & Native Harness Tooling: dev/active/<task>/ is gitignored local working memory, initially in the root during planning and moved into the worktree during execution. Use native file tools at its authoritative location; never duplicate the active ledger or commit dev/active/*.
  11. Knowledge Graduation Gate: Active implementation plans in dev/active/ are ephemeral working memory and disappear upon workstream completion. Every plan MUST include a final phase task for Knowledge Graduation: promoting deferred scope into actionable standalone items in dev/backlog/<slug>.md, durable architectural decisions into docs/internal/adr/, and non-obvious lessons into dev/_journal/domains/. These persistent artifacts are staged and committed alongside code.

Top Anti-Patterns

  1. Memory-based planning, which turns assumptions about the repository into false implementation facts.
  2. Behavior/Implementation Conflation, which describes code modifications instead of observable system behavior contracts and leaves requirements without testable WHEN/THEN scenarios.
  3. Non-Deferrable Open Questions Debt, which postpones foundational scope or architectural decisions into open questions instead of resolving them during intake.
  4. Mock-Mirroring & Tautological Test Debt ("The Ugly Mirror"), which writes unit tests that mock internal dependencies and assert method call counts (Received(1)), framework behavior (EF Core cancellation), or raw source/CSS strings instead of enforcing real domain invariants.
  5. Backward-Compatibility Hesitation, which introduces deprecated endpoint aliases, adapter shims, or migration baggage in a greenfield project with zero external users.
  6. Future-state-first planning, which designs changes before reporting what exists, what is missing, and what evidence supports those conclusions.
  7. Verification Sprawl & Premature Multi-Provider Matrices, which wastes implementation time planning multi-container sweeps, 5-database matrices, app startup, browser automation, Playwright, Chrome DevTools MCP, Aspire, Docker, or live-service smoke tests during intermediate phases.
  8. Stale checkbox debt, which postpones task updates until a separate refresh command and leaves completed implementation appearing unfinished.
  9. Dev-Doc Triad Bleed / Duplication, which pollutes plan.md with granular task checklists (- [ ]), dynamic execution statuses (IN PROGRESS), or session handoffs, duplicating tasks.md and context.md.
  10. Monolithic Umbrella Commits or Bash Script Over-Engineering, which bundles hundreds of files into one giant commit, pre-generates brittle raw bash scripts with escaping errors instead of declarative contracts, or forces post-commit hash recording into ephemeral docs.
  11. Planning-Time Worktree/Branch Creation: Planning must not create branches or worktrees; execution owns topology and transfer of the single authoritative task folder.

Minimal Examples

Request: "Create an implementation plan for event RSVP."
Output:
dev/active/event-rsvp/event-rsvp-plan.md
dev/active/event-rsvp/event-rsvp-context.md
dev/active/event-rsvp/event-rsvp-tasks.md
Planning sequence:
sync upstream (git checkout develop && git pull --ff-only) -> classify intents ->
load rules/skills/docs -> inspect related work and verify current code/tests/contracts ->
run I-VSD planning intake from the shared evidence packet -> grill-me unresolved branches ->
(if architectural fork: robin-neutral) -> design and write plan/context/tasks ->
revalidate I-VSD mappings -> cross-check
Ring 1 subtask verification (TUnit sliced in-memory, < 2s):
dotnet run --project <one-relevant-project>.csproj --no-build -- --treenode-filter "/*/*/*<TargetTestClass>/*"

Ring 2 phase-end verification & immediate phase close (< 15s, single selected provider):
dotnet build --configuration Release --verbosity quiet
dotnet test --project <one-relevant-project>.csproj --configuration Release --verbosity quiet
stage phase-owned paths and execute git commit using the planned declarative contract
verify clean git status and proceed to the next phase

Ring 3 plan exit gate (workstream boundary):
full multi-provider matrix, migrations, and architecture rules run once before PR creation
Progress cadence:
start/resume -> read tasks/plan once
subtasks completed -> batch checkbox updates at phase completion or logical milestone
phase verified -> execute planned commit contract
strategy changed -> update plan

OmO Prometheus Integration (Optional)

When working through Oh-My-OpenAgent (OpenCode plugin or Senpi), OmO's Prometheus agent can serve as an interactive intake interviewer for this skill's planning workflow:

  1. Switch to Prometheus in OmO (/agent prometheus or agent selector → Prometheus).
  2. Instruct Prometheus to follow the implementation-plan skill when interviewing and planning.
  3. Prometheus conducts the interview (clarifying scope, edge cases, architectural decisions), consults Metis (gap analysis) and Momus (plan review), and writes the resulting plan.
  4. Output target: Prometheus writes directly into dev/active/<task>/<task>-plan.md, dev/active/<task>/<task>-context.md, and dev/active/<task>/<task>-tasks.md — the standard ISLAMU Event plan artifacts.
  5. Authority: dev/active/<task>/ remains the single source of truth. OmO's .omo/plans/ is a runtime workspace that may hold OmO-internal state, but the authoritative plan lives in dev/active/<task>/.

This synergy combines Prometheus's structured interview capability (Metis gap analysis, Momus review) with the ISLAMU Event implementation-plan skill's domain-specific investigation workflow (I-VSD evaluation, /grill-me intake, Clean Architecture slicing, Test-First Invariant Sequencing).

Verification Hooks

  • git diff --check -- .agents/skills/implementation-plan
  • For prose-only skill changes, check metadata, links, and the shared readability criteria; do not run product tests.

Related Skills

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Load for Blazor/MudBlazor UI changes involving forms, dialogs, focus, keyboard navigation, landmarks, ARIA, color contrast, RTL-safe styling, or WCAG 2.2 AA tests; not for backend-only changes.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

Load when a task asks to research, verify, compare, or look up framework/package behavior, release notes, standards, RFCs, CVEs, or unfamiliar APIs; use repository evidence first, then official docs, and not for codebase navigation alone.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

aspire

無料

Load for Aspire AppHost work: start/stop/wait resources, inspect dashboard/logs/traces, add integrations/resources, rebuild a service, run isolated worktrees, or diagnose Aspire orchestration; not for plain dotnet apps, container-only deployments, or cloud deployment.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

Load for authentication or authorization changes involving BFF cookies/tokens, JWT validation, claims/user ID extraction, policies, handler access checks, impersonation, or 401/403 bugs; not for UI affordance gating alone.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

Load for Blazor BFF server work involving YARP proxy routes, cookie sessions, access-token forwarding/refresh, downstream API calls, BFF handlers, or browser-to-API auth failures; not for client component rendering or API JWT validation alone.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

Load when editing Blazor `.razor.css`, scoped selectors, `::deep`, BEM class names, RTL/logical CSS properties, or styling nested MudBlazor components; not for global design tokens or non-Blazor CSS.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

islamu-ngo のスキルをすべて見る

このスキルの問題を報告する