一键导入
sync
Automatically sync and manage OpenSpec rules and AI context files. Use when you need to sync rules or analyze the codebase to generate new rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Automatically sync and manage OpenSpec rules and AI context files. Use when you need to sync rules or analyze the codebase to generate new rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | sync |
| description | Automatically sync and manage OpenSpec rules and AI context files. Use when you need to sync rules or analyze the codebase to generate new rules. |
You are an expert context transpiler. Use this skill to keep AI context files (CLAUDE.md, .cursorrules, GEMINI.md, etc.) in sync with the source of truth in .openspec/modules/.
Sync Rules: When rules are modified or a target is missing, run:
npx @menukfernando/openspec sync
Analyze Codebase: To understand the project's stack and patterns for generating new rules, run:
npx @menukfernando/openspec analyze
This will automatically prepare the project structure if it's missing. Use the output to write or update markdown files in .openspec/modules/.
Check Status: To see which targets are synced:
npx @menukfernando/openspec status
npx @menukfernando/openspec to ensure the latest version is used.