agent-guide

agent-guide:用于审计、解释、简化、比较或重构 AI agent 指令体系(例如 AGENTS.md、CLAUDE.md、GEMINI.md、规则、记忆、hooks、MCP、SKILL.md 等)。仅用于与 AI agent 指令体系相关的工作,不用于普通应用代码编辑。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "agent-guide":https://skillpi.com/zh/skills/deepskill-df07642238da33a90adfcca104596103f3c95b33919ce15bdfa51831021f2b5b。安装前核对上游来源和版本:https://skillhub.cn/skills/user_66e57ae9/agent-guide。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

agent-guide:用于审计、解释、简化、比较或重构 AI agent 指令体系(例如 AGENTS.md、CLAUDE.md、GEMINI.md、规则、记忆、hooks、MCP、SKILL.md 等)。仅用于与 AI agent 指令体系相关的工作,不用于普通应用代码编辑。

0 下载

介绍来源: third_party · user_66e57ae9 · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: agent-guide
description: Use when auditing, explaining, simplifying, comparing, or rebuilding AI agent instruction systems such as AGENTS.md, CLAUDE.md, GEMINI.md, rules, memory, hooks, MCP, and SKILL.md. Do not use for ordinary application-code editing.

Agent Guide

Agent instructions are not where you prove how much you know. They are where you prevent the next predictable mistake.

Use this skill to help a person understand and shape their own Agent instruction system. The goal is not to produce one generic perfect AGENTS.md; the goal is to preserve the user's real workflow while making the always-loaded instructions thinner, safer, and easier for an Agent to follow.

Non-Negotiables

  • Do not edit global user configuration directly unless the user explicitly asks for execution.
  • For global Agent settings, first read the relevant file or pasted text, then propose a draft or diff.
  • Before rewriting an existing instruction file, identify what the old file was trying to preserve and make sure the new version does not silently remove those capabilities.
  • Do not assume the current working directory is the target project. Confirm the target when the task involves global or project instructions.
  • Keep source attribution visible when the output is based on public articles, screenshots, copied text, or another person's framework.
  • Do not copy long passages from source articles. Summarize, transform, and credit.
  • Do not load or paste every reference into the final instruction file. Put details in skills, references, memory, hooks, CI, settings, or tools.

Mode Selection

Use Quick Audit when the user already has an instruction file and wants a review, comparison, diff, or lean rewrite.

Use Guided Rebuild when the user wants a personalized Agent setup and the target workflow, installed skills, memory habits, or preferred structure are unclear.

Quick Audit Workflow

  1. Identify the target: global instructions, project instructions, rule files, memory, skill, hook, MCP, settings, article, or README.
  2. Confirm whether the user wants an audit, draft, comparison, or actual file edit.
  3. Read only the relevant current text. Avoid broad history scans unless the user asks.
  4. Identify the original intent: what behaviors, routes, preferences, and safety boundaries the current file is trying to preserve.
  5. Classify every meaningful rule into the buckets below.
  6. Delete generic advice the model already knows.
  7. Rewrite kept rules into short, concrete, action-oriented instructions.
  8. Move long workflows into skills, templates, examples, or references.
  9. Move enforceable behavior into hooks, settings, CI, permissions, or scripts when possible.
  10. Run a regression check: list any old capability that is weakened, removed, or moved elsewhere.
  11. Return a proposed version before mutating global or personal configuration.

Guided Rebuild Workflow

Use this when the user wants the Agent to fit their personal work style, not a generic template.

  1. Inventory the current sources, only as needed:
    • current global or project instruction file;
    • installed skill names or available workflow tools;
    • relevant memory/preferences if the user asks for personalization or prior context;
    • project-specific instructions when the target is a project Agent file.
  2. Ask only the missing questions that materially change the Agent design. Prefer 3-7 short questions:
    • What work should this Agent optimize for: coding, planning, writing, research, demos, maintenance, or a mix?
    • Should the Agent default to direct answers, plans, or execution?
    • Which workflows require confirmation before file edits?
    • Which installed skills does the user already know and want to call manually?
    • Which skills should be routed automatically because the user forgets or does not want to remember names?
    • What should stay in memory versus always-loaded instructions?
    • What final report format is actually useful to the user?
  3. Build a modular template. Include only blocks the user needs:
    • Language And Tone;
    • Operating Principles;
    • Context Budget;
    • Instruction Priority;
    • Task Router;
    • Skill And Tool Routing;
    • Coding Discipline;
    • Safety And Boundaries;
    • Validation;
    • Final Report;
    • Optional Project Defaults.
  4. Keep the final instruction file thin. Put repeatable workflows into skills, evolving preferences into memory, and enforceable behavior into hooks, CI, settings, or permissions.
  5. Compare the proposal against the old file before recommending it.

