Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计未展示

ring%3awriting-plans环%3 写作计划

Agent Skill

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

总安装

815

周安装

35

GitHub Stars

180

下载量

286
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lerianstudio/ring --skill ring:writing-plans

简介

用于辅助文档、README 和内容稿件的整理与改写。

  • 适合提炼结构、补齐章节或统一术语。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 应保留项目已有事实和路径,不写未确认的信息。
  • 涉及对外文案时需控制语气,避免过度营销。
  • ring%3awriting-plans 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Writing Plans

Overview

This skill dispatches a specialized agent to write comprehensive implementation plans for engineers with zero codebase context.

Announce at start: "I'm using the ring:writing-plans skill to create the implementation plan."

Context: This should be run in a dedicated worktree (created by ring:brainstorming skill).

The Process

Step 1: Dispatch Write-Plan Agent

Dispatch via Task(subagent_type: "ring:write-plan") with:

  • Instructions to create bite-sized tasks (2-5 min each)
  • Include exact file paths, complete code, verification steps
  • Save to docs/plans/YYYY-MM-DD-<feature-name>.md

Step 2: Validate Plan

After the plan is saved, validate it:

python3 default/lib/validate-plan-precedent.py docs/plans/YYYY-MM-DD-<feature>.md

Interpretation:

  • PASS → Plan is safe to execute
  • WARNING → Plan has issues to address

- Review the warnings in the output - Update plan to address the issues - Re-run validation until PASS

Step 3: Ask User About Execution

Ask via AskUserQuestion: "Execute now?" Options:

  1. Execute now → ring:subagent-driven-development
  2. Parallel session → user opens new session with ring:executing-plans
  3. Save for later → report location and end

Why Use an Agent?

Context preservation (reading many files keeps supervisor clean) | Model power (comprehensive planning) | Separation of concerns (supervisor orchestrates, agent plans)

What the Agent Does

Explore codebase → identify files → break into bite-sized tasks (2-5 min) → write complete code → include exact commands → add review checkpoints → verify Zero-Context Test → save to docs/plans/YYYY-MM-DD-<feature>.md → report back

Requirements for Plans

Every plan: Header (goal, architecture, tech stack) | Verification commands with expected output | Exact file paths (never "somewhere in src") | Complete code (never "add validation here") | Bite-sized steps with verification | Failure recovery | Review checkpoints | Zero-Context Test | Recommended agents per task

Multi-Module Task Requirements

If TopologyConfig exists (from pre-dev research.md frontmatter or user input):

Each task MUST include:

  • Target: backend | frontend | shared
  • Working Directory: Resolved path from topology configuration
  • Agent: Recommended agent matching the target

Task Format with Target:

## Task 3: Create User Login API

**Target:** backend
**Working Directory:** packages/api
**Agent:** ring:backend-engineer-golang

**Files to Create/Modify:**
- `packages/api/internal/handlers/auth.go`
- `packages/api/internal/services/auth_service.go`

...rest of task...

Target Assignment Rules:

TargetWhenAgent
backendAPI endpoints, services, data layer, CLIring:backend-engineer-{golang,typescript}
frontendUI components, pages, BFF routesSee Frontend Tasks (api_pattern aware)
sharedCI/CD, configs, docs, cross-modulering:devops-engineer or ring:general-purpose

Working Directory Resolution:

Topology StructureBackend PathFrontend Path
single-repo..
monorepotopology.modules.backend.pathtopology.modules.frontend.path
multi-repotopology.modules.backend.path (absolute)topology.modules.frontend.path (absolute)

Agent Selection

Backend Tasks

Task TypeAgent
Go backend API/servicesring:backend-engineer-golang
TypeScript backend API/servicesring:backend-engineer-typescript

Frontend Tasks (api_pattern aware)

Read api_pattern from topology configuration to determine correct agent:

