templates/skills/languages/sas/SKILL.md
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
npx skillsauth add hivellm/rulebook SASInstall 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.
CRITICAL: Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
# Complete quality check sequence:
# Run SAS code validation (project-specific)
# Run SASUnit tests
# Check log files for errors/warnings
# SAS projects typically use:
sas -sysin validate_code.sas # Code validation
sas -sysin run_tests.sas # Run SASUnit tests
CRITICAL: Use SAS 9.4+ with code validation and testing.
IMPORTANT: These commands MUST match your GitHub Actions workflows!
# Pre-Commit Checklist (MUST match .github/workflows/*.yml)
# 1. Validate SAS code syntax (matches workflow)
sas -sysin your_program.sas -nosplash -print /dev/null
# 2. Run SASUnit tests (matches workflow)
%include "sasunit/run_all_tests.sas";
# 3. Check for warnings and errors (matches workflow)
grep -i "ERROR\|WARNING" your_program.log
# If ANY fails: ❌ DO NOT COMMIT - Fix first!
Why This Matters:
/* Good: Clear, commented, structured */
%macro process_data(input_ds=, output_ds=, threshold=0.5);
%* Validate inputs;
%if %length(&input_ds) = 0 %then %do;
%put ERROR: input_ds parameter required;
%return;
%end;
/* Process data */
data &output_ds;
set &input_ds;
where value > &threshold;
run;
%mend;
<!-- SAS:END -->research
Create structured analyses with numbered findings, execution plans, and task materialization
research
Author a rulebook task spec interactively — research, draft, ask the user clarifying questions, confirm, then create the tasks in rulebook ready for /rulebook-driver. Use when the user wants to plan/spec a feature before implementing.
development
Behavioral guidelines to reduce common LLM coding mistakes — overcomplication, sloppy refactors, hidden assumptions, weak goals. Use when writing, reviewing, or refactoring code. Auto-applies; invoke explicitly via /karpathy-guidelines or 'follow karpathy discipline'.
data-ai
Autonomous AI agent loop for iterative task implementation (@hivehub/rulebook ralph)