All skills
code-element-professionalism
FoundationJIT onlyanalysis-agent/task-agent/review-agent: use when variables, expressions, or statements can alter local semantics; skip structure, API, language, or runtime ownership.
- Group
- Engineering workflow
- Supported roles
- MainAnalysisTaskReview
- Source
- SKILL.md
Use when
Trigger signals that make this skill the right owner
- code element variable initialization sentinel scope lifetime mutation capture alias shadowing
- expression defaulting truthiness coercion narrowing precedence short-circuit evaluation order hidden assignment mutation IO time randomness
- statement branch loop retry fallthrough ignored result broad catch cleanup termination commit event cache notification lock async lifecycle
Do not use when
Anti-triggers — as binding as the triggers above
- the unresolved decision is function class file directory module signature or public API ownership
- the issue depends on language runtime performance concurrency transaction or cross-system semantics beyond the local element
Required inputs
What must be supplied before this skill can decide anything
- changed variable expression or statement and reachable local paths
- material state distinctions evaluation assumptions exit obligations and effect order
- focused tests or static evidence plus language and runtime limits
Output contract
What this skill owes the next role
- local code-element decision with affected element and inspected scope, preserved value-state and exit obligations, semantic risk and selected change, current evidence, proof limits, residual risk, and required specialist handoffs
Escalation signals
When this skill must hand the decision back
- A local value expression or exit-path change can alter authority state cleanup durable effects or user-visible outcomes
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 |
|---|---|---|---|
| variables.mdtargeted | A code-element decision depends on variable initialization sentinel scope mutation capture alias or lifetime semantics | The variable is an immutable local with an immediate unambiguous initializer and no escaped alias | TaskReviewAnalysis |
| expressions.mdtargeted | A material expression can change defaulting coercion evaluation order conversion or hidden effects | The expression is a language-conventional value computation with obvious semantics and no material side effect | TaskReviewAnalysis |
| statements.mdtargeted | A statement can change termination cleanup error translation fallthrough commit-effect order lock scope or async lifecycle | The statement sequence is straight-line local code with no material exit resource transaction concurrency or async boundary | TaskReviewAnalysis |