Use when documenting architecture changes for a specific feature, assessing impact, or identifying what needs to be modified. Also triggers on 'design delta', 'what changes', 'architecture changes for feature', 'what do we need to modify', or 'impact analysis'.
From pmnpx claudepluginhub etusdigital/etus-plugins --plugin pmThis skill uses the workspace's default tool permissions.
knowledge/template.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides implementation of event-driven hooks in Claude Code plugins using prompt-based validation and bash commands for PreToolUse, Stop, and session events.
Reference: .claude/skills/orchestrator/dependency-graph.yaml
BLOCKS (required — must exist):
docs/ets/projects/{project-slug}/features/{feature-slug}/feature-brief.md — The design delta documents changes for a specific feature. Without the feature brief, there is no scope to assess impact against.docs/ets/projects/{project-slug}/features/{feature-slug}/solution-discovery.md — The chosen solution direction and remaining risks explain why these changes exist.docs/ets/projects/{project-slug}/features/{feature-slug}/feature-status.md — Canonical feature state for slug, tracking mode, next step, and linked docs.ENRICHES (improves output — use if available):
docs/ets/projects/{project-slug}/architecture/architecture-diagram.md — Existing architecture helps identify exactly what components are affected.docs/ets/projects/{project-slug}/architecture/tech-spec.md — Existing NFRs and ADRs help assess whether changes violate constraints.docs/ets/projects/{project-slug}/data/database-spec.md — Existing schema helps define migration changes precisely.docs/ets/projects/{project-slug}/implementation/api-spec.md — Existing API endpoints help identify modifications vs. new endpoints.Resolution protocol:
features/{feature-slug}/feature-brief.md exist?feature-brief skill → wait → continueUse full version when:
Use short version when:
Why this matters: The design delta is the bridge between feature scope (feature-brief) and implementation (impl-plan). Developers need this file to understand what to change and what to leave alone.
mkdir -p if neededdocs/ets/projects/{project-slug}/features/{feature-slug}/design-delta.mdIf the Write fails: Report the error to the user and do not proceed to the next skill.
This skill follows the ETUS interaction standard. Your role is a thinking partner, not an interviewer — suggest alternatives, challenge assumptions, and explore what-ifs instead of only extracting information.
One question per message — Ask one question, wait for the answer, then ask the next. Design deltas involve technical decisions that benefit from focused discussion. Use the AskUserQuestion tool when available for structured choices.
3-4 suggestions for choices — When the user needs to choose a direction (e.g., migration strategy, API versioning approach), present 3-4 concrete options with tradeoffs. Highlight your recommendation.
Propose approaches before generating — Before generating any change section, propose the approach. For example: "For the database changes, I see two approaches: (A) add columns to existing table, (B) create a new table with a foreign key. I recommend A because..."
Present output section-by-section — Present each change section (API, DB, UI, Infra) individually. Ask "Does this capture all the changes? Anything missing?" and only proceed after approval. Skip sections with no changes — ask first: "Does this feature require [API/DB/UI/Infra] changes?"
Track outstanding questions — If a technical decision cannot be made now:
Multiple handoff options — At completion, present 3-4 next steps as options (see CLOSING SUMMARY).
Resume existing work — Before starting, check if the target artifact already exists at the expected path. If it does, ask the user: "I found an existing design-delta at [path]. Should I continue from where it left off, or start fresh?" If resuming, read the document, summarize the current state, and continue from outstanding gaps.
This skill reads and writes persistent memory to maintain context across sessions.
On start (before any interaction):
docs/ets/.memory/project-state.md — know where the project isdocs/ets/.memory/decisions.md — don't re-question closed decisionsdocs/ets/.memory/preferences.md — apply user/team preferences silentlydocs/ets/.memory/patterns.md — apply discovered patternsOn finish (after saving artifact, before CLOSING SUMMARY):
project-state.md is updated automatically by the PostToolUse hook — do NOT edit it manually.python3 .claude/hooks/memory-write.py decision "<decision>" "<rationale>" "<this-skill-name>" "<phase>" "<tag1,tag2>"python3 .claude/hooks/memory-write.py preference "<preference>" "<this-skill-name>" "<category>"python3 .claude/hooks/memory-write.py pattern "<pattern>" "<this-skill-name>" "<applies_to>"The .memory/*.md files are read-only views generated automatically from memory.db. Never edit them directly.
Document ONLY what changes in the architecture for a specific feature — not a full architecture review. This is the Feature mode equivalent of running architecture-diagram + tech-spec + data-* + api-spec in Product mode, but focused exclusively on the delta: what is new, what is modified, what is removed.
The design delta answers three questions:
Load context in this order of priority:
docs/ets/projects/{project-slug}/features/{feature-slug}/feature-status.md first.[feature-brief path], read that file directly.docs/ets/projects/{project-slug}/features/{feature-slug}/feature-brief.md.docs/ets/projects/{project-slug}/features/{feature-slug}/solution-discovery.md.For each change category, follow this process:
Before diving into details, ask the user which areas this feature affects:
"Based on the feature brief, I think this feature affects: [list]. Does this feature also require changes to any of these areas?
- API (new or modified endpoints)
- Database (new tables, columns, indexes)
- UI (new screens or modified flows)
- Infrastructure (new services, config, env vars)
I'll skip any sections with no changes."
For each applicable section, follow the same pattern:
After all change sections are approved, assess the overall migration:
The generated docs/ets/projects/{project-slug}/features/{feature-slug}/design-delta.md follows the template in knowledge/template.md.
knowledge/template.md for the design-delta document template and standard structure.Before marking this document as COMPLETE:
If any check fails → mark document as DRAFT with <!-- STATUS: DRAFT --> at top.
After saving and validating, display the summary and offer multiple next steps:
design-delta.md saved to `docs/ets/projects/{project-slug}/features/{feature-slug}/design-delta.md`
Status: [COMPLETE | DRAFT]
Changes documented: [list affected areas, e.g., API (2 new endpoints), DB (1 new table, 1 modified table), UI (1 new screen)]
What would you like to do next?
1. Create Implementation Plan (Recommended) — Break this into tasks with estimates
2. Go straight to implementation — Use /ce:work to start building
3. Refine this design delta — Review and adjust specific sections
4. Pause for now — Save and return later
Wait for the user's choice before proceeding. Do not auto-advance to the next skill.
docs/ets/projects/{project-slug}/features/{feature-slug}/ — create if missingdocs/ets/projects/{project-slug}/features/{feature-slug}/design-delta.md using the Write tooldocs/ets/projects/{project-slug}/features/{feature-slug}/design-delta.md) + paths to upstream documents (docs/ets/projects/{project-slug}/features/{feature-slug}/feature-brief.md, docs/ets/projects/{project-slug}/features/{feature-slug}/solution-discovery.md)"Document saved to
docs/ets/projects/{project-slug}/features/{feature-slug}/design-delta.md. The spec reviewer approved it. Please review and let me know if you want any changes before we proceed." Wait for the user's response. If they request changes, make them and re-run the spec review. Only proceed to validation after user approval.
| Error | Severity | Recovery | Fallback |
|---|---|---|---|
| BLOCKS dep missing (feature-brief) | Critical | Offer to create feature brief first | Block execution until feature brief exists |
| No ENRICHES docs (no existing architecture) | Medium | Ask user to describe current architecture verbally | Proceed with feature-brief-only context |
| No changes needed in any section | Low | Confirm with user — if truly no changes, document "No architectural changes required" | Write minimal delta doc |
| Output validation fails | High | Mark as DRAFT, flag gaps | Proceed with DRAFT status |
| Slug mismatch with feature brief | Medium | Ask user to confirm the correct slug | Use feature brief slug |
This skill supports iterative quality improvement when invoked by the orchestrator or user.
| Condition | Action | Document Status |
|---|---|---|
| Completeness >= 90% | Exit loop | COMPLETE |
| Improvement < 5% between iterations | Exit loop (diminishing returns) | DRAFT + notes |
| Max 3 iterations reached | Exit loop | DRAFT + iteration log |