Community编程与开发github.com

提出功能概念

创建一份功能概念文档,用于阐述功能创意并解释其解决的问题。这是功能提案流程的第一步。

提出功能概念 是什么?

这是一个 AI 代理技能,用于协助开发者创建结构化的功能概念文档(concept.md),作为功能提案流程的起点。其核心价值在于帮助用户从“为什么要做”和“要做什么”的层面清晰地定义功能创意,为后续的需求与设计奠定基础。该技能支持 crumbly、forester 及其他 forest crates 项目,主要流程包括:首先可选地通过“创意锤炼”技能梳理概念;然后自动确定下一个功能编号并创建对应目录;接着从模板复制概念文档;最后通过引导性问题帮助用户完成文档的问题描述、解决方案、工作流程、收益及技术说明等各个章节,并特别强调以叙事方式撰写,避免技术规范式的罗列。该技能还包含文档质量校验(如检查目录和文件是否存在)以及处理常见问题(如过于技术化、过于抽象或列表过多)的指导。完成概念文档后,可继续使用“提出功能需求”技能进入下一步。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cbgbt/bottlerocket-forest/tree/main/skills/propose-feature-concept

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

提出功能概念技能

目的

创建一份功能概念文档,用于阐述功能创意并解释其解决的问题。这是功能提案流程的第一步。

使用时机

  • 用户想要为 crumbly、forester 或其他 forest crates 提出新功能
  • 开始记录功能创意
  • 在深入需求之前,需要解释“为什么”和“是什么”

前提条件

  • 用户已描述功能创意

操作步骤

0. 提供创意锤炼(可选)

询问用户:

您是否希望使用创意锤炼流程来让概念更清晰?该流程会逐个问题深入探讨,以厘清歧义和设计考量。

如果同意,请按照 skills/README.md 中的协议使用 idea-honing 技能。创意锤炼完成后返回本技能。

1. 确定功能编号

查找下一个可用的功能编号:

ls -1d ./docs/features/[0-9][0-9][0-9][0-9]-* 2>/dev/null | tail -1

如果没有现有功能,从 0001 开始。否则,将最后一个编号加一。

2. 创建功能名称

与用户一起创建一个简洁、描述性的名称:

  • 使用小写字母和连字符
  • 保持简短(2-4 个单词)
  • 使其具有描述性

示例:semantic-search、registry-management、skill-validation

3. 检查是否存在创意锤炼文档

ls ./planning/NNNN-feature-name/idea-honing.md 2>/dev/null

如果存在,在编写概念时参考它。问答环节为叙述提供了宝贵的素材。

4. 创建功能目录

mkdir -p ./docs/features/NNNN-feature-name

将 NNNN 替换为四位数编号,将 feature-name 替换为商定的名称。

5. 复制概念模板

cp ./docs/features/0000-templates/concept.md ./docs/features/NNNN-feature-name/

6. 填写概念文档

与用户合作,以叙述方式完成 concept.md:

前置元数据

  • 将 feature: 设置为 NNNN-feature-name
  • 将 status: 设置为 proposed
  • 如果适用,可添加 tracking-issue:

问题部分

  • 描绘当前情况的画面
  • 描述由此带来的痛点
  • 解释为什么这很重要

解决方案部分

  • 描述用户将体验到什么
  • 聚焦于“是什么”和“为什么”,而非“怎么做”
  • 保持叙述性,而非列表形式

工作原理部分

  • 讲述使用该功能的用户故事
  • 自然地展示工作流程
  • 呈现真实的使用场景,而非抽象的步骤

收益部分

  • 解释提供的价值
  • 回到问题本身进行关联
  • 展示哪些事情变得可能

技术说明部分

  • 简要的约束或注意事项
  • 保持简短——详细内容放在 design.md 中

7. 检查叙述流畅性

确保文档:

  • 读起来像故事,而非规范
  • 尽可能避免使用项目符号和编号列表
  • 聚焦于用户体验和价值
  • 先解释“为什么”,再解释“是什么”

验证

验证概念文档是否已正确创建:

# 检查目录是否存在
ls -la ./docs/features/NNNN-feature-name/

# 确认概念文件存在
ls ./docs/features/NNNN-feature-name/concept.md

# 检查文件有内容
cat ./docs/features/NNNN-feature-name/concept.md

常见问题

过于技术化:如果概念读起来像设计文档,重新聚焦于问题和用户体验。

过于抽象:如果概念含糊不清,与用户合作添加具体的痛点示例。

列表过多:如果有很多项目符号,将其改写成叙述性散文。

后续步骤

创建概念之后:

  1. 审查并完善叙述
  2. 收集反馈,判断功能是否有价值
  3. 一旦概念确定,使用 propose-feature-requirements 技能进入需求阶段

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

ad-hoc-implementation-plan

Transform a rough plan into implement-commit ready artifacts. Allows rigorous review while implementing.

build-kit-locally

Build a kit and publish it to a locally hosted registry for development testing

build-variant-from-local-kits

Build a variant using locally published kits for development validation

deep-research

Create educational documents that build understanding progressively with citations

edit-spec-file

Edit Bottlerocket RPM spec files following project style conventions

fact-find

Quick lookup of specific facts about Bottlerocket with citations

idea-honing

Clarify feature ideas through iterative Q&A, recording insights to guide concept development

implement-commit

Implement commits from an implementation plan using a TDD pipeline

local-registry

Start and manage a local OCI registry for Bottlerocket kit development

prepare-core-kit-release

Prepare bottlerocket-core-kit for release by bumping version and updating changelog

propose-feature-design

Create or update feature technical design document with architecture and implementation guidance

propose-feature-requirements

Create or update feature requirements specification using EARS notation with examples and appendices

propose-feature-test-plan

Create a test plan mapping EARS requirements and Critical Constraints to specific tests

propose-implementation-plan

Create an implementation plan with atomic commits that build toward a complete feature

review-code

Deep code review generating PR comments via principled question-driven analysis

review-scope

Verify code changes match intended scope and requirements without exceeding boundaries

review-style

Verify code follows project style guides without providing improvement suggestions

test-local-twoliter

Build and test local changes to twoliter before releasing

update-twoliter

Update all Bottlerocket repositories to a new Twoliter version

相关技能