AGENT SKILL

analyze-project

Use when the user asks to analyze existing code, a paper, or a document and no usable persistent analysis exists, or to refresh stale analysis; default initial analysis to persistent output. Owns analysis; default preset. Not for conversational, read-only, or no-file analysis; orientation, context recovery, status, experiments, external research, source changes, or completed-work audits.

License 许可
MIT
所属仓库
dmlguq456/hearting
最近更新
2026-11-12
Stars
★ 9
Forks
2

01 前言 Front Matter

metadata
{ "fam": "pre", "blurb": "Creates persistent analysis of existing code, papers, or documents; initial analysis defaults here unless read-only/no-file or another primary applies.", "group": "pre", "modes": [ "code", "paper", "doc" ], "not_for": "Not for conversational, read-only, or no-file analysis; orientation, context recovery, status, experiments, external research, source changes, or completed-work audits.", "use_when": "Use when the user asks to analyze existing code, a paper, or a document and no usable persistent analysis exists, or to refresh stale analysis; default initial analysis to persistent output. Owns analysis; default preset.", "invocation_class": "entry-router" }
description
Use when the user asks to analyze existing code, a paper, or a document and no usable persistent analysis exists, or to refresh stale analysis; default initial analysis to persistent output. Owns analysis; default preset. Not for conversational, read-only, or no-file analysis; orientation, context recovery, status, experiments, external research, source changes, or completed-work audits.
argument-hint
[--mode code|paper|doc] [<scope/target/input-folder>] [--skip-qa]
disable-model-invocation
true

03 SKILL.md 正文

analyze-project

This is a compact pre-approval entry router. Its manifest-owned frontmatter is the authoritative discovery metadata; it intentionally contains no execution procedure.

Pre-approval boundary

Use only this router, harness-manifest.json, and core/WORKFLOW.md §0.2 to propose a route. Present the one-time confirmation in core/WORKFLOW.md §0.4 unless the same route and scope are already approved. Do not load references before approval.

Post-approval owner contract

Main session only: after approval, read capabilities/analyze-project.md. Registered owners read only capabilities/analyze-project/references/owner-execution.md; stage workers read only their assigned contracts. The other entry-router steps apply to the main session. A registered owner uses only its Route steps and the latest receipt for runtime commands.

Reference Index

After approval, read the portable procedure set:

Shared Procedure References

Read the complete portable procedure files listed here when they apply; this logical read-set is shared across Claude, Codex, and OpenCode.

  • capabilities/analyze-project/references/mode-code.md
  • capabilities/analyze-project/references/mode-doc.md
  • capabilities/analyze-project/references/mode-paper.md
  • capabilities/analyze-project/references/outputs-and-integration.md
  • capabilities/analyze-project/references/owner-execution.md

Guard pointer

Follow the portable artifact, worktree, role, and verification guards in the selected owner contract. Before the first durable capability artifact, compile and bind the checked route even for direct intensity; direct is a compiled inline node, not route absence. A restriction on native subagents/agents is surface-local and never selects direct execution. Runtime projections must report unsupported mechanics and must not claim physical instruction masking, token, billing, or cost savings without verified evidence.

04 同仓库更多 Skills