lint-shell SKILL.md skillB

lint-shell from lyther/agent-surface is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add lyther/agent-surface/lint-shell@git:20260806.146d8e8

Pins git:20260806.146d8e8 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
lyther/agent-surface
Path
skills/lint-shell/SKILL.md
Versions recorded
1
Latest version
git:20260806.146d8e8, committed Aug 6, 2026
Size
1,579 bytes
Repository stars
65
License
MIT

Apply strict shell-script engineering rules before code is accepted.

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

## §0 META: YOU WILL BE AUDITED

You are generating shell scripts that will be **reviewed line-by-line by a hostile auditor** who assumes you are lazy, incompetent, and lying until proven otherwise.

Shell scripts are the #1 source of production incidents. Every line can fail silently. Every variable can be unset. Every command can behave differently across systems.

**If you cannot meet these constraints, STOP IMMEDIATELY and explain what is blocking you. Do not produce garbage and hope it passes.**

## PROCEDURE

1. **Identify scope**: Determine which `.sh`/`.bash` files were touched or are under review.
2. **Apply language rules**: The Shell policy is in `rules/14-shell.mdc` in agent-surface source and may be rendered to the current host. Apply it together with the repository's configured linters and formatters.
3. **Run toolchain gates**:

```bash
shellcheck -S error *.sh
shellcheck -S warning *.sh
```

4. **Report findings** using the output format below.

## OUTPUT FORMAT

For each script file:

```text
## <script-path>

Verdict: <BLOCKER | MAJOR | MINOR | CLEAN>

Findings:
- [severity] line N: description
- [severity] line M: description

Fix:
- concrete action per finding
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add lyther/agent-surface/lint-shell@sha256:289cc240a04eeced

The line at the top of this page pins the label git:20260806.146d8e8, 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_ht3xdzuhtvnfkyhp.svg)](https://markdownregistry.com/a/art_ht3xdzuhtvnfkyhp)

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

Versions

The registry has recorded 1 version of this file, committed on Aug 6, 2026.

versioncommittedcommitsizeaudit
git:20260806.146d8e8 latest2026-08-06 146d8e8 1,579 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1579 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

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

lyther/agent-surface · 65 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ht3xdzuhtvnfkyhp
GET https://markdownregistry.com/api/v1/resolve?ref=lyther/agent-surface/lint-shell
GET https://markdownregistry.com/api/v1/blob/289cc240a04eecedb915224aa16dc6b6f80ff3413f5b6326fce93956a507e613

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 lyther/agent-surface

analyzing-malware-with-ghidra SKILL.md skill
lyther/agent-surface · mcps/grimoire/test/fixtures/pack/skills/analyzing-malware-with-ghidra/SKILL.md · Reverse engineer a suspicious binary in Ghidra — load and auto-analyze the
git:20260920.3643162 · audit A · 65 stars
detecting-cobalt-strike-beacons SKILL.md skill
lyther/agent-surface · mcps/grimoire/test/fixtures/pack/skills/detecting-cobalt-strike-beacons/SKILL.md · Detect Cobalt Strike C2 beacons in network captures by spotting jittered
git:20260920.3643162 · audit A · 65 stars
implementing-mfa-enforcement SKILL.md skill
lyther/agent-surface · mcps/grimoire/test/fixtures/pack/skills/implementing-mfa-enforcement/SKILL.md · Enforce multi-factor authentication across an identity provider — configure
git:20260920.3643162 · audit A · 65 stars
no-frontmatter-bad SKILL.md skill
lyther/agent-surface · mcps/grimoire/test/fixtures/pack/skills/no-frontmatter-bad/SKILL.md
git:20260920.3643162 · audit C · 65 stars
arch-contract SKILL.md skill
lyther/agent-surface · skills/arch-contract/SKILL.md · Define aligned domain, data, API, and interface contracts without exposing internal storage as the public boundary.
git:20260806.146d8e8 · audit A · 65 stars
arch-diagram SKILL.md skill
lyther/agent-surface · skills/arch-diagram/SKILL.md · Build an evidence-backed architecture atlas with presentation-grade views, dataflow, and source-linked runtime traces.
git:20261018.a646269 · audit A · 65 stars
arch-roadmap SKILL.md skill
lyther/agent-surface · skills/arch-roadmap/SKILL.md · Convert a concept-zero HLD into a comprehensive architecture and executable roadmap.
git:20260903.280fae3 · audit A · 65 stars
boot-concept SKILL.md skill
lyther/agent-surface · skills/boot-concept/SKILL.md · Research and write the concept-zero high-level design for a project.
git:20260806.146d8e8 · audit A · 65 stars
boot-context SKILL.md skill
lyther/agent-surface · skills/boot-context/SKILL.md · Reload durable memory, active work, and repository reality before editing.
git:20260920.f7617b0 · audit A · 65 stars
boot-new SKILL.md skill
lyther/agent-surface · skills/boot-new/SKILL.md · Bootstrap the smallest runnable project structure that fits the product goal, stack, and requested maturity.
git:20260806.146d8e8 · audit A · 65 stars
boot-repro SKILL.md skill
lyther/agent-surface · skills/boot-repro/SKILL.md · Create a reproducible environment and command path for a project.
git:20260920.f7617b0 · audit A · 65 stars
boot-workflow SKILL.md skill
lyther/agent-surface · skills/boot-workflow/SKILL.md · Show the risk-adaptive agent-surface workflow map, execution profiles, formal-ledger boundary, and next-command rules…
git:20260903.280fae3 · audit A · 65 stars

Every file in lyther/agent-surface

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