Skip to content

feat: migrate to OpenSpec workflow#38

Merged
LessUp merged 12 commits into
masterfrom
migrate-to-openspec
Apr 23, 2026
Merged

feat: migrate to OpenSpec workflow#38
LessUp merged 12 commits into
masterfrom
migrate-to-openspec

Conversation

@LessUp
Copy link
Copy Markdown
Collaborator

@LessUp LessUp commented Apr 23, 2026

Summary

  • 将项目规范体系迁移到 OpenSpec 工作流
  • 整合 AI 工具配置文件(AGENTS.md、CLAUDE.md 等)
  • 简化 CI 工作流,使用 trusted publisher 发布
  • 归档项目收尾规范化变更
  • 新增 OpenSpec 能力规范和治理流程文档

变更详情

核心变更

  • OpenSpec 迁移: 将 /specs 目录迁移到 openspec/,建立完整的规范体系
  • AI 工具整合: 合并分散的 AI 配置指令,统一项目指导文档
  • 文档精简: 移除冗余文档(changelog、quality assessment 等),优化 README

新增功能

  • OpenSpec 工作流命令(explore、propose、apply、archive)
  • 项目治理、开发者工作流、文档平台等能力规范
  • AI 工具配置指南文档

CI 改进

  • 简化 GitHub Actions 工作流
  • 使用 npm trusted publisher 自动发布

统计

  • 65 个文件变更
  • +2541 行,-1174 行

Test plan

  • 验证 npm run lint && npm run format:check && npm run typecheck && npm test 通过
  • 验证 npm run build 成功
  • 检查 OpenSpec 目录结构完整性
  • 确认文档站点可正常构建

shijiashuai added 12 commits April 23, 2026 02:37
- Migrate specs/ to openspec/specs/
- Create openspec/config.yaml with core profile
- Update CLAUDE.md with OpenSpec commands
- Archive AGENTS.md as AGENTS.md.legacy
- Add OpenSpec skills for Claude Code integration
- Preserve original specs/ as read-only reference
Remove migrated specs (api/, product/, rfc/, testing/) and release config.
The specs/ directory now serves as a stub pointing to openspec/specs/.
Release automation moved to GitHub Actions trusted publisher.
Add comprehensive change proposal for normalizing project governance,
documentation platform, public API alignment, developer workflow, and
quality gates. Updates OpenSpec config and spec index.
- Add AGENTS.md as project-level AI context source
- Trim AGENTS.md.legacy and QWEN.md to retired stubs
- Update CLAUDE.md with execution preferences and project facts
- Add .github/copilot-instructions.md for GitHub Copilot
- Add /benchmark, /docs, /release skills for Claude Code
- Remove docs/changelog.md (link to GitHub releases)
- Remove docs/quality/assessment.md (outdated assessment)
- Add docs/setup/ai-tooling.md for AI tool configuration guide
- Update API docs to reference OpenSpec as source of truth
- Simplify VitePress config and remove stale references
- Update tutorials and contributing guide
- Simplify CI workflow with cleaner job structure
- Update Pages deployment for streamlined docs build
- Remove semantic-release in favor of manual versioning
- Add CLAUDE.local.md to .gitignore
- Update CONTRIBUTING.md with OpenSpec workflow
- Simplify README references to point to OpenSpec specs
- Update typedoc.json config
Add .omc/ to gitignore for oh-my-claudecode plugin local state.
Move completed change to archive with all artifacts (proposal, design,
tasks, specs) for historical reference.
Promote capability specs from archived change to maintained specs:
- project-governance: project phase and governance model
- documentation-platform: documentation structure and policy
- developer-workflow: development workflow requirements
- public-api-alignment: API documentation discipline
- quality-gates: validation and quality baselines
Update index.md to reference the newly promoted capability specs
with proper links, reflecting the completed closeout normalization.
Remove project-closeout-normalization from active changes directory
now that it has been archived and specs promoted.
@codecov-commenter
Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@LessUp LessUp merged commit ab5f6f0 into master Apr 23, 2026
3 checks passed
@LessUp LessUp deleted the migrate-to-openspec branch April 23, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants