openspec-init

Initialize OpenSpec structure by detecting project framework and language.

19|5|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/digital-stoic-org/agent-skills --skill openspec-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-init
Source: https://github.com/digital-stoic-org/agent-skills/tree/main/dstoic/skills/openspec-init
Command: npx skills add https://github.com/digital-stoic-org/agent-skills --skill openspec-init

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenSpec initialization eliminates manual project scaffolding by automatically detecting the project context and creating a ready-to-use OpenSpec structure.

Core Features & Use Cases

  • Detects project framework and language and scaffolds an OpenSpec layout.
  • Generates starter files (project.md, AGENTS.md) with contextual templates.
  • Simple CLI-based onboarding for new projects or existing repos requiring OpenSpec setup.

Quick Start

Run the openspec-init command with an optional project description to bootstrap the OpenSpec structure.

Frequently Asked Questions about openspec-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up OpenSpec project scaffolding for an existing repository?

To set up OpenSpec project scaffolding, run the openspec-init command. It automatically detects your project context and creates a ready-to-use OpenSpec directory layout.

Does OpenSpec initialization work with Python and Rust projects?

Yes, OpenSpec initialization works with Python, Rust, Node.js, and other ecosystems. It automatically detects the language and framework to scaffold the correct layout.

What files are generated when I bootstrap an OpenSpec structure?

Bootstrapping an OpenSpec structure generates starter files including openspec/project.md and AGENTS.md. These files use contextual templates based on your detected framework.

How does framework detection work during project initialization?

Framework detection during project initialization is fully automated. The system scans your repository to identify the language, framework, and entry points to build contextual templates.

What is the best way to automate project setup for OpenSpec across different ecosystems?

The best way to automate OpenSpec project setup is using the CLI-based onboarding. One command applies automated context detection to scaffold the structure across any ecosystem.

Do I need to manually configure entry points before initializing OpenSpec?

No, you do not need to manually configure entry points. The initialization process ensures automated detection of framework, language, and entry points directly from your project.