API PatternTask TypeAgent
directUI components, pages, formsring:frontend-engineer
directServer Actions, data fetchingring:frontend-engineer
directServer Components with data loadingring:frontend-engineer
bffAPI routes (/api/*)ring:frontend-bff-engineer-typescript
bffData aggregation, transformationring:frontend-bff-engineer-typescript
bffExternal service integrationring:frontend-bff-engineer-typescript
bffUI components, pages, formsring:frontend-engineer
otherDepends on patternAsk user or use ring:frontend-engineer default

Decision Logic for Frontend Tasks

def get_frontend_agent(task, topology):
    api_pattern = topology.get('api_pattern', 'direct')

    if api_pattern == 'direct':
        return 'ring:frontend-engineer'

    if api_pattern == 'bff':
        if is_bff_task(task):  # API routes, aggregation, transformation
            return 'ring:frontend-bff-engineer-typescript'
        else:  # UI components, pages
            return 'ring:frontend-engineer'

    return 'ring:frontend-engineer'  # Default for 'other'

def is_bff_task(task):
    bff_indicators = [
        'API route', 'api route', '/api/',
        'aggregat', 'transform', 'BFF',
        'external service', 'backend service',
        'data layer', 'HTTP client'
    ]
    return any(ind in task.description for ind in bff_indicators)

Infrastructure and Other Tasks

Task TypeAgent
Infra/CI/CDring:devops-engineer
Testingring:qa-analyst
Reliabilityring:sre
Fallbackring:general-purpose

Task Format with api_pattern

When TopologyConfig includes api_pattern, include it in task metadata:

## Task 3: Aggregate Dashboard Data

**Target:** frontend
**Working Directory:** packages/web
**API Pattern:** bff
**Agent:** ring:frontend-bff-engineer-typescript

**Files to Create/Modify:**
- `packages/web/app/api/dashboard/route.ts`
- `packages/web/lib/services/dashboard-aggregator.ts`

...rest of task...

Execution Options Reference

OptionDescription
Execute nowFresh subagent per task, code review between tasks → ring:subagent-driven-development
Parallel sessionUser opens new session, batch execution with human review → ring:executing-plans
Save for laterPlan at docs/plans/YYYY-MM-DD-<feature>.md, manual review before execution

Required Patterns

This skill uses these universal patterns:

  • State Tracking: See skills/shared-patterns/state-tracking.md
  • Failure Recovery: See skills/shared-patterns/failure-recovery.md
  • Exit Criteria: See skills/shared-patterns/exit-criteria.md
  • TodoWrite: See skills/shared-patterns/todowrite-integration.md

Apply ALL patterns when using this skill.

Blocker Criteria

STOP and report if:

Decision TypeBlocker ConditionRequired Action
Design ValidationDesign phase not complete (brainstorming/PRD/TRD not validated)STOP and report
Plan ValidationPlan fails validate-plan-precedent.py checkSTOP and report
Zero-Context TestPlan contains vague instructions ("add validation here")STOP and report
Agent AssignmentTasks missing recommended agent specificationSTOP and report

Cannot Be Overridden

The following requirements CANNOT be waived:

  • Design phase MUST be complete before creating implementation plan
  • Plan validation script MUST pass before execution
  • All tasks MUST include exact file paths, never "somewhere in src"
  • All tasks MUST include complete code examples, never placeholders
  • Each task MUST specify recommended agent

Severity Calibration

SeverityConditionRequired Action
CRITICALPlan created without validated designMUST complete design phase first
CRITICALTasks contain placeholder code ("add logic here")MUST write complete code examples
HIGHPlan fails validation scriptMUST address warnings and re-validate
HIGHMissing exact file paths in tasksMUST specify complete paths
MEDIUMMissing verification commands in tasksShould add expected output verification
LOWMissing review checkpoints between tasksFix in next iteration

Pressure Resistance

User SaysYour Response
"Skip design validation, we know what to build""CANNOT skip design validation. Plans without validated design lead to rework. Design phase MUST be complete first."
"Add the code later, just outline the tasks""CANNOT use placeholder code. Zero-Context Test requires complete code so engineers can execute without codebase knowledge."
"Approximate file paths are fine""CANNOT use vague paths. Tasks MUST include exact file paths - never 'somewhere in src'."
"Skip plan validation, we're in a hurry""CANNOT skip validation. Plan validation catches issues before they become implementation blockers."

Anti-Rationalization Table

RationalizationWhy It's WRONGRequired Action
"Design is obvious, skip to planning"Obvious ≠ validated. Unvalidated designs cause plan rework.MUST complete design phase first
"Engineer will figure out the details"Zero-Context Test: engineer has NO codebase context. Plan must be complete.MUST include complete code and paths
"Validation warnings are minor"Warnings indicate issues that become blockers during execution.MUST address all warnings
"Agent assignment is flexible"Wrong agent = wrong standards applied. Each task needs correct specialist.MUST specify recommended agent
"Plan is good enough, validation is overkill""Good enough" plans fail Zero-Context Test. Validation ensures completeness.MUST run and pass validation

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

36.72%
按下载量换算105

Claude

30.28%
按下载量换算87

Cursor

18.23%
按下载量换算52

Gemini CLI

8.56%
按下载量换算24

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills