.claude/skills/detect-metrics/SKILL.md
Detect and list all metric functions in the yardstick package. Use when a user asks to find, list, or identify all metrics in the package.
npx skillsauth add tidymodels/yardstick detect-metricsInstall 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.
Find all metric definitions (recommended):
grep -E ".* <- new_.*_metric\(" R/*.R
Find available metric constructors:
grep -E "^new_.*_metric <- function" R/*.R
Check exported metrics:
grep "^export(" NAMESPACE | sed 's/export(//' | sed 's/)//'
Each metric has:
UseMethod()metric_name <- new_*_metric(metric_name, direction = "minimize"|"maximize"|"zero")*_metric_summarizer()metric_name_vec()R/aaa-new.R - Metric constructor definitionsR/fair-aaa.R - Groupwise metric constructorR/template.R - Metric summarizer functionsdevelopment
Guide for creating new Claude Code skills. Use when you need to create a new skill to package expertise or workflow into a reusable capability that Claude can automatically invoke.
testing
Guide for deprecating R functions/arguments. Use when a user asks to deprecate a function or parameter, including adding lifecycle warnings, updating documentation, adding NEWS entries, and updating tests.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------