Tlc spec driven

From diegosouzapw/awesome-omni-skills · View interactive version

Tlc spec driven is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skills. Tech Lead's Club - Spec-Driven Development workflow skill. Use this skill when the user needs Project and feature planning with 4 adaptive phases - Specify, Design, Tasks, Execute. Auto-sizes depth by complexity. Creates atomic tasks with verification criteria, atomic git commits, requirement tracea

How to use this skill

Skill file

Tech Lead's Club - Spec-Driven Development

Overview

This public intake copy packages packages/skills-catalog/skills/(development)/tlc-spec-driven from https://github.com/tech-leads-club/agent-skills into the native Omni Skills editorial shape without hiding its origin.

Use it when the operator needs the upstream workflow, support files, and repository context to stay intact while the public validator and private enhancer continue their normal downstream flow.

This intake keeps the copied upstream files intact and uses the external_source block in metadata.json plus ORIGIN.md as the provenance anchor for review.

Tech Lead's Club - Spec-Driven Development Plan and implement projects with precision. Granular tasks. Clear dependencies. Right tools. Zero ceremony. `` ┌──────────┐ ┌──────────┐ ┌─────────┐ ┌─────────┐ │ SPECIFY │ → │ DESIGN │ → │ TASKS │ → │ EXECUTE │ └──────────┘ └──────────┘ └─────────┘ └─────────┘ required optional optional required * Agent auto-skips when scope doesn't need it ``

Imported source sections that did not map cleanly to the public headings are still preserved below or in the support files. Notable imported sections: Project Structure, Context Loading Strategy, Sub-Agent Delegation, Skill Integrations, Knowledge Verification Chain, Output Behavior.

When to Use This Skill

Use this section as the trigger filter. It should make the activation boundary explicit before the operator loads files, runs commands, or opens a pull request.

Operating Table

| Situation | Start here | Why it matters |

| --- | --- | --- |

| First-time use | metadata.json | Confirms repository, branch, commit, and imported path through the external_source block before touching the copied workflow |

| Provenance review | ORIGIN.md | Gives reviewers a plain-language audit trail for the imported source |

| Workflow execution | references/brownfield-mapping.md | Starts with the smallest copied file that materially changes execution |

| Supporting context | references/code-analysis.md | Adds the next most relevant copied source file without loading the entire package |

| Handoff decision | ## Related Skills | Helps the operator switch to a stronger native skill when the task drifts |

Workflow

This workflow is intentionally editorial and operational at the same time. It keeps the imported source useful to the operator while still satisfying the public intake standards that feed the downstream enhancer flow.

  1. Initialize project → PROJECT.md + ROADMAP.md
  2. For each feature → Specify → (Design) → (Tasks) → Execute (depth auto-sized)
  3. Map codebase → 7 brownfield docs
  4. For each feature → same adaptive workflow
  5. Confirm the user goal, the scope of the imported workflow, and whether this skill is still the right router for the task.
  6. Read the overview and provenance files before loading any copied upstream support files.
  7. Load only the references, examples, prompts, or scripts that materially change the outcome for the current request.

Imported Workflow Notes

Imported: Workflow

New project:

  1. Initialize project → PROJECT.md + ROADMAP.md
  2. For each feature → Specify → (Design) → (Tasks) → Execute (depth auto-sized)

Existing codebase:

  1. Map codebase → 7 brownfield docs
  2. Initialize project → PROJECT.md + ROADMAP.md
  3. For each feature → same adaptive workflow

Quick mode: Describe → Implement → Verify → Commit (for ≤3 files, one-sentence scope)

Imported: Project Structure
.specs/
├── project/
│   ├── PROJECT.md      # Vision & goals
│   ├── ROADMAP.md      # Features & milestones
│   └── STATE.md        # Memory: decisions, blockers, lessons, todos, deferred ideas
├── codebase/           # Brownfield analysis (existing projects)
│   ├── STACK.md
│   ├── ARCHITECTURE.md
│   ├── CONVENTIONS.md
│   ├── STRUCTURE.md
│   ├── TESTING.md
│   ├── INTEGRATIONS.md
│   └── CONCERNS.md
├── features/           # Feature specifications
│   └── [feature]/
│       ├── spec.md     # Requirements with traceable IDs
│       ├── context.md  # User decisions for gray areas (only when discuss is triggered)
│       ├── design.md   # Architecture & components (only for Large/Complex)
│       └── tasks.md    # Atomic tasks with verification (only for Large/Complex)
└── quick/              # Ad-hoc tasks (quick mode)
    └── NNN-slug/
        ├── TASK.md
        └── SUMMARY.md

