new-objective

Installation
SKILL.md

This skill handles all the boilerplate: creating the objective struct, implementing the Objective trait, registering it in the appropriate enum, creating a const key, adding an ObjectiveFunction, creating a Criterion benchmark, and running sync_targets.sh.

<Execution_Policy>

  • The user must provide an objective name (lowercase with underscores, e.g. cyclomatic_complexity).
  • Ask the user what is being measured and whether it's a static analysis or performance objective.
  • Follow existing patterns exactly — study lloc.rs (static analysis) and binding.rs (performance) as models.
  • Always run clippy and tests before reporting success. </Execution_Policy>

Phase 1: Gather Requirements

  1. Validate the argument {{ARGUMENTS}}: must be a valid Rust identifier (lowercase alphanumeric + underscores). Reject otherwise.
  2. Ask the user:
Related skills
Installs
3
Repository
a16z/jolt
GitHub Stars
987
First Seen
Apr 27, 2026