Buckets

Keep In Always-Loaded Instructions

Use for rules that apply almost every time: default language or tone, permission and safety posture, lightweight mode for simple questions, user-specific collaboration preferences, and boundaries that would be dangerous to infer.

Keep In Project Instructions

Use for stable project facts the AI cannot safely infer: build, test, lint, and format commands; architecture boundaries; generated or no-touch paths; files that must change together; and domain vocabulary that affects correctness.

Move To Skills Or Rules

Use for repeatable workflows that only matter in certain tasks: debugging loops, TDD, frontend visual validation, PDF/document processing, deployment, article shaping, review checklists, and Agent instruction audits.

Move To Memory

Use for evolving preferences or lessons learned over time: user habits, project lessons, historical decisions, and recurring collaboration preferences. Do not use memory for secrets, hard requirements, or rules that must be enforced.

Move To Hooks, Settings, CI, Or Permissions

Use for behavior that should be enforced by the environment: block destructive commands, prevent committing secrets, run formatters or tests, enforce generated-file rules, or protect deployment settings.

Move To MCP, Plugins, Browser, Or Official Docs

Use for external systems and live capabilities: GitHub issues, PRs, review comments, CI; Vercel deployments, env vars, domains, logs; Figma files; browser validation; databases; official docs; current prices, laws, model names, and product behavior.

Move To README, Article, Examples, Or References

Use for human-facing explanation, teaching, examples, source notes, glossary, long tables, publishing notes, and background material.

Delete Or Rewrite

Delete generic advice such as "be careful", "use best practices", "write clean code", "think deeply", or "make it professional" unless it can be rewritten as a concrete trigger and action.

Rule Test

Ask these before keeping a rule always loaded:

  1. Would the AI likely get this wrong without the rule?
  2. Is it needed across many tasks or sessions?
  3. Is it stable enough to keep loaded?
  4. Does it tell the AI what to do, not just how to feel?

If not, delete it or move it.

Good Rule Pattern

Use:

When [specific situation], do [specific action], because [short reason or boundary].

Examples:

  • For simple answers, do not read memory, skills, project files, or the web unless correctness requires it.
  • Before editing global Agent settings, propose the exact diff and wait for confirmation.
  • In this repo, do not touch generated files under dist/; regenerate them through the build command.
  • If the task is a repeatable multi-step workflow, consider a skill instead of adding more global rules.

Output Formats

For an audit, return:

Keep
Move
Delete
Rewrite
Risks

For an old-vs-new comparison, return:

Original Intent
Improvements
Lost Or Weakened Capabilities
Safety Changes
Simplicity Changes
Recommendation

For a guided rebuild, return:

Questions
Assumptions
Modular Draft
Moved Elsewhere
Regression Check

当前收录版本

1.0.0

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值82/100

亮点

  • 精准定位 Agent 指令系统优化这一细分但高价值场景
  • 提供 Quick Audit 和 Guided Rebuild 双模式适配不同用户需求
  • 通过 Buckets 分类体系实现规则的科学归集与迁移
触发精准95/100

亮点

  • 触发词覆盖全面且边界清晰,有效避免误触
  • 明确排除普通代码编辑场景,聚焦核心功能
结构规范92/100

待提升项

  • 文档长度优化 原报告严重程度:轻微

    主体文档约1800字,虽结构完整但略显冗长

    改进建议:可考虑将部分详细说明移至附录或独立参考文档

亮点

  • Phase划分清晰,Workflow步骤完整且有明确出口条件
  • 提供多种Output Formats适配不同使用场景
执行可靠88/100

亮点

  • 内置多重安全机制:确认机制、先读后改、回归检查
  • 明确区分 always-loaded/project/skill/memory 等不同存储位置
证据可验 (前四项均值)89/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。