Examples

Example 1: Ask for the upstream workflow directly

Use @tlc-spec-driven to handle <task>. Start from the copied upstream workflow, load only the files that change the outcome, and keep provenance visible in the answer.

Explanation: This is the safest starting point when the operator needs the imported workflow, but not the entire repository.

Example 2: Ask for a provenance-grounded review

Review @tlc-spec-driven against metadata.json and ORIGIN.md, then explain which copied upstream files you would load first and why.

Explanation: Use this before review or troubleshooting when you need a precise, auditable explanation of origin and file selection.

Example 3: Narrow the copied support files before execution

Use @tlc-spec-driven for <task>. Load only the copied references, examples, or scripts that change the outcome, and name the files explicitly before proceeding.

Explanation: This keeps the skill aligned with progressive disclosure instead of loading the whole copied package by default.

Example 4: Build a reviewer packet

Review @tlc-spec-driven using the copied upstream files plus provenance, then summarize any gaps before merge.

Explanation: This is useful when the PR is waiting for human review and you want a repeatable audit packet.

Imported Usage Notes

Imported: Commands

Project-level:

| Trigger Pattern | Reference |

|----------------|-----------|

| Initialize project, setup project | project-init.md |

| Create roadmap, plan features | roadmap.md |

| Map codebase, analyze existing code | brownfield-mapping.md |

| Document concerns, find tech debt, what's risky | concerns.md |

| Record decision, log blocker, add todo | state-management.md |

| Pause work, end session | session-handoff.md |

| Resume work, continue | session-handoff.md |

Feature-level (auto-sized):

| Trigger Pattern | Reference |

|----------------|-----------|

| Specify feature, define requirements | specify.md |

| Discuss feature, capture context, how should this work | discuss.md |

| Design feature, architecture | design.md |

| Break into tasks, create tasks | tasks.md |

| Implement task, build, execute | implement.md |

| Validate, verify, test, UAT, walk me through it | validate.md |

| Quick fix, quick task, small change, bug fix | quick-mode.md |

Best Practices

Treat the generated public skill as a reviewable packaging layer around the upstream repository. The goal is to keep provenance explicit and load only the copied source material that materially improves execution.

Imported Operating Notes

Imported: Auto-Sizing: The Core Principle

The complexity determines the depth, not a fixed pipeline. Before starting any feature, assess its scope and apply only what's needed:

| Scope | What | Specify | Design | Tasks | Execute |

| ----------- | ------------------------ | ------------------------------------------------------- | ----------------------------------------------- | ----------------------------- | ----------------------------------------------------- |

| Small | ≤3 files, one sentence | Quick mode — skip pipeline entirely | - | - | - |

| Medium | Clear feature, <10 tasks | Spec (brief) | Skip — design inline | Skip — tasks implicit | Implement + verify |

| Large | Multi-component feature | Full spec + requirement IDs | Architecture + components | Full breakdown + dependencies | Implement + verify per task |

| Complex | Ambiguity, new domain | Full spec + discuss gray areas | Research + architecture | Breakdown + parallel plan | Implement + interactive UAT |

Rules:

Safety valve: Even when Tasks is skipped, Execute ALWAYS starts by listing atomic steps inline (see implement.md). If that listing reveals >5 steps or complex dependencies, STOP and create a formal tasks.md — the Tasks phase was wrongly skipped.

Troubleshooting

Problem: The operator skipped the imported context and answered too generically

Symptoms: The result ignores the upstream workflow in packages/skills-catalog/skills/(development)/tlc-spec-driven, fails to mention provenance, or does not use any copied source files at all.

Solution: Re-open metadata.json, ORIGIN.md, and the most relevant copied upstream files. Check the external_source block first, then restate the provenance before continuing.

Problem: The imported workflow feels incomplete during review

Symptoms: Reviewers can see the generated SKILL.md, but they cannot quickly tell which references, examples, or scripts matter for the current task.

Solution: Point at the exact copied references, examples, scripts, or assets that justify the path you took. If the gap is still real, record it in the PR instead of hiding it.

Problem: The task drifted into a different specialization

Symptoms: The imported skill starts in the right place, but the work turns into debugging, architecture, design, security, or release orchestration that a native skill handles better.

