From 0f412cfbfdcad5c598b244b3e4895598d4691d45 Mon Sep 17 00:00:00 2001 From: Sun-ZhenXing <1006925066@qq.com> Date: Sat, 28 Feb 2026 11:39:33 +0800 Subject: [PATCH] feat: add openspec --- .gitignore | 14 ++++++++++++-- openspec/config.yaml | 20 ++++++++++++++++++++ tools/rename.py | 1 + 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 openspec/config.yaml diff --git a/.gitignore b/.gitignore index f8f7cb5..58ef22b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,15 @@ -# Trace files -radar.duckdb* +# Skills +.codebuddy/ +.agent/ +.agents/ +.claude/ +.cursor/ +.gemini/ +.github/skills/ +.opencode/ +.qoder/ +.qwen/ +.trae/ # Environment files .env diff --git a/openspec/config.yaml b/openspec/config.yaml new file mode 100644 index 0000000..392946c --- /dev/null +++ b/openspec/config.yaml @@ -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 diff --git a/tools/rename.py b/tools/rename.py index 902f3b0..ceaf20b 100644 --- a/tools/rename.py +++ b/tools/rename.py @@ -72,6 +72,7 @@ TEXT_EXTENSIONS = { ".dockerignore", "Makefile", "Dockerfile", + ".tpl", }