All skills
dependency-wiring-lifecycle
FoundationJIT onlyanalysis-agent/task-agent/review-agent: use when construction, injection, lifecycle scope, clients, overrides, or shutdown ownership changes; skip unaffected wiring.
- Group
- Engineering workflow
- Supported roles
- MainAnalysisTaskReview
- Source
- SKILL.md
Use when
Trigger signals that make this skill the right owner
- dependency wiring lifecycle
- dependency wiring lifecycle checks
- dependency wiring lifecycle composition root constructor injection factory provider service locator lifecycle scope singleton reusable client pool startup validation shutdown cleanup test override circular dependency configuration driven wiring
Do not use when
Anti-triggers — as binding as the triggers above
- no task-local dependency wiring lifecycle decision is required
Required inputs
What must be supplied before this skill can decide anything
- current task contract
- selected primary Professional Skill
- task-local trigger evidence
Output contract
What this skill owes the next role
- dependency-wiring decision with composition authority, graph direction, lifetime and context scope, reusable-resource ownership, startup and shutdown behavior, override fidelity, evidence limits, and residual owners
Escalation signals
When this skill must hand the decision back
- Unclear dependency ownership causes per-operation clients service locators global mutable state circular graphs resource leaks and untestable wiring
Loaded by
This skill never owns a task. These professionals may pull it in as Layer 3.
Targeted references
Each reference carries its own load condition. None of them enter context by default.
| Reference | Load when | Do not load when | Required by |
|---|---|---|---|
| benchmarks-and-patterns.mdbenchmark-pattern | Construction ownership, lifecycle scope, or provider patterns remain open. | Existing composition roots already own the changed dependency. | TaskReviewAnalysis |
| checklist.mddecision-checklist | Wiring changes clients, pools, shutdown, cancellation, or test overrides. | No dependency edge or resource lifecycle changes. | TaskReviewAnalysis |
| evidence-patterns.mdevidence-pattern | Lifecycle claims require fresh graph, startup, or cleanup proof. | No reuse, scope, or shutdown claim needs validation. | TaskReviewAnalysis |