research
Investigate a specific codebase or external question selected by a MyFlow workstream, record evidence in the workstream, and return to Scope, Design, or Plan with a recommendation.
- License 许可
- MIT
- 所属仓库
- don-smith/myflow
- 最近更新
- 2026-10-23
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- research
- description
- Investigate a specific codebase or external question selected by a MyFlow workstream, record evidence in the workstream, and return to Scope, Design, or Plan with a recommendation.
- argument-hint
- [alignment/design artifact path] [research question]
02 资源文件 1
- 参考文档templates/research.md1.6 KB
03 SKILL.md 正文
Research
Research is an optional specialist, not a mandatory workflow stage. Use it when Scope, Design, or Plan has a specific unanswered question whose answer changes risk, a decision, or the implementation/verification approach.
Input and setup
- Run
node ../myflow/scripts/resolve-repository-map.mjs discover --cwd <git-root>from this skill folder, read its selected map when found, then readworkstream.mdand the supplied upstream artifact fully. - Extract the workstream ID, research question, and decision it informs. Ask for a focused question if the input does not state one.
- Resolve the workstream root: the map when it names one, otherwise the
workstreamsdirectory the artifact-store resolver reports asworkstreamRoot. - Follow the repository's mapped instruction, secret-handling, and telemetry policy. Do not send sensitive source, credentials, or repository identifiers to external tools without approval.
Investigation
- Prefer primary sources: applicable repository code/configuration, official documentation, specifications, first-party APIs, and authoritative operational material.
- Investigate only what answers the stated question. Do not turn a targeted question into a broad codebase audit.
- Use targeted read-only exploration and research tools when they improve evidence quality, following
../myflow/references/capabilities.md; verify important claims against the primary source. - Distinguish confirmed facts, inferences, and unresolved gaps.
Output and return
-
Read
templates/research.mdrelative to this skill. -
Write the evidence-led artifact to:
<workstream-root>/<workstream-id>/research/<timestamp>_<topic>.md -
Update
workstream.mdwith the research artifact and the recommended return:- Return to Scope when findings change intent, acceptance criteria, non-goals, risk, or workflow depth.
- Continue to Design when the question supports a structural decision.
- Continue to Plan when the evidence confirms the lightweight or settled design path.
-
Present the artifact path, confidence/gaps, and exact next command. Do not silently advance past a changed Scope decision.
Guardrails
- Do not choose a product direction that belongs to the developer; present evidence and trade-offs.
- Do not claim complete architectural understanding from targeted research.
- Do not create a competing plan or design artifact.
- Do not assume a generic notes directory; use the workstream path or the repository-map override.
04 同仓库更多 Skills
clean-support
Use when the clean-stage fixture skill needs a supporting skill to reference.
clean-stage
Use when exercising the structural skill lint against a tree that satisfies every rule.
verify
Use after Implement to verify an accepted MyFlow plan, collect review evidence, and produce a workstream-aware Verify report.
technical-writing
Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.
tdd
Use during design and planning to shape testable interfaces, seams, and verification strategy; use during implementation when a plan needs a test-first behavior cycle
story
Tell a repository's artifact-backed story, answer a question with a dated chapter, or refresh stale story pages.