trio:init-project

Create Trio project folders, CLAUDE.md rule, and tech-stack contract.

5|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/10XTeams/trio --skill trio-init-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trio:init-project
Source: https://github.com/10XTeams/trio/tree/main/src-plugin/skills/trio%3Ainit-project
Command: npx skills add https://github.com/10XTeams/trio --skill trio-init-project

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill bootstraps a new Trio-managed project by creating the required folder skeleton (docs/ and trio/), generating the root-level CLAUDE.md folder rule, and producing the canonical docs/TDD/0.common/tech-stack.md (and code-structure.md when code/ exists). It ensures downstream skills and agents have a consistent starting point for workflows and contract-based collaboration.

Core Features & Use Cases

  • Phase 1 bootstrap that establishes the folder layout: docs/ PRD, TDD, Test-Case, Test-Report, and trio/ workspace with iteration scaffolding; and the top-level trio skeleton for untracked workflow artifacts.
  • Generates two fixed-name cross-command contracts under docs/TDD/0.common/: tech-stack.md (mandatory) and code-structure.md (produced by a code-structure agent when code/ exists).
  • Creates or updates CLAUDE.md at project root to enforce the Rule for Folder contract and provides a restartable baseline for Claude Code sessions.

Quick Start

Run trio:init-project to scaffold a new Trio project with the canonical docs skeleton and CLAUDE folder rule.

Frequently Asked Questions about trio:init-project

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

FAQPage Schema
How do I bootstrap a new project with a canonical docs folder structure?

Bootstrapping a project creates the required folder skeleton, generating docs/ and trio/ directories, a root-level CLAUDE.md folder rule, and canonical docs/TDD/0.common/tech-stack.md to establish a consistent baseline for project workflows.

What is a tech-stack.md file and when do I need it for project initialization?

A tech-stack.md file is a mandatory cross-command contract generated under docs/TDD/0.common/ during initialization. It is needed to provide downstream agents with a deterministic, file-based reference for your project's technology stack.

How do I generate code-structure.md when setting up a project workspace?

To generate code-structure.md, your project must contain a code/ directory. The initialization process automatically dispatches a code-structure agent to produce this file alongside tech-stack.md within the docs/TDD/0.common/ path.

Can I reinitialize an existing project workspace without losing my current documentation?

Yes, you can reinitialize a project from a clean workspace or existing directory. The process creates or updates the CLAUDE.md folder rule and generates deterministic file-based outputs without overwriting existing workflow artifacts in the trio/ workspace.

What's the best way to enforce folder rules for Claude Code sessions?

The best way to enforce folder rules is by generating a root-level CLAUDE.md file during project initialization. This establishes a restartable baseline that enforces the folder contract and ensures consistent behavior across Claude Code sessions.

Does the project scaffolding process work without any existing code?

Yes, the scaffolding process works from a clean workspace. It always generates the mandatory tech-stack.md, but it only produces the optional code-structure.md if an existing code/ directory is detected in the project root.