lenbok/qrspi

qrspi-design

QRSPI phase 3 — Design discussion — align on where we are going before planning how

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/lenbok/qrspi --skill qrspi-design

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Invoke with: thoughts/qrspi/<id>/

Design — Where Are We Going?

Create a ~200-line design document that captures the current state, desired end state, design decisions, and patterns to follow. This is the lowest-cost point for direction changes — get alignment here before investing in detailed planning.

Input

Read <path>/task.md, <path>/questions.md, and <path>/research.md.

Process

  1. Read all three artifacts fully. task.md tells you what we're building. research.md tells you what exists. Understand both before proceeding.
  1. Targeted exploration: If the research revealed areas that need deeper investigation for design decisions, spawn codebase-pattern-finder or codebase-analyzer agents to examine specific patterns or approaches.
  1. Present open questions and wait for answers. Before writing anything, you MUST:
  • List 3-5 design questions that require human judgment
  • Present options with trade-offs for each, grounded in what the research found
  • Wait for the user to respond

Example:

   Before I write the design document, I need your input:

   **Q1: Data model approach**
   The research shows two patterns in the codebase:
   - Option A: [pattern from research.md] — used in [file:line], simpler but less flexible
   - Option B: [pattern from research.md] — used in [file:line], more complex but extensible
   Which fits this use case?

   **Q2: ...**

Do NOT skip this step. Do NOT write the design document without user input.

  1. Write `design.md` (~200 lines) to the artifact directory:
markdown
   # Design Discussion

   ## Current State
   [What exists today, grounded in research findings with file:line refs]

   ## Desired End State
   [What we're building and how to verify it's correct]

   ## Patterns to Follow
   [Existing codebase patterns the implementation should match, with file:line refs.
   Flag any patterns the research found that should NOT be followed.]

   ## Design Decisions
   1. **[Decision name]**: [chosen option] — [why]
   2. **[Decision name]**: [chosen option] — [why]
   ...

   ## What We're NOT Doing
   [Explicit scope boundaries to prevent creep]

   ## Open Risks
   [Anything uncertain that might surface during implementation]
  1. Present the design to the user for review. Iterate until they approve.

Output

  • File written: <path>/design.md
  • Tell the user: "Next: invoke the qrspi-structure skill with <path>"

Rules

  • ~200 lines max. This is a steering document, not a specification.
  • Every pattern reference must cite file:line from the research.
  • You MUST ask questions and wait before writing. No exceptions.
  • "Patterns to Follow" is critical — call out both good and bad patterns found in the codebase.
  • "What We're NOT Doing" prevents scope creep downstream.

When to Go Back

If the research is missing critical information needed for design decisions — the questions missed an important area of the codebase — tell the user and suggest re-running the qrspi-question and qrspi-research skills to fill the gap before proceeding with an incomplete design.

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills