feat: add openspec

This commit is contained in:
Sun-ZhenXing
2026-02-28 11:39:33 +08:00
parent e78f4dae6c
commit 0f412cfbfd
3 changed files with 33 additions and 2 deletions

14
.gitignore vendored
View File

@@ -1,5 +1,15 @@
# Trace files
radar.duckdb*
# Skills
.codebuddy/
.agent/
.agents/
.claude/
.cursor/
.gemini/
.github/skills/
.opencode/
.qoder/
.qwen/
.trae/
# Environment files
.env

20
openspec/config.yaml Normal file
View File

@@ -0,0 +1,20 @@
schema: spec-driven
# Project context (optional)
# This is shown to AI when creating artifacts.
# Add your tech stack, conventions, style guides, domain knowledge, etc.
# Example:
# context: |
# Tech stack: TypeScript, React, Node.js
# We use conventional commits
# Domain: e-commerce platform
# Per-artifact rules (optional)
# Add custom rules for specific artifacts.
# Example:
# rules:
# proposal:
# - Keep proposals under 500 words
# - Always include a "Non-goals" section
# tasks:
# - Break tasks into chunks of max 2 hours

View File

@@ -72,6 +72,7 @@ TEXT_EXTENSIONS = {
".dockerignore",
"Makefile",
"Dockerfile",
".tpl",
}