lenbok/qrspi

qrspi-question

QRSPI phase 1 — Decompose a task into neutral research questions

소스 보기

사용 방법

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

시작 전 확인

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

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

Invoke with: <ticket file, issue URL, or task description>

Question — Decompose the Task

Transform a task description into 3-7 specific, neutral research questions. These questions drive the next phase (Research) which runs in a separate context with no knowledge of what is being built.

Input

The user provides a task description, ticket file path, or issue reference.

Process

  1. Read any provided files fully before doing anything else.
  1. Light codebase exploration: Spawn a codebase-locator agent to find which areas of the codebase relate to the task. You need to know what exists to write good questions.
  1. Decompose into 3-7 research questions:
  • Each question should cause a researcher to explore a different relevant area of the codebase
  • Questions must be neutral — they ask what exists and how it works, never how to build something
  • Prefer "trace the flow" questions that reveal architecture over yes/no questions

Good: "How does the middleware chain handle request authentication, and where are auth policies defined?" Bad: "What's the best way to add a new authenticated endpoint?"

Good: "What patterns exist for database migrations, and how are they tested?" Bad: "How should we add a new migration for the users table?"

  1. Determine the artifact directory:
  • With ticket number: thoughts/qrspi/PROJ-1234-brief-description/ (use the project's ticket prefix)
  • Without ticket: thoughts/qrspi/YYYY-MM-DD-brief-description/
  1. Create the artifact directory (relative to the working directory) if it doesn't exist (e.g., mkdir -p thoughts/qrspi/<id>/).
  1. Write `task.md` — a clean 2-3 sentence description of what's being built and why. This file persists the task context for later phases so the user doesn't have to re-explain it.
  1. Write `questions.md` to the artifact directory:
markdown
   # Research Questions

   ## Context
   [2-3 sentences describing which areas of the codebase to focus on.
   Do NOT mention what is being built or why.]

   ## Questions
   1. [Neutral, fact-seeking question]
   2. [Neutral, fact-seeking question]
   ...
  1. Present questions to the user and wait for approval or edits before finalizing.

Output

  • Directory created: thoughts/qrspi/<id>/
  • Files written: thoughts/qrspi/<id>/task.md and thoughts/qrspi/<id>/questions.md
  • Tell the user: "Next: invoke the qrspi-research skill with thoughts/qrspi/<id>/"

Rules

  • questions.md must NOT contain the task description, goals, or desired behavior
  • task.md is a brief, honest description of the goal — it will be read by later phases but NOT by Research
  • The researcher who reads these questions should have no idea what feature is being built
  • Each question should target a different area or concern
  • If the task is too simple for 3 questions, tell the user — QRSPI is for complex tasks

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills