From quickspec
内部步骤(Task 3),由 quickspec 编排器调用,不从用户直接触发。 将 PRD 需求映射到代码库,识别技术栈、相关模块、编码约定和扩展点。
How this skill is triggered — by the user, by Claude, or both
Slash command
/quickspec:codebase-mapperThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
系统化地将 PRD 需求映射到现有代码库,建立编码 Agent 所需的实现上下文。
系统化地将 PRD 需求映射到现有代码库,建立编码 Agent 所需的实现上下文。
$ARGUMENTS/prd-analysis.md(由 prd-analyzer 产出)$ARGUMENTS/codebase-mapping.md使用 Read 工具读取 $ARGUMENTS/prd-analysis.md,获取 PRD 分析结果。从中提取功能关键词和实体名称,用于后续代码库搜索。
确定项目的技术和架构:
package.json、pyproject.toml、go.mod、pom.xml、Cargo.toml 等了解代码库的组织方式:
src/、lib/、app/、pkg/ 等对每个 PRD 功能,定位现有相关代码:
对找到的每个相关文件,记录:
提取新实现必须遵循的编码模式:
详细分析模式和示例,参考:
${CLAUDE_PLUGIN_ROOT}/skills/codebase-mapper/references/analysis-patterns.md — 常见项目类型的详细模式识别新功能如何与现有代码连接:
精确确定新代码应该添加在哪里:
使用 ${CLAUDE_PLUGIN_ROOT}/skills/codebase-mapper/references/output-template.md 作为结构模板,将上下文分析结果写入 $ARGUMENTS/codebase-mapping.md:
读取 ${CLAUDE_PLUGIN_ROOT}/skills/codebase-mapper/references/quality-gate.md,逐项核对产出物 $ARGUMENTS/codebase-mapping.md 是否满足所有验收标准。如有未通过的项,使用 Edit 工具修复产出文件后重新核对。最多重试 2 次,仍未通过则将未通过项记入返回状态的 issues 中。
完成所有工作后,输出以下格式的状态信息(不要包含其他内容):
[STATUS: success | partial | failed]
[OUTPUT: codebase-mapping.md]
[WARNINGS: 警告列表,没有则为 none]
[ISSUES: 阻塞问题列表,没有则为 none]
[SUMMARY: 一句话摘要]
npx claudepluginhub unfallenwill/quickspecProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.