xiaosongz

Sas94 Skill — Data skill for Claude Code

Data community

Claude Code skill for SAS 9.4 — DATA step, PROC SQL, macros, hash tables, ODS, stats procs.

How to install Sas94 Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open xiaosongz/sas94-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Sas94 Skill does

Claude Code skill for SAS 9.4 — DATA step, PROC SQL, macros, hash tables, ODS, stats procs.

Alternatives in Data

  • Private GPT — Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more 57.5k ★
  • SQL Queries — Generate SQL queries from natural language across major dialects 7.8k ★
  • Vibesec — Helps write secure code by preventing common vulnerabilities including IDOR, XSS, SQL injection, SSRF, and wea 687 ★

README

sas94-skill

A [Claude Code](https://docs.anthropic.com/en/docs/claude-code) skill for writing, reviewing, and debugging SAS 9.4 code with AI assistance.

SAS 9.4 is the daily driver for biostatisticians, health-services researchers, and pharma/claims analysts, yet SAS is underrepresented in LLM training corpora. This skill distills rules and idioms from MIT-licensed sources (`sasjs/lint`, `sasjs/core`) plus hand-transcribed SAS-programmer pitfalls (GWU data-mining curriculum), and routes Claude Code to topic-specific reference files on demand.

**Status:** `v0.0.1` pre-release. Reference content is organized as per-topic atom directories under `references/`, with each atom covering one concept (e.g. `references/data-step/merge.md`, `references/macros/scope-and-quoting.md`). Atoms are populated across both REQUIRED sections (Overview, Critical Rules, Canonical Idioms, Function/Statement Quick Ref, See Also) and OPTIONAL sections (Silent Pitfalls, Anti-patterns). See [`docs/coverage-matrix.md`](docs/coverage-matrix.md) for per-file status.

What This Skill Does

When activated, Claude Code can:

  • Translate study descriptions into idiomatic SAS 9.4 (DATA step, PROC SQL, macros, PROC FREQ/MEANS/LOGISTIC, hash tables, ODS)
  • Catch silent-failure patterns before code ships — MERGE overwrite, LAG-inside-IF, missing retain on accumulators, macro-quoting errors, PROC APPEND shape mismatches, and more
  • Enforce the 15 rules from sasjs/lint v2.4.3 covering macro definition, file headers, line formatting, and source hygiene
  • Apply sasjs/core macro patterns — positional-required + keyword-optional signatures, %local discipline, iftrue= guards, /*/STORE SOURCE*/ registration
  • Route to topic-specific reference files for deep dives

Installation

Recommended: Claude Code plugin marketplace

Two slash commands inside any Claude Code session:

/plugin marketplace add xiaosongz/sas94-skill
/plugin install sas94@sas9