AgentSkillsCN

gather-technical-context

当您需要在规划实施之前,从代码库与愿景文档中提炼出技术背景信息时,此技能将助您精准识别各环节的触点、约束条件与潜在风险。

SKILL.md
--- frontmatter
name: gather-technical-context
description: Use when extracting technical context from codebase + vision docs before planning implementation. Identifies touchpoints, constraints, risks.

Gather Technical Context

Extract actionable technical context from tech vision docs, product PRD, and codebase. Do NOT write implementation code.

Inputs

  • Tech vision docs ({ide-folder}/{outputFolder}/tech/vision/...)
  • Product PRD ({ide-folder}/{outputFolder}/product/prd/{epicNumber}-EPIC-{epicName}/US-{usName}-{usNumber}.md)
  • Codebase (when available)

Output

{ide-folder}/{outputFolder}/task/{epicNumber}-EPIC-{epicName}/US-{usName}-{usNumber}/technical-context.md

Required Structure

Front matter

yaml
Epic ID: EPIC-{epicNumber}
User Story ID: US-{usNumber}
Document: Technical Context
Status: Draft | Ready
Owner: AI Architect (Context)
Last Updated: (ISO timestamp)
Inputs: (list exact paths consumed)

Sections

#SectionContent
1Summary of product intentBullet summary referencing AC-*
2Relevant tech-vision constraintsList with refs to vision doc path + heading
3Codebase touchpointsPackages/modules/files impacted, patterns to follow, "do not touch" areas
4Domain & data implicationsMulti-tenancy, PII/secrets, GDPR lifecycle
5Non-functional expectationsObservability, performance
6Risks & mitigationsSecurity (OWASP), DX (tests, complexity), Operational (deploy/rollback)
7AssumptionsExplicit assumptions plan will rely on
8Open questionsOnly blockers, keep concise
9Notes for Technical PlanGuidance about pitfalls and focus areas
10SourcesExternal references (if used)

Guardrails

  • Be conservative: if info missing, list assumptions + open questions
  • Do not propose full solutions—just context and constraints
  • Keep implementation-adjacent, not pseudo-code
  • Run /sync-issue after writing