review-huabu-agent
Review the Huabu operate agent's three steering artifacts at their fixed repo locations — system prompt, tool descriptions, and skills. USE WHEN reviewing, auditing, or polishing the operate (or ask/intent/sketch) agent prompt, the agent tool definitions, or the canvas/memory skills; before shipping changes to AGENT.md, tool definitions.ts, or a skill. Thin Huabu-specific wrapper: it only locates the artifacts; all scoring rules come from review-agent-primitives.
- License 许可
- MIT
- 所属仓库
- microsoft/Huabu
- 最近更新
- 2026-11-14
- Stars
- ★ 183
- Forks
- 26
01 前言 Front Matter
- name
- review-huabu-agent
- description
- Review the Huabu operate agent's three steering artifacts at their fixed repo locations — system prompt, tool descriptions, and skills. USE WHEN reviewing, auditing, or polishing the operate (or ask/intent/sketch) agent prompt, the agent tool definitions, or the canvas/memory skills; before shipping changes to AGENT.md, tool definitions.ts, or a skill. Thin Huabu-specific wrapper: it only locates the artifacts; all scoring rules come from review-agent-primitives.
03 SKILL.md 正文
Review Huabu Agent
Huabu-specific entry point for reviewing this repo's agent primitives. It adds only the artifact locations. Every rubric, the scoring model, the output format, and the placement decision table live in the general skill — do not duplicate them here.
Rules & rubric: review-agent-primitives plus its references: tool-description · agent-prompt · skill-quality.
Artifact locations
| Artifact | Path | Rubric to apply |
|---|---|---|
| System prompt | apps/server/src/prompt/agents/operate/AGENT.md (same structure for ask/, intent/, sketch/) |
agent-prompt |
| Tool descriptions | apps/server/src/modules/agent/tools/definitions.ts plus the canonical canvas command/query Zod schemas in packages/shared/src/types/api/space-operations.ts — their description strings are load-bearing text the model reads at call time, so review them together, not separately |
tool-description |
| Skills | apps/server/src/prompt/skills/ — canvas/ (its SKILL.md and every file under canvas/references/), memory/, sketch-gestures/, create-skill/, update-skill/ |
skill-quality |
How to review
- Read the general rubric first (link above), then read the artifact(s) being reviewed at the paths above.
- Default to a combined review of all three so cross-artifact and placement issues surface; do a single-artifact pass only if the user scopes it that way.
- Score with the shared foundation + the matching reference rubric; run Placement mode whenever content looks misplaced.
- Report using review-agent-primitives' output format (verdict → findings table → prioritized fixes → optional rewrite).
Huabu cross-artifact checks
When reviewing more than one artifact together, pay special attention to:
- Tool descriptions in
definitions.tsmust not contradict the tool guidance inAGENT.md. - Multi-step canvas procedures belong in
prompt/skills/, not restated insideAGENT.md. - Tools referenced by
AGENT.mdmust exist and be scoped indefinitions.ts(no dangling references). - Skill
name/descriptionunderprompt/skills/must not collide, and each must carry clear "use when / don't use when" triggers. - Same-fact fan-out (lockstep-sync smell). One rule about the canvas often lives in many same-type files at once — a
definitions.tstool desc and itsschemas/*.tsfield description, or aSKILL.mdand its ownreferences/*.md, or two sibling skills (canvas/vssketch-gestures/). The cross-artifact-type checks above will not catch this because both copies are the same type. When you find one, trace every other file that states the same fact (grep the distinctive phrase), verify they don't drift or contradict after a change, and flag it as aWarn: converge to one canonical owner with a full statement + pointers, unless the copies genuinely diverge by audience/path (e.g. the chat "omitid" vs sketch "set explicitid" split) — in which case keep them but note that they must change in lockstep.
04 同仓库更多 Skills
paper-scout-setup
Install a Paper Scout into a blank Huabu Space. Use when asked to set up a research-idea and related-work discovery Space. Do not use to run a literature search, review one paper, or overwrite an existing Space.
paper-reviewer-setup
Install a Paper Reviewer into a blank Huabu Space. Use when asked to set up a paper-reading and bilingual review Space. Do not use to review a paper, search for literature, or overwrite an existing Space.
issue-tracker-setup
Install an Issue Tracker into a blank Huabu Space from this cloned Kit, or validate its configuration table and create the Coordinator. Use when asked to initialize or finish configuring an Issue Tracker Space. Do not use to investigate or fix repository issues, run the installed Coordinator, or overwrite a non-empty Space.
hackmd
暂无简介
web-search
暂无简介
image-gen
暂无简介