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

agent-dev-guardrailsAgent 开发护栏

Agent Skill

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

总安装

186

周安装

8

GitHub Stars

1

下载量

65
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yariv1025/skills --skill agent-dev-guardrails

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态和变更进行整理。

  • 适用于开发流程规范和代码质量管控,提供计划优先和错误检查机制。
  • 通过 npx skills add 命令从 GitHub 安装,需确认权限范围和是否触发命令执行。
  • 建议在安装前检查维护状态和文件读写边界,避免越权操作。
  • agent-dev-guardrails 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Agent Dev Guardrails

Mental model: The agent is an extremely confident junior dev with amnesia. This skill provides guardrails, progressive context, and automated quality checks.

This skill enforces disciplined development workflows. Essentials are here in SKILL.md; detailed patterns are in references/, loaded only when needed.

Non-Negotiables (Always Apply)

  1. Plan first, implement second. For non-trivial changes: produce plan, risks, and task checklist before editing.
  2. Work in small slices. Implement 1–2 checklist items at a time; pause for review/testing between slices.
  3. Never leave errors behind. Run checks and fix failures before moving on.
  4. Be explicit about changes. Every response that edits code must include:

- Files changed (paths) - Why the change is correct - How it was validated (commands + outcome)

  1. If stuck for 30 minutes, stop. Ask for narrower scope or propose different approach; don't thrash.

Hook System

Pre-Work Hook (Before Coding)

Before proposing code changes:

  1. Identify scope — Small fix (no dev-docs) or large task (create dev-docs folder)
  2. State applicable skills — Which domain skills apply (e.g., python-engineering, security)
  3. For non-trivial work:

- Ask clarifying questions (see references/planning-protocol.md) - Produce plan with phases + tasks + risks - Wait for plan acceptance before implementation

Post-Work Hook (After Coding)

After every code edit:

  1. Run linting — Use ReadLints on edited files
  2. Fix failures — Do not leave errors behind
  3. Self-review — Apply specialized roles (see references/specialized-roles.md)
  4. Summarize:

- Files changed - Commands run + outcomes - Next slice (if applicable)

When to Read Which Reference

SituationRead
Need to plan or ask clarifying questionsreferences/planning-protocol.md
Complex task (>30 min), need task foldersreferences/dev-docs-system.md
Self-reviewing code after editsreferences/specialized-roles.md
Setting up new project conventionsreferences/project-setup.md
Checking Definition of Donereferences/quality-gates.md

Quick Patterns

  • Token efficiency: Request only the context you need; reference file paths and symbols instead of pasting large code blocks.
  • Planning: Ask minimum context → produce plan with risks/tasks → wait for acceptance
  • Questions: Ask "What are the tradeoffs? What breaks? What's missing?" not "Is this good?"
  • Slicing: One slice = 1–2 checklist items; each slice ends with validation
  • Review: Apply reviewer role personas (Architecture, Security, Test Engineer)
  • Done: Code compiles, lint passes, edge cases handled, docs updated

Quick Reference / Examples

TaskApproach
Start non-trivial workRead references/planning-protocol.md, produce plan, wait for approval
Create task docsRead references/dev-docs-system.md, create dev/active/<task-name>/
Self-review codeRead references/specialized-roles.md, apply relevant personas
Set up new projectRun the setup script from the skill's scripts/ folder (see references/project-setup.md for path and options)
Check if slice is doneRead references/quality-gates.md, verify all criteria

Pre-work check example:

Scope: Large task (auth feature)
Skills: agent-dev-guardrails + python-engineering
Plan: [3 phases, 8 tasks, 2 risks identified]
Waiting for approval before implementation.

Post-work summary example:

Files changed: src/auth.py, tests/test_auth.py
Validation: ReadLints (0 errors), pytest (12 passed)
Self-review: ✓ Input validation, ✓ No hardcoded secrets, ⚠ Consider rate limiting
Next: Slice 2 (login endpoint)

Workflow

  1. Starting any change → Check scope, activate skills, follow pre-work hook
  2. Planning complex work → Read references/planning-protocol.md, then references/dev-docs-system.md
  3. After every edit → Follow post-work hook, apply references/specialized-roles.md
  4. Setting up a project → Run the setup script from the skill's scripts/ folder; see references/project-setup.md
  5. Marking work complete → Verify against references/quality-gates.md

Keep SKILL.md lean; load reference files only when relevant to the task.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.96%
按下载量换算22

Claude

29.75%
按下载量换算19

Cursor

19.11%
按下载量换算12

Gemini CLI

9.61%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills