Skip to main content

spring-openspec

Spec-First Development with OpenSpec for Spring Boot. Align on specifications before implementation begins.

来源信息

仓库
mduongvandinh/skills-java-spring
最近来源活动
2025年12月26日 03:34
检测到的 SKILL.md 语言
英语
星标
6
Forks
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
spring-openspec
version
1.0.0
description
Spec-First Development with OpenSpec for Spring Boot. Align on specifications before implementation begins.
triggers
["new feature","spec first","openspec","specification","proposal"]
# OpenSpec - Spec-Driven Development ## Workflow ``` ┌──────────────────────────────────────────────────────────────┐ │ OPENSPEC WORKFLOW │ │ │ │ ┌──────────┐ ┌──────────┐ ┌───────────┐ ┌────────┐│ │ │ PROPOSAL │───→│ REVIEW │───→│ IMPLEMENT │───→│ARCHIVE ││ │ │ │ │ │ │ │ │ ││ │ │ Draft │ │ Align │ │ Code │ │ Merge ││ │ │ Specs │ │ Together │ │ Tasks │ │ Specs ││ │ └──────────┘ └──────────┘ └───────────┘ └────────┘│ └──────────────────────────────────────────────────────────────┘ ``` ## Directory Structure ``` openspec/ ├── AGENTS.md # Instructions for AI assistants ├── specs/ # Authoritative specifications │ ├── auth/ │ ├── user/ │ └── order/ └── changes/ # Proposed modifications └── feature-xxx/ ├── proposal.md ├── tasks.md └── spec-delta.md ``` ## Commands | Command | Description | |---------|-------------| | `/openspec-proposal <name>` | Create new proposal | | `/openspec-review` | Review and align | | `/openspec-implement <name>` | Implement from spec | | `/openspec-archive <name>` | Archive completed feature | ## Proposal Template ```markdown # Proposal: Feature Name ## Objective What we want to achieve. ## Scope - Item 1 - Item 2 ## Out of Scope - Not included ## Success Criteria - Criterion 1 - Criterion 2 ## Dependencies - Dependency 1 ``` ## Spec Template ```markdown # Feature Specification ## API Endpoint POST /api/v1/resource ... ## Business Rules 1. Rule 1 2. Rule 2 ## Data Model @Entity... ## Sequence Diagram Client -> Controller -> Service -> Repository ``` ## Reference in Code ```java /** * Service description. * * @spec openspec/specs/feature/spec-name.md */ @Service public class MyService { // Implementation } ```
在 GitHub 查看