OSpec CLI
Description
Document-driven OSpec workflow for AI-assisted development with change-ready initialization, execution, validation, archiving, and docs maintenance.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
name: ospec description: Document-driven OSpec workflow for AI-assisted development with change-ready initialization, execution, validation, and archive readiness. tags: [cli, workflow, automation, typescript, ospec, bootstrap]
OSpec CLI
Document-driven OSpec workflow for AI-assisted development with change-ready initialization, execution, validation, archiving, and docs maintenance.
Default Entry
When the user says something short like:
使用 ospec 初始化项目使用 ospec 初始化这个目录use ospec to initialize this directoryuse ospec to initialize this repo
expand it internally as:
- initialize the repository with
ospec initso it ends in a change-ready state - if project context is missing and the AI can ask follow-up questions, ask one concise question for project summary or tech stack
- if the user declines or the flow is CLI-only, continue with placeholder project docs
- create the first change only when explicitly requested
Do not force the user to repeat those steps manually when the request is already clear.
Treat plain project-init intent as enough to trigger this flow. Do not require the user to restate the guardrails in a longer prompt.
Mandatory Init Execution
When the user asks to initialize a directory, do not freehand the initialization flow.
If the user intent is simply to initialize the project or current directory, treat that as a request for this mandatory flow.
Use this exact behavior:
- run
ospec init [path]when the directory is uninitialized or not yet change-ready - if AI assistance is available and the repository lacks usable project context, ask one concise follow-up for summary or tech stack before init when helpful
- verify the actual filesystem result before claiming initialization is complete
- stop before
ospec newunless the user explicitly asks to create a change
Never replace `ospec init` with manual directory creation or a hand-written approximation.
Do not say initialization is complete unless the managed protocol-shell assets and baseline project knowledge docs actually exist on disk.
Required checks after `ospec init`:
.skillrc.ospec/changes/active/changes/archived/SKILL.mdSKILL.index.jsonbuild-index-auto.cjsfor-ai/ai-guide.mdfor-ai/execution-protocol.mdfor-ai/naming-conventions.mdfor-ai/skill-conventions.mdfor-ai/workflow-conventions.mdfor-ai/development-guide.mddocs/project/overview.mddocs/project/tech-stack.mddocs/project/architecture.mddocs/project/module-map.mddocs/project/api-overview.md
During plain init, do not report `docs/SKILL.md`, `src/SKILL.md`, `tests/SKILL.md`, or business scaffold as if they were part of change-ready completion.
Prompt Profiles
Use these prompt styles as the preferred mental model.
1. Minimal Prompt
Use when the user already trusts OSpec defaults.
Use ospec to initialize this project.
2. Standard Prompt
Use when y
Related Agents
Opencode
(60.8k ⭐) - The open source AI coding agent.
Data & AI Gemini CLI
(90.5k ⭐) - An open-source AI agent that brings the power of Gemini directly into your terminal.
Data & AI Chatgpt On Wechat
CowAgent是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、拥有长期记忆并不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页
Data & AI Claude Mem
(13.1k ⭐) - A Claude Code plugin that automatically captures everything Claude does during your coding session
Data & AI Read research for Nyquist validation data
cat "$phase_dir"/*-RESEARCH.md 2>/dev/null node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" roadmap get-ph
Data & AI Multi Agent Review
| A sophisticated AI-powered code review system designed to provide comprehensive, multi-perspective a... | -
Data & AI