LonelyHerbivore

50 mods across 1 repository, 94 stars between them.

contribute

01

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Guide for contributing to Trellis documentation and marketplace. Covers adding spec templates, marketplace skills, documentation pages, and submitting PRs across both the Trellis main repo and docs repo. Use when someone wants to add a new spec template, add a new skill to the marketplace, add or update documentation…

94 8d ago A 72 tokens AGPL-3.0

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Systematic first principles thinking for any problem domain. Use when the user says "analyze from first principles", "第一性原理", "从根本分析", "从零开始思考", "think from scratch", "question this design", "is this the right approach", "challenge assumptions", "挑战假设", "为什么要这样做", "有没有更好的方案", "why are we doing it this way", or needs…

94 8d ago A 164 tokens AGPL-3.0

python-design

03

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Python design patterns for CLI scripts and utilities — type-first development, deep modules, complexity management, and red flags. Use when reading, writing, reviewing, or refactoring Python files, especially in .trellis/scripts/ or any CLI/scripting context. Also activate when planning module structure, deciding…

94 8d ago A 73 tokens AGPL-3.0

trellis-before-dev

04

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Discovers and injects project-specific coding guidelines from .trellis/spec/ before implementation begins. Reads spec indexes, pre-development checklists, and shared thinking guides for the target package. Use when starting a new coding task, before writing any code, switching to a different package, or needing to…

94 8d ago A 70 tokens AGPL-3.0

trellis-brainstorm

05

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Guides collaborative requirements discovery before implementation. Creates task directory, seeds PRD, asks high-value questions one at a time, researches technical choices, and converges on MVP scope. Use when requirements are unclear, there are multiple valid approaches, or the user describes a new feature or complex…

94 8d ago A 65 tokens AGPL-3.0

trellis-break-loop

06

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Deep bug analysis to break the fix-forget-repeat cycle. Analyzes root cause category, why fixes failed, prevention mechanisms, and captures knowledge into specs. Use after fixing a bug to prevent the same class of bugs.

94 8d ago A 50 tokens AGPL-3.0

trellis-check

07

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Comprehensive quality verification: spec compliance, lint, type-check, tests, cross-layer data flow, code reuse, and consistency checks. Use when code is written and needs quality verification, before committing changes, or to catch context drift during long sessions.

94 8d ago A 54 tokens AGPL-3.0

trellis-continue

08

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Resume work on the current task. Loads the workflow Phase Index, figures out which phase/step to pick up at, then pulls the step-level detail via getcontext.py --mode phase. Use when coming back to an in-progress task and you need to know what to do next.

94 8d ago A 62 tokens AGPL-3.0

trellis-finish-work

09

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Wrap up the current session: verify quality gate passed, remind user to commit, archive completed tasks, and record session progress to the developer journal. Use when done coding and ready to end the session.

94 8d ago A 46 tokens AGPL-3.0

trellis-meta

10

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Understand and customize the local Trellis architecture inside a user project. Use when modifying .trellis plus platform hooks, settings, agents, skills, commands, prompts, or workflows generated by trellis init.

94 8d ago A 45 tokens AGPL-3.0

trellis-start

11

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Initializes an AI development session by reading workflow guides, developer identity, git status, active tasks, and project guidelines from .trellis/. Classifies incoming tasks and routes to brainstorm, direct edit, or task workflow. Use when beginning a new coding session, resuming work, starting a new task, or…

94 8d ago A 73 tokens AGPL-3.0

trellis-update-spec

12

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Captures executable contracts and coding conventions into .trellis/spec/ documents. Use when learning something valuable from debugging, implementing, or discussion that should be preserved for future sessions.

94 8d ago A 40 tokens AGPL-3.0

ts-sdk-author

13

LonelyHerbivore/Trellis-Herbivore

Skill Claude CodeCodex

Design, build, verify, and publish production-grade TypeScript SDKs as npm packages inside a pnpm monorepo. Covers workspace layout, public API and module boundaries, plugin extension points, branded types and library-tuned tsconfig, tsdown bundling (vs tsup/tsc-only/unbuild), package.json exports with dual ESM+CJS…

94 8d ago A 219 tokens AGPL-3.0

trellis-research

16

LonelyHerbivore/Trellis-Herbivore

Agent Claude Code

Code and tech search expert. Finds files, patterns, and tech solutions, and PERSISTS every finding to the current task's research/ directory. No code modifications outside that directory.

94 8d ago A 42 tokens AGPL-3.0

finish-work

19

LonelyHerbivore/Trellis-Herbivore

Command Claude Code

Wrap up the current session: archive the active task (and any other completed-but-unarchived tasks the user wants to clean up) and record the session journal. Code commits are NOT done here — those happen in workflow Phase 3.4 before you invoke this command.

94 8d ago A 0 tokens AGPL-3.0

publish-skill

21

LonelyHerbivore/Trellis-Herbivore

Command Claude Code

Sync a marketplace skill to the documentation site. Creates skill detail pages (EN/ZH), updates the marketplace index, and updates docs.json navigation.

94 8d ago A 0 tokens AGPL-3.0

SessionStart

22

LonelyHerbivore/Trellis-Herbivore

Hook Claude Code

Runs when a session starts on startup, clear and compact, executing session-start.py via python3 (3 commands). From LonelyHerbivore/Trellis-Herbivore.

94 8d ago A tokens not measured AGPL-3.0

PreToolUse

23

LonelyHerbivore/Trellis-Herbivore

Hook Claude Code

Runs before the agent uses a tool for Task and Agent tool calls, executing inject-subagent-context.py via python3 (2 commands). From LonelyHerbivore/Trellis-Herbivore.

94 8d ago A tokens not measured AGPL-3.0

UserPromptSubmit

24

LonelyHerbivore/Trellis-Herbivore

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing inject-workflow-state.py via python3. From LonelyHerbivore/Trellis-Herbivore.

94 8d ago A tokens not measured AGPL-3.0