trellis-before-dev

Loads project-specific coding guidelines from .trellis/spec before writing code.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/exhyy/face-crop --skill trellis-before-dev-exhyy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: trellis-before-dev
Source: https://github.com/exhyy/face-crop/tree/main/.claude/skills/trellis-before-dev
Command: npx skills add https://github.com/exhyy/face-crop --skill trellis-before-dev-exhyy

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 coding guidelines, checklists, and shared thinking guides are read before any implementation begins. ## Core Features & Use Cases - Spec Discovery: Runs a script to list packages and their spec layers so you know which guidelines apply to your task. - Pre-Development Checklists: Reads spec index files and follows their checklists to load relevant guideline documents like error-handling and conventions. - Shared Guides: Always loads shared thinking guides from .trellis/spec/guides to align with project-wide standards. - Use Case: Before modifying the backend package, run this Skill to discover applicable specs, read the error-handling and conventions guidelines, and then write code that matches project standards. ## Quick Start Before writing any code, load the relevant Trellis development guidelines 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 with --mode packages to discover spec layers, then read the relevant index.md files under .trellis/spec for your package. Follow the Pre-Development Checklist in each index to load the actual guideline files.

What is the Trellis spec directory structure?▼

Specs live under .trellis/spec organized by package and layer, each with an index.md containing a Pre-Development Checklist. Shared thinking guides for all packages live in .trellis/spec/guides/index.md.

When should I read the Trellis pre-development checklist?▼

Read it before writing any code, when starting a new coding task, when switching to a different package, or whenever you need to refresh project conventions. The step is mandatory before implementation begins.

Does this Skill work without the .trellis directory?▼

No, it depends on the .trellis/scripts/get_context.py script and .trellis/spec directory structure. If those files are missing from the repository, the discovery and guideline-reading steps cannot run.