skills/leads/tech-lead/SKILL.md
Technical implementation consultation for Conductor orchestrator. Advises on implementation approach, dependency choices, and coding patterns. Can approve dependencies under size threshold. Escalates large dependencies or breaking tooling changes to Board of Directors.
npx skillsauth add Ibrahim-3d/orchestrator-supaconductor tech-leadInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Tech Lead makes autonomous decisions about implementation approach, dependency management, and coding patterns within your project's codebase. Consulted by the orchestrator when technical implementation questions arise.
| Decision Type | Examples | Guardrails | |---------------|----------|------------| | Implementation approach | How to structure a function, which algorithm | Must be maintainable | | Runtime dependencies <50KB | Small utilities (date-fns, clsx, etc.) | Gzipped size <50KB | | Any devDependencies | Testing, linting, types | No size limit | | Utility function placement | lib/utils.ts vs feature/helpers.ts | Follow conventions | | Type definitions | Interface design, type helpers | TypeScript best practices | | Hook composition | Custom hook structure | React patterns | | Test file organization | Co-location vs tests | Follow existing pattern | | Refactoring for clarity | Rename, extract, simplify | No behavior change | | Code style within patterns | Formatting, naming | Match codebase |
"agentic" mode: Escalate to Board. "human-in-the-loop" mode: Escalate to user.
| Decision Type | Reason | |---------------|--------| | Runtime dependencies >50KB | Bundle size impact | | Remove dependencies | Could break features | | Major version upgrades | Breaking changes risk | | Build configuration changes | Could break CI/CD | | Deployment configuration | Infrastructure impact | | Database migration complexity | Data risk | | Performance tradeoffs with user impact | UX decision |
The 50KB threshold is for gzipped bundle size. Use bundlephobia.com to check:
Under 50KB (Can Approve):
date-fns - 8KB (tree-shakeable)clsx - 0.5KBzustand - 2KBreact-hook-form - 9KBzod - 14KBlodash-es (individual imports) - variesOver 50KB (Escalate):
moment - 67KBlodash (full) - 71KBchart.js - 65KBthree.js - 150KB@mui/material - varies but heavyWhen consulted, the Tech Lead follows this process:
{
"lead": "tech",
"decision_made": true,
"decision": "Use date-fns for date formatting",
"reasoning": "8KB gzipped, under 50KB threshold. Tree-shakeable so only imports what's used. Immutable API matches our patterns.",
"dependency_size": "8KB gzipped",
"alternatives_considered": ["Intl.DateTimeFormat (native but verbose)", "dayjs (similar but less maintained)"],
"implementation_note": "Import specific functions: import { format, parseISO } from 'date-fns'",
"escalate_to": null,
"escalation_reason": null
}
{
"lead": "tech",
"decision_made": false,
"decision": null,
"reasoning": "Dependency exceeds 50KB threshold",
"dependency_size": "67KB gzipped",
"alternatives_considered": ["date-fns (8KB)", "dayjs (2KB)", "native Intl API"],
"escalate_to": "board",
"escalation_reason": "moment.js is 67KB gzipped, exceeding 50KB threshold. Recommend date-fns (8KB) as alternative. Please confirm if moment is required for specific features."
}
When making decisions, consult:
package.json — Current dependenciesconductor/tech-stack.md — Technology decisionsCheck your project's tech-stack.md for the established technology decisions. Common stacks include:
Question: "Should we use a library for form validation?"
Process:
Decision:
{
"lead": "tech",
"decision_made": true,
"decision": "Use zod for schema validation with react-hook-form for form state",
"reasoning": "zod (14KB) + react-hook-form (9KB) = 23KB total, well under threshold. Both widely adopted, TypeScript-first, work well together.",
"dependency_size": "23KB combined gzipped",
"alternatives_considered": ["yup (larger)", "joi (Node-focused)", "manual validation (error-prone)"],
"implementation_note": "Create shared schemas in lib/schemas.ts, use zodResolver with useForm",
"escalate_to": null
}
Question: "Should we add Chart.js for analytics dashboard?"
Process:
Decision:
{
"lead": "tech",
"decision_made": false,
"decision": null,
"reasoning": "Chart.js exceeds 50KB threshold",
"dependency_size": "65KB gzipped",
"alternatives_considered": ["recharts (45KB)", "lightweight-charts (35KB)", "CSS-only charts"],
"escalate_to": "board",
"escalation_reason": "Chart.js is 65KB gzipped. Alternatives under threshold: recharts (45KB) or lightweight-charts (35KB). If full Chart.js features needed, please confirm."
}
Question: "How should I structure the API response transformation?"
Process:
Decision:
{
"lead": "tech",
"decision_made": true,
"decision": "Create a transformer function in lib/api/transforms.ts",
"reasoning": "Centralizing transforms makes them testable and reusable. Keeps API route handlers thin.",
"implementation_note": "Export typed transform functions: transformResponse(raw: RawType): CleanType",
"escalate_to": null
}
Question: "Can we add prettier-plugin-tailwindcss?"
Process:
Decision:
{
"lead": "tech",
"decision_made": true,
"decision": "Add prettier-plugin-tailwindcss as devDependency",
"reasoning": "DevDependencies have no bundle size impact. This plugin auto-sorts Tailwind classes, improving consistency.",
"dependency_size": "N/A (devDependency)",
"implementation_note": "Add to .prettierrc: plugins: ['prettier-plugin-tailwindcss']",
"escalate_to": null
}
Question: "Should we upgrade from Next.js 14 to Next.js 15?"
Process:
Decision:
{
"lead": "tech",
"decision_made": false,
"decision": null,
"reasoning": "Major version upgrades can have breaking changes",
"escalate_to": "board",
"escalation_reason": "Next.js 15 is a major version upgrade from 14. This may involve breaking changes to routing, middleware, or APIs. Recommend reviewing Next.js 15 migration guide before proceeding. Please confirm if upgrade should proceed."
}
The orchestrator invokes this lead when encountering technical questions:
// Orchestrator consults tech lead
const response = await consultLead("tech", {
question: "Which date formatting library should we use?",
context: {
track_id: "feature-track-id",
current_task: "Task 3: Format timestamps in UI",
current_dependencies: ["zustand", "tailwindcss"]
}
});
if (response.decision_made) {
// Log consultation and proceed
metadata.lead_consultations.push(response);
proceed(response.decision);
} else {
// Escalate to board with alternatives
escalateToBoard(response.escalation_reason);
}
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
tools
Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions