forztf avatar

Openspec Context Loading Cn

This loads OpenSpec project context in Chinese, helping Claude discover what specs exist, which changes are in progress, and what capabilities are defined. You'd use it when someone asks "what specs do we have?" or "what's currently being worked on?" instead of manually hunting through directories. The guide includes pre-built commands for listing specs, searching requirements by keyword, and generating dashboard views of the whole project. It's essentially a discovery layer over an OpenSpec directory structure, with all the grep and find patterns you'd eventually write yourself anyway. The token budget note at the end (460 lines) suggests this was built with context window management in mind.

skills.sh installs
392
GitHub stars
10
last updated
Aug 21, 2026

Install

$ npx -y skills add forztf/open-skilled-sdd --skill openspec-context-loading-cn --agent claude-code

Installs into .claude/skills of the current project.

Files

规范上下文加载

发现并加载项目规范、进行中的变更和需求,以提供上下文。

快速开始

上下文加载可帮助回答:

  • 项目有哪些规范?
  • 目前有哪些进行中的变更?
  • 已定义了哪些需求?
  • 系统具备哪些能力?
  • 某项功能在何处有所规范?

基本模式:搜索 → 阅读 → 总结

发现命令

注意将控制台与管道输出编码统一为 UTF-8,确保中文字符正确显示。

列出所有规范

# 查找所有规范文件
find spec/specs -name "spec.md" -type f

# 查找所有能力目录
find spec/specs -mindepth 1 -maxdepth 1 -type d

# 显示规范树
tree spec/specs/  # 若已安装 tree
# 或
ls -R spec/specs/

输出格式:

spec/specs/
├── authentication/
│   └── spec.md
├── billing/
│   └── spec.md
└── notifications/
    └── spec.md

列出进行中的变更

# 显示所有进行中的变更
find spec/changes -maxdepth 1 -type d -not -path "spec/changes" -not -path "*/archive" | sort

# 显示修改时间
find spec/changes -maxdepth 1 -type d -not -path "spec/changes" -not -path "*/archive" -exec ls -ld {} \;

# 统计进行中的变更数量
find spec/changes -maxdepth 1 -type d -not -path "spec/changes" -not -path "*/archive" | wc -l

列出已归档的变更

# 显示所有已归档变更
ls -1 spec/archive/

# 显示日期
ls -la spec/archive/

# 查找最近 7 天归档的变更
find spec/archive/ -maxdepth 1 -type d -mtime -7

搜索需求

# 查找所有需求
grep -r "### Requirement:" spec/specs/

# 在特定能力中查找需求
grep "### Requirement:" spec/specs/authentication/spec.md

Sponsors

Details

Repository
github.com/forztf/open-skilled-sdd
First seen
Jun 3, 2026

More from forztf/open-skilled-sdd

All 16

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs