Agent Skills › CelestoAI/celesto › readme-guidelines

readme-guidelines

GitHub

用于审查或编写开源项目 README,遵循渐进式披露、无术语和单概念示例原则。适用于撰写、审查、更新或检查文档内容的场景。

.claude/skills/readme-guidelines/SKILL.md CelestoAI/celesto

Trigger Scenarios

write README review README update README check docs

Install

npx skills add CelestoAI/celesto --skill readme-guidelines -g -y
More Options

Non-standard path

npx skills add https://github.com/CelestoAI/celesto/tree/main/.claude/skills/readme-guidelines -g -y

Use without installing

npx skills use CelestoAI/celesto@readme-guidelines

指定 Agent (Claude Code)

npx skills add CelestoAI/celesto --skill readme-guidelines -a claude-code -g -y

安装 repo 全部 skill

npx skills add CelestoAI/celesto --all -g -y

预览 repo 内 skill

npx skills add CelestoAI/celesto --list

SKILL.md

Frontmatter
{
    "name": "readme-guidelines",
    "metadata": {
        "author": "Celesto Team",
        "version": "1.0.0"
    },
    "description": "Review or write README content for open-source projects. Enforces progressive disclosure, jargon-free language, and single-concept code examples. Use when asked to \"write README\", \"review README\", \"update README\", or \"check docs\".",
    "argument-hint": "<file-or-section>"
}

README Guidelines

Review or write README content following these principles. The goal is easy onboarding for both newcomers and advanced users.

Core Principles

1. Progressive disclosure of complexity

Structure content so readers can stop at any point and still have a working mental model. Each section should be usable on its own:

  • Lead with the simplest outcome (one-liner, quickstart)
  • Add detail in subsequent sections
  • Advanced topics (integrations, internals, performance) come last
  • Never require reading ahead to understand what's in front of you

2. One concept per code example

Each code block should demonstrate exactly one idea. If a snippet requires the reader to understand two or more new things simultaneously, split it.

Wrong — introduces sandbox creation AND environment variables at the same time:

with Celesto(env={"API_KEY": "secret"}) as vm:
    vm.run("curl $API_KEY")

Right — teaches sandbox creation first, env vars in a separate example:

with Celesto() as vm:
    vm.run("echo 'hello'")

3. Jargon-free language first, depth second

Explain every concept as if talking to a first-year CS student before using technical terms. Then go deeper if the reader needs it.

  • Bad: "SSH host keys are accepted on first connection via TOFU"
  • Good: "Celesto uses SSH to run commands in a sandbox. SSH is a secure connection between your computer and the sandbox."

4. Introduce before you use

Never use a value, flag, or identifier in a code block without explaining where it comes from. If a command prints a session_id, show that command before any command that takes session_id as input.

Review Checklist

When reviewing a README, check each section against these rules:

  • Tagline: does it describe a single, concrete outcome?
  • Intro paragraph: can a newcomer understand it without prior context?
  • Quickstart: does it follow install → configure → first run, in that order?
  • Each code block: does it introduce exactly one new concept?
  • Each new identifier (<session-id>, <sandbox-name>): is it introduced before it's used?
  • Jargon: is every technical term explained in plain language on first use?
  • Sections: does complexity increase monotonically top-to-bottom?
  • Examples table: are entries grouped by audience (getting started vs. advanced)?
  • Footer: does it duplicate links that already appear at the top?

Output Format

For each violation found, output:

Line <N>: [rule violated]
  Current: <quote the problematic text>
  Fix: <suggested rewrite>

Then provide a revised version of any section that has more than one violation.

Version History

  • 830118d Current 2026-09-27 15:38

    刷新 agent skill 示例

  • c751604 2026-09-22 04:39

    将示例中的 SDK 名称从 SmolVM 更新为 Celesto,以匹配产品品牌重命名。

  • 923bba2 2026-07-05 14:50

Same Skill Collection

.agents/skills/cli-docs-guidelines/SKILL.md
.agents/skills/readme-guidelines/SKILL.md
.claude/skills/cli-docs-guidelines/SKILL.md

Metadata

Files
0
Version
830118d
Hash
4cca7f5a
Indexed
2026-07-05 14:50

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-30 05:00
浙ICP备14020137号-1