Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计通过

consistency-enforcement一致性执行

Agent Skill

consistency-enforcement 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

465

周安装

19

GitHub Stars

23

下载量

149
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:consistency-enforcement(一致性执行)
来源仓库:https://github.com/akaszubski/autonomous-dev
仓库路径:skills/consistency-enforcement
安装命令:
npx skills add https://github.com/akaszubski/autonomous-dev --skill consistency-enforcement
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/akaszubski/autonomous-dev --skill consistency-enforcement

简介

一致性执行层自动监控文档漂移,强制维护技能、Agent 和命令清单与实际代码库的一致性。

  • 适用于长期演进的项目或频繁更新的技能市场环境,保障元数据准确性。
  • 通过 GitHub 安装并使用 npx skills add 命令添加,响应特定关键词触发自动检查。
  • 涉及文件系统修改时需谨慎评估权限,避免意外覆盖重要配置或文档。
  • consistency-enforcement 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Consistency Enforcement Skill

Layer 4 Defense Against Documentation Drift

Auto-activates to maintain documentation consistency when working on docs, skills, agents, or commands.

See: workflow.md for step-by-step scenarios See: templates.md for checklists and commands

When This Activates

Keywords: "readme", "documentation", "docs", "commit", "sync", "update", "skill", "agent", "command", "count", "marketplace", "consistency", "drift"


Critical Consistency Rules

Rule 1: README.md is Source of Truth

All counts must match reality:

# Count actual resources
ls -d plugins/autonomous-dev/skills/*/ | wc -l   # Skills
ls plugins/autonomous-dev/agents/*.md | wc -l    # Agents
ls plugins/autonomous-dev/commands/*.md | wc -l  # Commands

Rule 2: All Docs Must Match README.md

These files MUST show the same counts:

  • README.md (primary source)
  • docs/SYNC-STATUS.md
  • docs/UPDATES.md
  • INSTALL_TEMPLATE.md
  • .claude-plugin/marketplace.json (metrics)

Rule 3: Never Reference Non-Existent Skills

# Verify skill exists before referencing
ls -1 plugins/autonomous-dev/skills/

Rule 4: marketplace.json Matches Reality

{
  "metrics": {
    "agents": 8,
    "skills": 12,
    "commands": 21
  }
}

4-Layer Defense System

LayerLocationPurpose
1tests/test_documentation_consistency.pyAutomated CI/CD enforcement
2agents/doc-master.mdAgent memory checklist
3hooks/validate_docs_consistency.pyPre-commit hook (optional)
4This skillAuto-reminder during work

Run Tests

pytest tests/test_documentation_consistency.py -v

Quick Workflow

When adding/removing skills, agents, or commands:

  1. Update README.md count
  2. Update cross-reference files (SYNC-STATUS.md, UPDATES.md, etc.)
  3. Update marketplace.json metrics
  4. Run consistency tests
  5. Commit

See: workflow.md for detailed scenarios


Why This Matters

Documentation drift causes user confusion:

  • README shows "9 Skills" but plugin has 12
  • README mentions skill that doesn't exist
  • User tries to use non-existent feature

With 4-layer defense:

  • Layer 1: Tests fail in CI/CD
  • Layer 2: doc-master catches before docs.json
  • Layer 3: Pre-commit hook blocks commit
  • Layer 4: This skill reminds during work

Result: Documentation always matches reality


Integration

Works with:

  • documentation-guide: HOW to write docs
  • git-workflow: HOW to commit changes
  • project-management: PROJECT.md consistency

Related Files

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.4%
按下载量换算56

Claude

31.63%
按下载量换算47

Cursor

16.73%
按下载量换算25

Gemini CLI

9.73%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills