ensemble-full-implement-trd

ensemble-full-implement-trd is a skill for Claude Code from FortiumPartners/ensemble. It costs 65 tokens per session (1,523 once invoked), scanned A, original, MIT.

A workflow that implements a complete Technical Requirements Document (TRD), a detailed plan for building software, using feature branches and structured development. It coordinates planning, coding, testing, and quality checks.

In plain words
What is it for?
Use it to create a feature branch, verify the repository setup, implement TRD tasks, run TDD-based tests, and pass quality gates.
Why use it?
It provides an ordered path from approved technical requirements to completed code. Branch and staleness checks help prevent work from being based on outdated plans.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the ensemble-pi plugin — 7 skills, 6 agents shipped together

Good fit Use it to create a feature branch, verify the repository setup, implement TRD tasks, run TDD-based tests, and pass quality gates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fortiumpartners/ensemble/ensemble-full-implement-trd
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add FortiumPartners/ensemble --skill ensemble-full-implement-trd
Clone the repo
git clone --depth 1 https://github.com/FortiumPartners/ensemble

Made for: Claude Code.

Or install ensemble-pi, the plugin that ships this one along with the rest of its 7 skills, 6 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ensemble-full-implement-trd

README.md
[![agentmods](https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-full-implement-trd.svg)](https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-full-implement-trd)
Your own site
<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-full-implement-trd"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-full-implement-trd.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,523 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.01523
Opus 5 $0.00032 $0.00762
Sonnet 5 $0.00013 $0.00305
Haiku 4.5 $0.00006 $0.00152

Measured 4d ago against content hash ebeaeb5c5c02, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ensemble-full-implement-trd scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/pi/skills/ensemble-full-implement-trd/SKILL.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ensemble:implement-trd

Mission: This command implements a complete Technical Requirements Document (TRD) using modern git-town feature branch workflow. It creates a feature branch and delegates to ensemble-orchestrator which routes to tech-lead-orchestrator for structured TDD-based development including planning, implementation, testing, and quality gates.

Phase 1: Prerequisites & Feature Branch Setup

Step 1: Git Town Verification

Check git-town installation and configuration using validation script

Actions:

  1. Execute validation script - bash packages/git/skills/git-town/scripts/validate-git-town.sh
  2. Handle exit codes - 0 (success), 1 (not installed), 2 (not configured), 3 (version mismatch), 4 (not git repo)
  3. If validation fails, escalate with specific error message
  4. Ensure clean working directory (git status)

Step 2: TRD Staleness Gate

Check TRD freshness before creating a feature branch. Skip if branch already exists (resume). Algorithm defined in packages/development/skills/staleness-gate/SKILL.md.

Actions:

  1. Derive TRD_PATH from $ARGUMENTS (the .md path argument).
  2. Derive TRD_SLUG from TRD_PATH filename (lowercase, replace non-alphanumeric with hyphens).
  3. Resume detection: run 'git branch --list feature/<TRD_SLUG>-sprint-1'. If this returns a branch name: IS_RESUME=true. If empty: IS_RESUME=false.
  4. Execute the TRD Staleness Gate per packages/development/skills/staleness-gate/SKILL.md using TRD_PATH and IS_RESUME.
  5. On HALT from skill: do not proceed. Implementation stops.
  6. On RETURN from skill: continue to step 3 (Feature Branch Creation).

Step 3: Feature Branch Creation

Create sprint-1 feature branch using git-town skill interview template

Actions:

  1. Load interview template from packages/git/skills/git-town/templates/interview-branch-creation.md
  2. Extract TRD slug from TRD filename (lowercase, hyphens replacing spaces/underscores)
  3. Read ENSEMBLE_USE_STACKED_PRS env var: STACKED_PRS=true only if its value equals 'true' (case-insensitive), else false (DEFAULT — single PR). Log: 'Stacked PRs: <enabled if STACKED_PRS else disabled (single PR)>'.
  4. Set CURRENT_SPRINT=1. If STACKED_PRS=true: set CURRENT_BRANCH=feature/-sprint-1. If STACKED_PRS=false: set CURRENT_BRANCH=feature/ (single branch for the whole TRD).
  5. Validate branch name against pattern - ^[a-z0-9-]+(/[a-z0-9-]+)*$
  6. Set base_branch to main (or current default branch)
  7. Execute - git town hack <CURRENT_BRANCH> (creates the first branch off the default branch; fallback - git switch -c <CURRENT_BRANCH>)
  8. Verify branch creation successful (check git branch output)

Read the full file on GitHub · 125 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 125 lines · 65 tokens per session scan A ebeaeb5c5c02

Subscribe to this mod's changes

ensemble-full-implement-trd is a skill published in the GitHub repository FortiumPartners/ensemble (11 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 1,523 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.