trellis-before-dev

Discover and inject project-specific coding guidelines from the .trellis/spec repository before implementation.

2|Updated Oct 15, 2023
One-click install
npx skills add https://github.com/gdm257/scoop-257 --skill trellis-before-dev-gdm257
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trellis-before-dev
Source: https://github.com/gdm257/scoop-257/tree/main/.opencode/skills/trellis-before-dev
Command: npx skills add https://github.com/gdm257/scoop-257 --skill trellis-before-dev-gdm257

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers need a consistent baseline of project-specific guidelines before diving into code to reduce misalignment and rework.

Core Features & Use Cases

  • Discover packages and their spec layers: Locates and loads .trellis/spec guidelines for the target package.
  • Identify applicable specs: Determines which specs apply based on the target package and work type (backend, frontend, docs, etc.).
  • Read the Pre-Development Checklist and shared guides: Open the checklist for the relevant module and consult the shared thinking guides.
  • Always read shared guides: Review the guides index to understand overarching standards.

Quick Start

Begin by reading the Trellis guidelines and apply them to your current coding task.

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-specific coding guidelines before starting development?

To load project-specific coding guidelines before starting development, this Skill reads the .trellis/spec repository, identifying package-specific spec layers, pre-development checklists, and shared thinking guides to inject into your context. It ensures consistent standards by applying relevant guidelines based on the target package and work type.

What are pre-development checklists and when should I use them?

Pre-development checklists are module-specific guidelines stored in the .trellis/spec repository that you should use before starting new coding tasks, switching packages, or refreshing project conventions. They ensure consistent standards by applying relevant guidelines based on the target package and work type.

How do I apply backend or frontend coding standards to a specific package?

To apply backend or frontend coding standards to a specific package, the Skill identifies applicable specs from the .trellis/spec directory based on the target package and work type. It then loads these guidelines, along with shared thinking guides, into your context to ensure consistent standards.

Do I need a .trellis/spec directory to ingest coding guidelines?

Yes, you need a .trellis/spec directory containing spec indexes, pre-development checklists, and shared thinking guides to ingest coding guidelines. The Skill locates and loads these project-specific guidelines from that repository to inject them into your context before implementation.

What's the best way to ensure consistent coding standards across different packages?

The best way to ensure consistent coding standards across different packages is to ingest project-specific guidelines from the .trellis/spec repository before switching packages. The Skill discovers applicable specs, reads the guides index, and loads overarching standards into your context.

Why does my code violate project conventions even when guidelines exist?

Your code might violate project conventions because guidelines were not loaded into context before implementation. This Skill prevents misalignment by reading the .trellis/spec indexes, pre-development checklists, and shared thinking guides to inject project-specific guidelines before you start coding.