sasjs-core SKILL.md skillA

sasjs-core from sasjs/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add sasjs/skills/sasjs-core@git:20261103.7a7a8d4

Pins git:20261103.7a7a8d4 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
sasjs/skills
Path
sasjs-core/SKILL.md
Versions recorded
7
Latest version
git:20261103.7a7a8d4, committed Nov 3, 2026
First version recorded
Aug 17, 2026
Size
6,938 bytes
Repository stars
3
License
MIT

Standards and conventions for the @sasjs/core SAS macro library (mf_*, mp_*, mm*, ms_*, mv_* macros). Use when writing or editing SAS macros in a sasjs/core-style repo, picking an existing macro over reinventing one, or the sasjs/core build, lint, doxygen, and testing conventions.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# @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:

```sas
/**
  @file
  @brief One-line description of the macro

  <h4> SAS Macros </h4>
  @li mf_othermacro.sas

  @param [in] paramname Description
  @param [out] outparam Description

  <h4> Related Macros </h4>
  @li mp_related.sas

  @version 9.4
  @author Your Name
**/
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sasjs/skills/sasjs-core@sha256:9426be72615afd18

The line at the top of this page pins the label git:20261103.7a7a8d4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_gy6zn7b2u24ihjkv.svg)](https://markdownregistry.com/a/art_gy6zn7b2u24ihjkv)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Aug 17, 2026 and Nov 3, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20261103.7a7a8d4 latest2026-11-03 7a7a8d4 6,938 BA view · diff
git:20261021.2b9490a2026-10-21 2b9490a 5,989 BA view · diff
git:20260915.398399c2026-09-15 398399c 4,891 BA view · diff
git:20260903.2d38a892026-09-03 2d38a89 4,906 BA view · diff
git:20260817.64898b22026-08-17 64898b2 4,538 BA view · diff
git:20260817.471dcae2026-08-17 471dcae 4,487 BA view · diff
git:20260817.a1136362026-08-17 a113636 4,382 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6938 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

sasjs/skills · 3 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_gy6zn7b2u24ihjkv
GET https://markdownregistry.com/api/v1/resolve?ref=sasjs/skills/sasjs-core
GET https://markdownregistry.com/api/v1/blob/9426be72615afd18be561e2f888a9ce318cff38b59f646388b8c3d6adf1f853e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from sasjs/skills

sas-packages SKILL.md skill
sasjs/skills · sas-packages/SKILL.md · Installing, loading and unloading SAS packages with the SAS Packages Framework (SPF) and the SASPAC archive - the…
git:20260925.6f49a2b · audit A · 3 stars
sas SKILL.md skill
sasjs/skills · sas/SKILL.md · Expert guidance for the SAS programming language - DATA step, PROC SQL, macro language, formats, ODS, and common…
git:20261103.7a7a8d4 · audit A · 3 stars
sasjs-adapter SKILL.md skill
sasjs/skills · sasjs-adapter/SKILL.md · Frontend/Node integration with SAS backends using @sasjs/adapter - configuring the SASjs class, the exact request()…
git:20260915.398399c · audit B · 3 stars
sasjs-cli SKILL.md skill
sasjs/skills · sasjs-cli/SKILL.md · Using the SASjs CLI (@sasjs/cli) to create, compile (whole project or a single file), build, deploy, run, and test…
git:20261027.fdf3d8b · audit A · 3 stars
sasjs-framework SKILL.md skill
sasjs/skills · sasjs-framework/SKILL.md · Building full SASjs applications - project structure, sasjsconfig.json, services/jobs/macros folders, multi-target (SAS…
git:20260921.4fac612 · audit A · 3 stars
sasjs-lint SKILL.md skill
sasjs/skills · sasjs-lint/SKILL.md · Linting and formatting SAS code with @sasjs/lint - the .sasjslint rules and their defaults, the macro-declaration rules…
git:20261107.08fda21 · audit A · 3 stars
sasjs-server SKILL.md skill
sasjs/skills · sasjs-server/SKILL.md · Installing, configuring, and running @sasjs/server - the open-source NodeJS wrapper around the SAS binary that provides…
git:20261101.6faff03 · audit B · 3 stars

Every file in sasjs/skills

Browse by kind, by grade A, or by owner.