before-dev

Discover and inject project-specific coding guidelines from .trellis/spec into development workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

New tasks or context switches can lead developers to unknowingly violate project conventions or miss repository-specific patterns. This Skill ensures contributors read and apply the repository's pre-development checklists and guidelines so work starts aligned with existing standards.

Core Features & Use Cases

  • Discover applicable specs: Enumerates packages and spec layers to determine which guidelines apply to the target package.
  • Pre-development checklist enforcement: Directs the developer to the index and the specific guideline documents referenced by the checklist to ensure compliance before coding.
  • Shared guidance lookup: Reminds the developer to consult repository-wide guides for conventions and common patterns.
  • Use Case: Use when beginning a new feature, switching to a different package, or preparing to write tests or documentation to avoid rework and maintain consistency.

Quick Start

Read the relevant .trellis/spec index and guideline files for the package you will modify before writing any code.

Frequently Asked Questions about before-dev

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

FAQPage Schema
How do I discover and apply project-specific coding guidelines before starting a new task?

To apply project-specific coding guidelines, read the .trellis/spec index and guideline files for your target package before writing any code. You must run the repository helper script to enumerate packages and determine the applicable spec layers for your development workflow.

What are pre-development specs and when do I need them in a repository?

Pre-development specs are project-specific coding guidelines stored under .trellis/spec. You need them when starting a new feature, switching to a different package, or preparing to write tests and documentation to prevent rework and maintain consistency with existing standards.

How do I enforce a pre-development checklist for package-specific conventions?

To enforce a pre-development checklist, read the spec index and specific guideline documents referenced by the checklist for your target package. This ensures compliance with repository-wide guides, common patterns, and package-specific conventions before any coding begins.

Does this spec discovery process work with multi-package repositories?

Yes, the spec discovery process works with multi-package repositories by running a repository helper script to enumerate packages and determine applicable layers. It directs developers to the correct .trellis/spec index and guideline files for the specific package being modified.

Why should I read .trellis spec files before switching to a different package?

You should read .trellis spec files before switching packages because new tasks or context switches can lead developers to unknowingly violate project conventions. Reading the spec indexes and guideline files ensures your work starts aligned with existing repository-specific patterns.

What limitations exist when injecting coding conventions from .trellis spec directories?

The primary limitation is that this process only works if the repository contains a .trellis/spec directory with valid index and guideline files. It relies on existing documentation and a helper script to enumerate packages, meaning undocumented conventions will not be discovered.