skills/architect/SKILL.md
Idea to implementation-ready plan: requirements, design, tasks, optional compile to issue files. Research on demand for repo context. Phase rules live in ./references/.
npx skillsauth add olamedia/analytics-skills architectInstall 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.
CRITICAL: MUST NOT advance to the next phase or step without explicit user permission. Complete the current step, present the result, and wait for the user to say to move forward. Never batch multiple steps in one turn. Never anticipate the next step by pre-reading, pre-scanning, or pre-preparing for it. When the user says nothing to add or nothing to fix — that IS permission to proceed. Do not ask again.
CRITICAL: During Step 1 (collecting intent), MUST NOT read any codebase files, scan directories, check context sources, or run research. The ONLY action allowed is writing the Intent block into requirements.md from the user's words. Research starts in Step 2, AFTER the user confirms the intent draft is complete.
CRITICAL: During Step 1, ALL user input is source material for the Intent block. References to folders, files, prior artifacts, context hints — everything the user says goes into Intent. Record it, update requirements.md, and ask if there is more. Do not act on references until research starts.
CRITICAL: Each phase and step has its own purpose and scope. Do NOT mix them. Intent collects the user's words — no analysis, no conclusions. Research collects codebase facts into context-map.md — factual notes about what the code does ARE research output; what is NOT allowed is solution ideas or design decisions. Stories extract from intent and map — no design. Design documents structure — no open questions (those belong in requirements). Tasks break down design — no redesign. Stay in scope.
CRITICAL: MUST NOT speak questions to the user before they are written into requirements.md. Write first, present after. No exceptions. Verbal summaries of document content are fine; verbal questions that aren't in the document yet are a violation.
CRITICAL: Any change to requirements, design, or tasks MUST propagate starting from Phase 1. If something needs changing mid-pipeline, go back to requirements.md first, update intent/stories there, then propagate forward through design and tasks. Never patch a downstream artifact without updating upstream first.
Turn a raw idea into planning artifacts: context-map.md, requirements.md, design.md, tasks.md, and optionally compiled issues or testing notes. Research is not its own phase — refresh context-map.md whenever research runs. Everything through Phase 3 is read-only on the product codebase.
Phase detail sits in references/ (phase-1-requirements.md through phase-4-compile.md, plus research.md, formats.md, context-sources.md, issues-as-intent.md, human-techtalk.md, testing-notes.md).
Skip when: obvious single-file fix, only one phase applies, or upstream artifacts already exist and you resume from the right phase.
docs/plans/...) and create itAn artifact folder containing:
context-map.md — living document, updated throughoutrequirements.mddesign.mdtasks.mdtasks/task-N.md — optional, from Phase 4testing-notes.md — optional, from Phase 4Phase 1: Requirements + Research → Phase 2: Design → Phase 3: Tasks → Phase 4 (optional)
↑__________________________________|__________________|
(return to Phase 1 if gap found)
All research and open questions MUST be settled in Phase 1. Phases 2–4 consume context-map.md and requirements.md only. If a gap is found at any later phase, return to Phase 1, resolve it there, then resume.
See phase-1-requirements.md.
context-map.md[to-ask] items, research when codebase can answer, loop until no open questions remainrequirements.mdGate: confirm, then ask whether to continue to design. Use structured questions.
See phase-2-design.md.
requirements.md and context-map.mddesign.mdGate: confirm, then ask whether to continue to tasks. Use structured questions.
See phase-3-tasks.md.
tasks.mdGate: confirm, then ask whether to continue to Phase 4 (compiled issues, testing notes, or both). Use structured questions.
Two independent outputs — either or both may run.
tasks/task-N.md) — self-contained scope, checklist, acceptance criteria, do-not-touch items, rare notes. See phase-4-compile.md.testing-notes.md or appended to compiled tasks) — scenarios derived from user-story acceptance criteria. See testing-notes.md.Research belongs to Phase 1. Full process in research.md.
context-map.mdcontext-map.md, it must be discovered in Phase 1 before you rely on itAfter every research run, update context-map.md before other artifacts.
Across all phases:
design.md must not contain uncertain language (may/might/could/should/perhaps/TBD/to be confirmed/needs investigation/depending on) or research instructions (need to check/look into/verify later). If you cannot write a definitive statement, the gap belongs in requirements.md as a [to-ask] question — resolve it in Phase 1 before writing it into the design.
Self-check: After writing design.md, re-read the entire file and search for: may, might, could, should, perhaps, if, either/or, investigate, verify, check, ask, TBD, need to, depends on, possibly. Every hit is a flag — move it to requirements.md as a [to-ask] question, step back to Phase 1, research or ask, then mark [resolved] with the answer. Return to design only after all new questions are resolved.
When a requirement changes at any phase:
Never edit docs one at a time without confirming the full set of changes.
Confirm between phases. If the user revises an earlier phase, propose downstream updates in one batch after they agree, then continue. Stopping early is fine — resume from the right phase.
Refuse: tasks without written requirements, skipped gates, or "I know the repo" instead of an updated map. Do not skip the first research pass.
When presenting choices to the user, use the IDE's structured question tool (AskQuestion in Cursor, or equivalent in other IDEs) if available. Applies to:
Always include an open-ended escape option. Multi-select when the question genuinely allows it. Fall back to conversational text only if no structured question tool is available in the IDE.
context-map.mdcontext-map.md matches researchrequirements.md holds intent in user's words, stories, and questions logdesign.md covers structure, flow, graph, and decisions — no uncertain languagetasks.md has ordered tasks with acceptance criteria, grouping pass doneWrite like a clear human explaining to another practitioner. Apply human-techtalk.md rules to prose sentences (explanations, answers, status updates, headings) — never to artifact structure, templates, or formats. Keep RFC-style MUST / SHOULD / MUST NOT / MAY / CAN when obligation or permission must stay exact.
testing
Rebase current feature branch onto master (or configured base) with automated conflict resolution. Handles pre-checks, conflict classification, and post-rebase verification. Use when the user asks to rebase, update a branch, sync with master, or resolve rebase conflicts.
development
FE feature analysis from raw idea (or YouTrack ticket) through to a split-aware developer briefs. Produces context-map.md, requirements.md, task-brief-{side}.md. Generic — project knowledge is auto-discovered.
testing
Concise technical communication that stays readable and honest. Cuts fluff about fifty to seventy percent while keeping natural flow, uncertainty markers, and human tone. Levels lite (default), mid, tight. Short SKILL body; rules below are complete.
documentation
Strip LLM tells from text so it reads human. Triggers: humanize, sounds like AI, too robotic, natural rewrite, AI slop, or obvious LLM patterns. Reference: https://en.wikipedia.org/wiki/WP:Signs_of_AI_writing