trellis-before-dev

Loads project coding guidelines from .trellis/spec/ before implementation begins.

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/SilentFlower/flower-trellis --skill trellis-before-dev-silentflower
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: trellis-before-dev
Source: https://github.com/SilentFlower/flower-trellis/tree/main/.agents/skills/trellis-before-dev
Command: npx skills add https://github.com/SilentFlower/flower-trellis --skill trellis-before-dev-silentflower

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers often start coding without reviewing project-specific conventions, leading to inconsistent code that violates established standards. This Skill ensures relevant guidelines, checklists, and shared thinking guides are read before any code is written. ## Core Features & Use Cases - Spec Discovery: Runs get_context.py to enumerate packages and their spec layers, then reads the appropriate spec index files for the target package. - Pre-Development Checklists: Follows the Pre-Development Checklist in each spec index to locate concrete guideline files like error-handling.md and conventions.md. - Task Artifact Awareness: Reads prd.md, design.md, and implement.md to align guidelines with current requirements. - Use Case: Before modifying the cli/ package, the Skill reads .trellis/spec/cli/ index files and shared guides so the implementation follows the project's error handling and mocking standards. ## Quick Start Before writing any code for this task, load the relevant Trellis project guidelines and pre-development checklists for the package I am about to modify.

Frequently Asked Questions about trellis-before-dev

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

FAQPage Schema
How do I load project coding guidelines before writing code?▼

Run the get_context.py script in packages mode to list spec layers, then read the spec index for your target package and follow its Pre-Development Checklist. The checklist points to concrete guideline files like error-handling.md and conventions.md.

What is the Trellis pre-development checklist workflow?▼

The workflow reads task artifacts (prd.md, design.md, implement.md), discovers package spec layers, reads each relevant spec index, and then reads the specific guideline files listed in the Pre-Development Checklist before any code is written.

Does this skill work with monorepo packages?▼

Yes. It identifies which package you are modifying, such as cli/ or docs-site/, and reads only the spec indexes and guidelines relevant to that package plus the shared guides under .trellis/spec/guides/.

When should I refresh project conventions during a task?▼

Refresh conventions when starting a new coding task, switching to a different package, or when the global Project Knowledge Discovery policy has not yet run for the current user intent or workflow phase.

What happens if I skip reading the spec index files?▼

Skipping the spec index means missing the Pre-Development Checklist, which is the pointer to actual guideline files. The skill marks this step as mandatory before writing any code to avoid violating project standards.