Agent Skillscoleam00/Archon › rulecheck

rulecheck

GitHub

自动扫描代码库以检测并修复规则违规项,在隔离工作区完成验证后创建PR。主Agent仅负责启动子Agent并报告结果,不直接执行扫描或修复操作。

.claude/skills/rulecheck/SKILL.md coleam00/Archon

Trigger Scenarios

需要自动检查代码规范合规性 发现代码存在规则违规需批量修复

Install

npx skills add coleam00/Archon --skill rulecheck -g -y
More Options

Non-standard path

npx skills add https://github.com/coleam00/Archon/tree/dev/.claude/skills/rulecheck -g -y

Use without installing

npx skills use coleam00/Archon@rulecheck

指定 Agent (Claude Code)

npx skills add coleam00/Archon --skill rulecheck -a claude-code -g -y

安装 repo 全部 skill

npx skills add coleam00/Archon --all -g -y

预览 repo 内 skill

npx skills add coleam00/Archon --list

SKILL.md

Frontmatter
{
    "name": "rulecheck",
    "agent": "rulecheck-agent",
    "description": "Autonomous rule adherence checker. Scans the codebase for rule violations,\nfixes the highest-impact ones in an isolated worktree, runs full validation,\ncreates a PR. Uses memory to track progress across runs.\n",
    "argument-hint": "[focus area]",
    "disable-model-invocation": true
}

Rulecheck

Launch the rulecheck-agent to autonomously scan and fix AGENTS.md rule violations.

Your Job (Main Agent)

You are the orchestrator. Your ONLY job is to launch the rulecheck-agent and report its results when it completes. You do NOT do the scanning or fixing yourself.

  1. Launch the rulecheck-agent with the focus area (if any): $ARGUMENTS
  2. Wait for it to complete — do NOT poll, tail, or check on it. You will be notified automatically when it finishes.
  3. Report ONLY what the agent told you — relay its final message verbatim or summarize it. Do NOT search for PRs, read files, or fabricate results. If the agent hit its context limit, say so. If it didn't produce a PR URL in its output, don't go looking for one.

Rules for You

  • Do NOT scan the codebase yourself — that's the agent's job
  • Do NOT grep, read source files, or run linters — the agent handles all of that
  • Do NOT edit any files — you are the orchestrator, not the fixer
  • Do NOT try to resume or check on the agent while it's running — just wait
  • Do NOT do the agent's work if it fails or hits context limits — report the failure to the user and stop. NEVER pick up where the agent left off. You are not in a worktree and would be editing main directly.
  • Do NOT update project memory — the agent maintains its own memory at .claude/agent-memory/rulecheck-agent/. Do not duplicate run results into your project memory.
  • Trust the agent. It runs in an isolated worktree and will create a PR when done.

Version History

  • d558cd0 Current 2026-08-20 02:57

    将规则检查目标从CLAUDE.md切换至AGENTS.md,移除失效的验证结果解析代码,更新规则指南以反映当前工程原则。

  • ace0a41 2026-07-25 08:54

Same Skill Collection

.claude/skills/agent-browser/SKILL.md
.claude/skills/playwright-cli/SKILL.md
.claude/skills/release/SKILL.md
.claude/skills/remotion-best-practices/SKILL.md
.claude/skills/triage/SKILL.md
.claude/skills/archon-dev/SKILL.md
.claude/skills/archon/SKILL.md
.claude/skills/docker-extend/SKILL.md
.claude/skills/manage-run/SKILL.md
.claude/skills/replicate-issue/SKILL.md
.claude/skills/save-task-list/SKILL.md
.claude/skills/validate-ui/SKILL.md

Metadata

Files
0
Version
d558cd0
Hash
fa080ff1
Indexed
2026-07-25 08:54

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 16:34
浙ICP备14020137号-1 $Carte des visiteurs$