observe

GitHub

用于审查 Agent 近期会话是否遵循规则,读取本地钩子事件报告页面编辑、停止钩子及未关闭发现项等合规情况。

.claude/skills/observe/SKILL.md plugin87/ux-ui-agent-skills

触发场景

检查 Agent 是否遵循规则 查看会话违规记录 审计钩子事件

安装

npx skills add plugin87/ux-ui-agent-skills --skill observe -g -y
更多选项

非标准路径

npx skills add https://github.com/plugin87/ux-ui-agent-skills/tree/main/.claude/skills/observe -g -y

不安装直接使用

npx skills use plugin87/ux-ui-agent-skills@observe

指定 Agent (Claude Code)

npx skills add plugin87/ux-ui-agent-skills --skill observe -a claude-code -g -y

安装 repo 全部 skill

npx skills add plugin87/ux-ui-agent-skills --all -g -y

预览 repo 内 skill

npx skills add plugin87/ux-ui-agent-skills --list

SKILL.md

Frontmatter
{
    "name": "observe",
    "description": "Show whether the agent followed the kit's rules in recent sessions: pages edited and measured, Stop hook blocks, findings left open. Reads local hook events only.",
    "disable-model-invocation": true
}

Step 0 - is the kit here? Check once: ls ${CLAUDE_SKILL_DIR}/../../../scripts/observe.mjs >/dev/null 2>&1 && echo KIT_OK || echo KIT_MISSING On KIT_MISSING only the skill folders were installed. Say so, point the user at the plugin install or npx ux-ui-agent-skills init, and stop.

Report what the hooks recorded - never a reconstruction from memory.

  1. Run node ${CLAUDE_SKILL_DIR}/../../../scripts/observe.mjs --project "$CLAUDE_PROJECT_DIR" (or without --project when the user asks about every project, and with --days N when they name a window).
  2. Quote the summary lines it prints. If it says no session edited UI, say that and stop: there is nothing to judge.
  3. For each session marked BROKE A RULE, run it again with --session <id> and say which rule failed and the timeline line that shows it.
  4. If the user wants the page, run it with --html <path> and give the path.

What it measures, and what it does not: three counted rules per session - every edited page had a passing gate before the end, no fast-gate finding was left on a file's latest version, and the agent never finished while the Stop hook still had pages open. It says nothing about design quality, and an unfinished session is not counted for or against.

版本历史

  • def84a7 当前 2026-11-03 02:21

同 Skill 集合

.claude/skills/a11y-audit/SKILL.md
.claude/skills/apply-aesthetic/SKILL.md
.claude/skills/brandkit/SKILL.md
.claude/skills/critique/SKILL.md
.claude/skills/design-code/SKILL.md
.claude/skills/design-component/SKILL.md
.claude/skills/design-doctrine/SKILL.md
.claude/skills/design-qa/SKILL.md
.claude/skills/design-review/SKILL.md
.claude/skills/design-tokens/SKILL.md
.claude/skills/figma-integration/SKILL.md
.claude/skills/gate/SKILL.md
.claude/skills/governance/SKILL.md
.claude/skills/grill-me/SKILL.md
.claude/skills/image-to-code/SKILL.md
.claude/skills/migrate-design-system/SKILL.md
.claude/skills/performance/SKILL.md
.claude/skills/prototype/SKILL.md
.claude/skills/redesign/SKILL.md
.claude/skills/scaffold-project/SKILL.md
.claude/skills/ship/SKILL.md
.claude/skills/token-build/SKILL.md
.claude/skills/ux-writing/SKILL.md
.claude/skills/data-dashboard/SKILL.md
.claude/skills/design-screen/SKILL.md

元信息

文件数
0
版本
def84a7
Hash
839dbd51
收录时间
2026-11-03 02:21

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-04 11:07
浙ICP备14020137号-1