← 返回 Skills 市场
zhao202404

6skill

作者 zhao202404 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
123
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install excel-skill01
功能描述
Create and manage Product Requirements Documents (PRDs) with structured user stories, acceptance criteria, and task prioritization for feature development.
使用说明 (SKILL.md)

PRD Skill

Create and manage Product Requirements Documents (PRDs) for feature planning.

What is a PRD?

A PRD (Product Requirements Document) is a structured specification that:

  1. Breaks a feature into small, independent user stories
  2. Defines verifiable acceptance criteria for each story
  3. Orders tasks by dependency (schema → backend → UI)

Quick Start

  1. Create/edit agents/prd.json in the project
  2. Define user stories with acceptance criteria
  3. Track progress by updating passes: falsetrue

prd.json Format

{
  "project": "MyApp",
  "branchName": "ralph/feature-name",
  "description": "Short description of the feature",
  "userStories": [
    {
      "id": "US-001",
      "title": "Add priority field to database",
      "description": "As a developer, I need to store task priority.",
      "acceptanceCriteria": [
        "Add priority column: 'high' | 'medium' | 'low'",
        "Generate and run migration",
        "Typecheck passes"
      ],
      "priority": 1,
      "passes": false,
      "notes": ""
    }
  ]
}

Field Descriptions

Field Description
project Project name for context
branchName Git branch for this feature (prefix with ralph/)
description One-line feature summary
userStories List of stories to complete
userStories[].id Unique identifier (US-001, US-002)
userStories[].title Short descriptive title
userStories[].description "As a [user], I want [feature] so that [benefit]"
userStories[].acceptanceCriteria Verifiable checklist items
userStories[].priority Execution order (1 = first)
userStories[].passes Completion status (falsetrue when done)
userStories[].notes Runtime notes added by agent

Story Sizing

Each story should be completable in one context window.

✅ Right-sized:

  • Add a database column and migration
  • Add a UI component to an existing page
  • Update a server action with new logic
  • Add a filter dropdown to a list

❌ Too large (split these):

  • "Build the entire dashboard" → Split into: schema, queries, UI, filters
  • "Add authentication" → Split into: schema, middleware, login UI, session

Story Ordering

Stories execute in priority order. Earlier stories must NOT depend on later ones.

Correct order:

  1. Schema/database changes (migrations)
  2. Server actions / backend logic
  3. UI components that use the backend
  4. Dashboard/summary views

Acceptance Criteria

Must be verifiable, not vague.

✅ Good:

  • "Add status column to tasks table with default 'pending'"
  • "Filter dropdown has options: All, Active, Completed"
  • "Typecheck passes"

❌ Bad:

  • "Works correctly"
  • "User can do X easily"

Always include: "Typecheck passes"

Progress Tracking

Update passes: true when a story is complete. Use notes field for runtime observations:

"notes": "Used IF NOT EXISTS for migrations"

Quick Reference

Action Command
Create PRD Save to agents/prd.json
Check status `cat prd.json
View incomplete `jq '.userStories[]

Resources

See references/ for detailed documentation:

  • agent-usage.md - How AI agents execute PRDs (Claude Code, OpenCode, etc.)
  • workflows.md - Sequential workflow patterns
  • output-patterns.md - Templates and examples
安全使用建议
This skill is coherent for creating PRDs and providing agent-run templates, but it includes a dangerous example: an unattended loop that runs an agent with `--dangerously-skip-permissions`. Before installing or using: (1) Do not run the unattended agentic loop unless you fully trust and sandbox the agent; prefer human-in-the-loop operation. (2) Never use flags or settings that bypass permission checks. (3) Review any generated commits and CI/test outputs before merging. (4) Run agents in isolated clones or worktrees and back up your repo. If the author can clarify why permission bypass is recommended or provide safer agent invocation patterns, the risk would be reduced.
能力评估
Purpose & Capability
Name/description (create/manage PRDs and structured user stories) align with the provided templates, prd.json format, progress tracking, and agent-run workflows. All declared requirements (no env vars, no binaries) match the instruction-only package.
Instruction Scope
The SKILL.md and references instruct agents to read and update repo files, create branches, run checks, commit code, and—critically—show an unattended agentic loop example that repeatedly invokes an agent with the flag `--dangerously-skip-permissions`. That flag explicitly recommends bypassing permission controls and the infinite loop pattern can lead to unattended, repeated changes to a codebase. Recommending permission bypasses and always-on agentic loops is outside the narrow 'PRD authoring' need and is a risky instruction.
Install Mechanism
No install spec and no code files (instruction-only). Nothing will be written or downloaded by the skill itself during install. Low install risk.
Credentials
The skill requests no environment variables, credentials, or config paths. It operates on local repo files (prd.json, progress.txt) which is proportionate to a PRD/agent workflow.
Persistence & Privilege
Skill metadata does not request always-on presence. However, the included agentic loop templates encourage running autonomous agents that repeatedly modify the repository. Autonomous invocation of agents is allowed by platform defaults; the risk here stems from the provided instructions (unattended loop + permission bypass) rather than skill metadata.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install excel-skill01
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /excel-skill01 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the PRD skill for structured Product Requirements Documents. - Enables creation and management of PRDs with user stories and acceptance criteria - Defines a clear JSON schema for PRD tracking (`agents/prd.json`) - Includes guidance on story sizing, ordering, and acceptance criteria - Provides quick command references for status checks and workflow integration - Adds documentation references for agent usage and workflow patterns
元数据
Slug excel-skill01
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

6skill 是什么?

Create and manage Product Requirements Documents (PRDs) with structured user stories, acceptance criteria, and task prioritization for feature development. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 123 次。

如何安装 6skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install excel-skill01」即可一键安装,无需额外配置。

6skill 是免费的吗?

是的,6skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

6skill 支持哪些平台?

6skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 6skill?

由 zhao202404(@zhao202404)开发并维护,当前版本 v1.0.0。

💬 留言讨论