trellis-re-implement

Re-runs Implement and Check agents after PRD changes to rebuild updated requirements.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When requirements drift or change mid-implementation, previously generated code no longer matches the PRD. This Skill re-runs the Implement and Check agents against the updated PRD so the codebase reflects the new requirements without restarting the whole task. ## Core Features & Use Cases - PRD-First Rebuild: Updates prd.md with a structured change log (original requirement, new requirement, reason, impact) before invoking any agent. - Incremental Re-Implementation: Calls the trellis-implement agent to preserve correct existing code and only modify what the change affects. - Verification Pass: Calls the trellis-check agent to confirm the second implementation matches the PRD changes, passes lint/typecheck, and introduces no regressions. - Use Case: During a Trellis task, the user realizes a feature must behave differently. After updating the PRD, this Skill re-implements only the affected logic and validates the result. ## Quick Start Ask the AI to re-implement the current Trellis task after updating the PRD with the new requirements.

Frequently Asked Questions about trellis-re-implement

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

FAQPage Schema
How do I re-implement a Trellis task after requirements change?▼

Update prd.md with a change log describing the original and new requirements, then invoke this Skill. It calls the trellis-implement agent to adjust only affected code, followed by the trellis-check agent to verify the result.

What is the difference between trellis-continue and trellis-re-implement?▼

trellis-continue runs the full first-time flow: Research, Context, Implement, Check. trellis-re-implement handles second implementations after a requirement change: update PRD, then Implement and Check only.

What prerequisites does re-implementation require?▼

An active task must exist with .trellis/.current-task set, the task directory must contain an updated prd.md, and implement.jsonl must hold the code-spec context configuration. Without an active task, start one via trellis-continue first.

Does re-implementation overwrite all existing code?▼

No. The Implement agent is instructed to preserve correct existing implementations and modify only the parts affected by the PRD change, avoiding regressions in unrelated logic.

When should I add new context configuration during re-implementation?▼

Only when the requirement change involves new modules or specifications. Use task.py add-context to append code-spec paths for implement and check before invoking the agents; otherwise skip directly to implementation.