用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/pactkit/claude-code-plugin --skill pactkit-trace命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | pactkit-trace |
| description | Deep code tracing and execution flow analysis |
| model | sonnet |
Start every callers, callees, chain, explore or impact trace with pactkit query ... --json --explain. When graph_provider: codegraph is configured, Codegraph is mandatory and failures are closed by default. Never select Mermaid or grep yourself; only use --allow-fallback when the caller explicitly authorizes degradation, and retain the provider decision as evidence. A healthy empty result is valid_empty, not a fallback signal.
Deep code analysis and execution path tracing via static analysis.
pactkit query --explore <target> --json --explain to locate entry points.pactkit query --chain <function_name> --json --explain to obtain call chains.dict -> UserObj -> JSON).| Module Role | Output Level | How |
|---|---|---|
| Target (to be modified) | Full implementation | Read <file> |
| Related (dependency, not modified) | Interface summary | pactkit interface-summary <file> |
For related (non-target) modules, run pactkit interface-summary <file> instead of reading full source. This CLI command uses AST parsing to output only signatures + types + docstrings — function bodies are excluded by code, not by prompt instruction.
If pactkit is not on $PATH, use python3 -m pactkit interface-summary <file>.
Output a Mermaid Sequence Diagram to visualize the flow.
If detect_topology(root) returns topologies beyond PDCA/Service:
Frontend API Topology (if api_call detected):
api_convention_summary(root) to get path prefixes, fetch function names, total call count./api/v1/) and fetch wrapper (e.g., apiFetch).[dynamic] markers) that may need special handling.Agent Topology (if agent detected):
StateGraph (stdlib ast), YAML agent definitions, MCP server configs.orchestrates edges in the report.