skills/design/design-consult/SKILL.md
Consults current design and architecture to place new code correctly within existing components, interfaces, and data flows. Use after architecture-consult, before implementation-construction; ensures single responsibility and correct layering.
npx skillsauth add pkuppens/pkuppens design-consultInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Maps where new code fits within existing components, interfaces, and data flows. Focuses on detailed placement — files, classes, method signatures — rather than high-level modules.
## Design Consult: [Feature/Component]
### Existing components consulted
- `path/to/file.py` — `ClassName` — [what it does]
### Interfaces / abstractions to implement
- `BaseX` in `path/to/base.py` — methods: `method_a(...)`, `method_b(...)`
### Extension point
- Register in `factory.py::create_x()` by adding a branch for `"new-type"`
### New file / class design
**File:** `module/path/new_thing.py`
**Class:** `NewThing(BaseX)`
**Public methods:**
- `method_a(param: Type) -> ReturnType`
### Naming conventions applied
- [Convention from existing code]
When documenting user journeys (UX perspective: clicks, screens, interactions), create docs/architecture/04-user-flows.md. Document: user goal; step-by-step journey; screens/routes; frontend components; validation; error states; link to architecture-runtime for technical flows. User flow = what user sees/does; runtime flow = technical execution path.
testing
Syncs remote default branch locally (checkout, fetch --prune, pull) and returns to the previous branch when it still exists. Reports stashes and worktrees not yet handled. Use when the user asks to sync main, update default branch, fetch/pull origin, or run /sync-branch.
tools
Creates, queries, updates, and links Azure Boards work items via az boards CLI. Use when filing ADO work items, running WIQL queries, or setting area path, iteration, tags, and assignee.
tools
Creates, reviews, and completes Azure Repos pull requests and branch policies via az repos CLI. Use when opening ADO PRs, setting required reviewers, or configuring build validation policies.
development
Guides Azure Pipelines YAML structure, build validation on PRs, and staged deployment with environments and approvals. Use when authoring azure-pipelines.yml or configuring CI/CD on Azure DevOps.