Solution: Use the related skills section to hand off deliberately. Keep the imported provenance visible so the next skill inherits the right context instead of starting blind.

Related Skills

Additional Resources

Use this support matrix and the linked files below as the operator packet for this imported skill. They should reflect real copied source material, not generic scaffolding.

| Resource family | What it gives the reviewer | Example path |

| --- | --- | --- |

| references | copied reference notes, guides, or background material from upstream | references/brownfield-mapping.md |

| examples | worked examples or reusable prompts copied from upstream | examples/n/a |

| scripts | upstream helper scripts that change execution or validation | scripts/n/a |

| agents | routing or delegation notes that are genuinely part of the imported package | agents/n/a |

| assets | supporting assets or schemas copied from the source package | assets/n/a |

Imported Reference Notes

Imported: Context Loading Strategy

Base load (~15k tokens):

On-demand load:

Never load simultaneously:

Target: <40k tokens total context

Reserve: 160k+ tokens for work, reasoning, outputs

Monitoring: Display status when >40k (see context-limits.md)

Imported: Sub-Agent Delegation

Use sub-agents (the Task tool or equivalent) to keep the main context window lean and enable

parallel execution. The orchestrating agent plans and coordinates; sub-agents do the heavy lifting.

When to delegate to a sub-agent:

| Activity | Delegate? | Why |

|---|---|---|

| Research (design phase, brownfield mapping) | Yes | Research output is large; only the summary matters to the main context |

| Implementing a task | Yes | File reads, edits, test output consume context; only the result matters |

| Parallel [P] tasks | Yes (one per task) | The only way to actually run tasks in parallel |

| Sequential tasks with no [P] | Yes | Keeps implementation artifacts out of the main context |

| Planning, task creation, validation reports | No | These require the full accumulated context to be coherent |

| Quick mode tasks | No | Too small to justify the overhead |

Context each sub-agent receives:

The orchestrating agent MUST provide each sub-agent with:

The sub-agent does NOT receive: other tasks' definitions, accumulated chat history, validation reports

from other tasks, or STATE.md (unless the task explicitly references a decision/blocker).

What sub-agents return:

Each sub-agent reports back:

The orchestrating agent uses this to update tasks.md status, traceability, and decide next steps.

Imported: Skill Integrations

This skill coexists with other skills. Before specific tasks, check if complementary skills are installed and prefer them when available.

Diagrams → mermaid-studio

Whenever the workflow requires creating or updating a diagram (architecture overviews, data flows, component diagrams, sequence diagrams, etc.), always check if the mermaid-studio skill is installed in the user's environment before proceeding. If it is installed, delegate all diagram creation and rendering to it. If it is not installed, proceed with inline mermaid code blocks as usual and recommend the user install mermaid-studio for richer diagram capabilities (rendering to SVG/PNG, validation, theming, etc.). Display this recommendation at most once per session.

Code Exploration → codenavi

Whenever the workflow requires exploring or discovering things in an existing repository (brownfield mapping, code reuse analysis, pattern identification, dependency tracing, etc.), always check if the codenavi skill is installed in the user's environment before proceeding. If it is installed, delegate code exploration and navigation tasks to it. If it is not installed, fall back to the built-in code analysis tools (see code-analysis.md) and recommend the user install codenavi for more effective codebase exploration. Display this recommendation at most once per session.

Imported: Knowledge Verification Chain

When researching, designing, or making any technical decision, follow this chain in strict order. Never skip steps.

Step 1: Codebase → check existing code, conventions, and patterns already in use
Step 2: Project docs → README, docs/, inline comments, .specs/codebase/
Step 3: Context7 MCP → resolve library ID, then query for current API/patterns
Step 4: Web search → official docs, reputable sources, community patterns
Step 5: Flag as uncertain → "I'm not certain about X — here's my reasoning, but verify"

Rules:

Imported: Output Behavior

Model guidance: After completing lightweight tasks (validation, state updates, session handoff), naturally mention once that such tasks work well with faster/cheaper models. Track in STATE.md under Preferences to avoid repeating. For heavy tasks (brownfield mapping, complex design), briefly note the reasoning requirements before starting.

Be conversational, not robotic. Don't interrupt workflow—add as a natural closing note. Skip if user seems experienced or has already acknowledged the tip.

Imported: Code Analysis

Use available tools with graceful degradation. See code-analysis.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.