Skip to content
rd-skills
All skills

code-element-professionalism

FoundationJIT only

analysis-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.

ReferenceLoad whenDo not load whenRequired by
variables.mdtargetedA code-element decision depends on variable initialization sentinel scope mutation capture alias or lifetime semanticsThe variable is an immutable local with an immediate unambiguous initializer and no escaped aliasTaskReviewAnalysis
expressions.mdtargetedA material expression can change defaulting coercion evaluation order conversion or hidden effectsThe expression is a language-conventional value computation with obvious semantics and no material side effectTaskReviewAnalysis
statements.mdtargetedA statement can change termination cleanup error translation fallthrough commit-effect order lock scope or async lifecycleThe statement sequence is straight-line local code with no material exit resource transaction concurrency or async boundaryTaskReviewAnalysis