Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

readmeREADME 控制

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

11,850

周安装

509

GitHub Stars

318

下载量

4,153
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/boshu2/agentops --skill readme

简介

readme 生成符合黄金标准的 README,兼顾浏览者与深度读者需求。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中完善项目文档体系。
  • 遵循固定结构模板,包含问题定义、架构图、API 说明等模块。
  • 最终输出需经 /council validate 验证,确保信息准确无误。
  • readme 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

/readme — Gold-Standard README Generation

Purpose: Generate a README that converts skimmers into users and satisfies deep readers — then validate it with a council.

YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.

Quick Start

/readme                    # Interview + generate + validate (new README)
/readme --rewrite          # Rewrite existing README with same patterns
/readme --validate         # Council-validate an existing README without rewriting

The Patterns

These are non-negotiable. Every README this skill produces follows them.

1. Lead with the problem, not the framework

Bad: "A DevOps layer implementing the Three Ways for agent workflows." Good: "Coding agents forget everything between sessions. This fixes that."

The reader should understand what pain you solve in one sentence. No jargon, no framework names, no theory. The problem is the hook. (Note: framework references like Three Ways and Meadows belong in the body as design rationale — just don't lead with them.)

2. Acknowledge prior art

If your approach resembles established practices (agile, SCRUM, spec-driven development, CI/CD), say so explicitly:

"If you've done X, you already know the fix. What's new is Y."

This disarms experienced practitioners who would otherwise dismiss you as reinventing the wheel. Claim only what's genuinely novel.

3. Show, don't claim

Bad: "This is what makes X different. The system compounds." Good: A terminal transcript showing the system working.

Assertions without evidence trigger hostility. Concrete examples > adjectives. If you can't show it in a code block, it's not ready for the README.

4. State your differentiator once

One clear explanation. One demonstration. That's the max. Repeating your core value proposition in every section crosses from reinforcement into marketing copy. Trust the reader to absorb it the first time.

5. Trust block near install

Before a user installs anything that runs code, hooks, or modifies config, they need to see:

ConcernAnswer it
What does it touch?Files created/modified, hooks registered
Does it exfiltrate?Telemetry, network calls, data leaving the machine
Permission surfaceShell commands, config changes, git behavior modifications
ReversibilityHow to disable instantly, how to uninstall completely

This goes near the install command, not buried in an FAQ.

6. Collapse depth, don't delete it

Detailed workflow steps, architecture deep-dives, theory, and reference material belong in <details> blocks. Skimmers get the fast path. Deep readers click to expand. Never delete depth to achieve brevity — collapse it.

7. Strip guru tone

No "What N months taught me." No "I come from X, so I applied Y." No "This is what makes us different." Let the tool speak for itself. Humility disarms. Condescension repels.

8. Section order serves adoption

Problem → Install → See It Work → Getting Started Path → How It Works (collapsed) → Reference

Theory and architecture come AFTER the user has seen examples and knows how to start. Never put "why this is important" before "how to try it."


Execution Steps

Given /readme [--rewrite] [--validate]:

Step 1: Pre-flight

ls README.md 2>/dev/null

Mode detection:

  • --validate + README exists → skip to Step 5 (council validation only)
  • --rewrite + README exists → read existing, use as context for rewrite
  • README exists, no flags → ask:

- "Rewrite — regenerate with gold-standard patterns" - "Validate — council-check the existing README" - "Cancel"

  • No README exists → proceed to Step 2 (generate from scratch)

Step 2: Gather Context

Read available project files silently (no output to user):

ls README.md PRODUCT.md package.json pyproject.toml go.mod Cargo.toml Makefile 2>/dev/null
ls -d src/ lib/ cmd/ app/ 2>/dev/null
ls -d docs/ 2>/dev/null
ls LICENSE CHANGELOG.md 2>/dev/null

Extract:

  • Project name from manifest files
  • Language/runtime from build files
  • Existing description from README or PRODUCT.md
  • License from LICENSE file
  • Install method from manifest (npm, pip, brew, go install, cargo, etc.)

Step 3: Interview

Use AskUserQuestion for each section. Pre-populate suggestions from Step 2 where possible. Keep questions short.

3a: The Problem

Ask: "What problem does this solve? One sentence — what pain does your user have?"

Options (derived from existing README/PRODUCT.md if available):

  • Suggested problem statement
  • A punchier variant
  • "Let me type my own"

3b: The Fix

Ask: "How does it fix that problem? One sentence — what does your tool actually do?"

3c: Who Is It For

Ask: "Who is this for? Name the runtime, framework, or role."

Example: "Python developers using FastAPI" or "Anyone running Claude Code or Cursor"

3d: Install

Ask: "What's the install command? (We'll put this front and center)"

Options:

  • Detected from manifest (e.g., npm install <pkg>, pip install <pkg>)
  • "Let me type my own"

3e: Quick Demo

Ask: "What's the simplest thing a user can do after installing to see it work? (A command, a code snippet, or a terminal session)"

3f: Trust Concerns

Ask: "Does your tool do any of these? Check all that apply."

  • Runs shell commands or hooks
  • Modifies config files outside the project
  • Makes network calls
  • Creates files in the user's repo
  • None of the above

3g: Prior Art (optional)

Ask: "Are there similar tools? If so, how is yours different? (Be honest — readers who know the space will check)"

Options:

  • "Yes, let me describe" → follow up
  • "Not really / I'll skip this"

Step 4: Generate README

Using the interview responses and the 8 patterns above, generate the README with this structure:

<div align="center">

# {Project Name}

### {Problem statement — one line}

{Badges}

{Nav links}

</div>

---

> [!IMPORTANT]
> {Trust block — local-only, what it touches, how to disable, how to uninstall}
> (Skip if no trust concerns from 3f)

{Install command}

---

## The Problem

{2-3 sentences expanding the problem. Acknowledge prior art if applicable.
State what's genuinely new about your approach — once.}

---

## See It Work

{Terminal transcript or code example from 3e. Show, don't describe.}

---

## Install

{Full install details, alternative methods in <details> blocks.
"What it touches" table if trust concerns exist.}

---

## Getting Started

{Adoption path — Day 1, Week 1, etc. Or just "Run X, then Y."}

---

## How It Works

{One paragraph summary + diagram if applicable.}

<details>
<summary><b>Details</b> — {phases, architecture, etc.}</summary>

{Deep content here}

</details>

---

## {Reference sections as needed}

{Skills, API, CLI, etc. — collapsed where appropriate}

---

## FAQ

{Top 3 questions inline, link to full FAQ if it exists}

---

## Contributing

## License

Generation rules:

  • Every <details> block must have a blank line after <summary> (enables markdown rendering)
  • Use markdown inside details blocks, not inline HTML (<code>, <a href>, <br>)
  • Trailing blank line before </details>
  • No emoji unless the user's existing content uses them
  • Flywheel/differentiator concept: state ONCE in "The Problem", demonstrate ONCE in "See It Work"
  • Never use phrases: "What N months taught me", "This is what makes X different", "I come from X so I applied Y"

Write the generated README to README.md.

Step 5: Council Validation

Run a council to validate the README:

Skill(skill="council", args="--quick validate README.md — is it clear, non-repetitive, and does it serve both skimmers and deep readers?")

If --rewrite or generating from scratch: Use --quick (inline, fast).

If --validate on existing README: Use default council (2 judges) for thorough review.

Present the council findings to the user. If significant issues found, offer:

  • "Fix — apply council recommendations automatically"
  • "Show me — display findings, I'll decide"
  • "Ship it — good enough"

Step 6: Apply Fixes (if requested)

Apply council-recommended fixes. Re-validate with --quick to confirm.

Step 7: Report

## README Complete

**File:** README.md
**Sections:** {count}
**Patterns applied:** {list which of the 8 patterns were relevant}
**Council verdict:** {PASS/WARN/FAIL}

{If WARN/FAIL: list the top findings and whether they were fixed}

Anti-Patterns to Detect

When rewriting or validating, flag these:

Anti-PatternDetectionFix
Flywheel echoCore value prop stated 3+ timesState once, demonstrate once
Framework-firstOpens with methodology name, not problemRewrite lead as problem statement
Guru tone"What I learned", "This is what makes X different"Strip, let the tool speak
Jargon before definitionDomain terms used before they're explainedDefine on first use or use plain language
Buried trust infoSecurity/permissions info below the foldMove near install
No visible uninstallUninstall not findable within 10 secondsAdd near install block
Install scatterSame install command in 3+ locationsOne hero install, one canonical reference
Theory before tryArchitecture/philosophy before examplesReorder: examples first, theory in details
Claim without evidence"Best", "different", "unique" without demoReplace with concrete example or remove

Examples

Generating a README from scratch for a new project

User says: /readme

What happens:

  1. Pre-flight detects no existing README.md and proceeds to generate from scratch.
  2. The skill reads project context (manifest files, source directories, license) and runs a short interview asking about the problem, the fix, the audience, install command, quick demo, and trust concerns.
  3. A README is generated following all 8 gold-standard patterns (problem-first lead, trust block near install, collapsed depth, etc.) and validated by a quick council review.

Result: A complete README.md written to disk that converts skimmers into users and serves deep readers, with a council verdict confirming quality.

Validating an existing README without changes

User says: /readme --validate

What happens:

  1. Pre-flight confirms README.md exists and enters validate-only mode, skipping the interview and generation steps.
  2. A full council review (2 judges) evaluates the README against the 8 patterns and the anti-pattern detection table (flywheel echo, guru tone, buried trust info, etc.).
  3. Findings are presented with options to auto-fix, review manually, or ship as-is.

Result: A detailed council report identifying specific anti-patterns and structural issues in the existing README, with actionable fix suggestions.

Troubleshooting

ProblemCauseSolution
Council validation step fails or hangsThe /council skill dependency is not installed or is brokenRun /update to reinstall all skills, then retry. Verify /council works independently
Generated README has no trust blockNo trust concerns were selected during the interview (step 3f answered "None of the above")If your tool does run hooks, modify config, or make network calls, re-run /readme --rewrite and select the applicable trust concerns
<details> blocks render as raw HTML on GitHubMissing blank line after <summary> tag or before </details>The skill enforces this formatting rule, but manual edits may break it. Ensure there is a blank line after every <summary>...</summary> line and before every </details>
Interview keeps asking questions the project manifest already answersThe manifest file format is not recognized by the context-gathering stepEnsure your project has a standard manifest (package.json, go.mod, pyproject.toml, Cargo.toml) in the repo root
Anti-pattern detection flags false positives on rewriteSome content patterns trigger heuristic detection even when intentionalReview each finding during the council step and select "Ship it" for intentional choices. The detection is heuristic, not absolute

See Also

  • skills/product/SKILL.md — PRODUCT.md generation (feeds into README context)
  • skills/doc/SKILL.md — Code documentation (different scope — API docs, not README)
  • skills/council/SKILL.md — Validation engine used in Step 5

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude

33.45%
按下载量换算1,389

Codex

32.94%
按下载量换算1,368

Cursor

20.65%
按下载量换算858

Gemini CLI

8.98%
按下载量换算373

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/boshu2/agentops --skill readme 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills