sasjs-core

Installation
SKILL.md

@sasjs/core - SAS Macro Library

@sasjs/core is an MIT-licensed library of production-quality SAS macros for SAS application development, portable across SAS 9 (meta), Viya, and SASjs server.

Coding standards (mandatory)

  • One macro per file; filename must match the macro name (lowercase, no spaces)
  • Macro definitions must use parentheses: %macro x(); not %macro x;
  • Macro calls are NOT terminated with a semicolon: %my_macro() not %my_macro();
  • All macro variables must be declared %local to prevent scope leakage
  • Always use mf_getuniquefileref when assigning filerefs, and mf_getuniquelibref when assigning librefs (never hardcode or hand-roll unique references)
  • 2-space indentation, no tabs, no trailing spaces, no invisible characters, max line length 300 (hard lint limit) but keep lines to 80 chars max where possible
  • Every file must have a Doxygen header:
/**
  @file
  @brief One-line description of the macro
Installs
226
Repository
sasjs/skills
GitHub Stars
3
First Seen
Aug 11, 2026
sasjs-core — sasjs/skills