trellis-spec-bootstarp

Analyze repository code patterns to generate .trellis/spec files and index.

96|10|Updated Aug 15, 2024
One-click install
npx skills add https://github.com/shanyan-wcx/Harmonic --skill trellis-spec-bootstarp-shanyan-wcx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trellis-spec-bootstarp
Source: https://github.com/shanyan-wcx/Harmonic/tree/main/.opencode/skills/trellis-spec-bootstarp
Command: npx skills add https://github.com/shanyan-wcx/Harmonic --skill trellis-spec-bootstarp-shanyan-wcx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates the creation of project-specific Trellis spec guidance directly from the actual codebase, reducing guesswork and keeping specs in sync with the repository.

Core Features & Use Cases

  • Analyze repository structure to identify package and layer boundaries.
  • Generate concrete, evidence-backed .trellis/spec files and update index navigation.
  • Support iterative refinement by re-analyzing after code changes.

Quick Start

Run the Trellis bootstrap to generate the initial .trellis/spec suite from the current codebase.

Frequently Asked Questions about trellis-spec-bootstarp

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

FAQPage Schema
How do I bootstrap Trellis spec guidelines from an existing codebase?

To bootstrap Trellis spec guidelines, analyze the repository structure to identify package and layer boundaries, then generate concrete, evidence-backed .trellis/spec files reflecting actual source files, tests, and project docs.

What are .trellis spec files and when do I need them?

.trellis spec files are concrete project-specific guidance documents grounded in real code patterns. You need them to reduce guesswork and keep project specifications in sync with the actual repository structure.

Can I refresh existing .trellis specs after making code changes?

Yes, you can refresh existing .trellis specs by re-analyzing the repository after code changes. This iterative refinement updates package and layer boundaries to reflect the current codebase state.

Does the Trellis spec bootstrapping process support repositories with no existing documentation?

Yes, the Trellis spec bootstrapping process supports repositories lacking documentation by analyzing actual source files and tests to determine boundaries, ensuring final specs contain no placeholders.

What's the best way to keep project specifications synchronized with repository code patterns?

The best way to keep specifications synchronized is automating spec creation directly from the codebase, which analyzes real code patterns to produce evidence-backed .trellis spec files and update index navigation.

Are placeholder values allowed in generated .trellis spec files?

No, placeholder values are not allowed in generated .trellis spec files. The final specs must be based entirely on actual source files, tests, and project documentation to ensure accuracy.