installskill

Skills / addyosmani/agent-skills

documentation-and-adrs

Records architecture decisions as ADRs and detects documentation that has drifted from the code.

Pinned commit
e997ac5b9a74Committed 2026-11-23
Files
112 KB
License
MIT
Snapshot taken
2026-11-28
Description from the skill
Records decisions and documentation, and detects when documentation has drifted from the code it describes. Use when you need to document an architecture decision (ADR) or the reasoning behind a design choice, when changing public APIs, shipping features, when docs may be stale or out of sync with the code they describe, when working out which module docs are still accurate, or when setting up a check so docs cannot silently go out of date again.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install addyosmani/agent-skills skills/documentation-and-adrs --agent claude-code --pin e997ac5b9a74eab332d5e9793bb38a38c8cfdd74

gh picks the directory for the agent, names the folder after the source directory (documentation-and-adrs), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read 09b6d9f338a00bdecfc62ba7cad3221c41b48560.

skills CLIpinned

$ npx skills add addyosmani/agent-skills@e997ac5b9a74eab332d5e9793bb38a38c8cfdd74 --skill documentation-and-adrs -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/addyosmani/agent-skills.git "$tmp"
$ git -C "$tmp" checkout --quiet e997ac5b9a74eab332d5e9793bb38a38c8cfdd74
$ mkdir -p .claude/skills
$ cp -R "$tmp/skills/documentation-and-adrs" .claude/skills/documentation-and-adrs

No extra tooling. Files land byte for byte as published in .claude/skills/documentation-and-adrs, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/documentation-and-adrs && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected914733c08bbaba2560c0876709e69e92166eaca48ceb7b986db764f779a8f641

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

SKILL.md · 1

Runs commands1

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 1 in docs and other text files

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packages1

Commands that pull and run third-party packages at use time.

0 in scripts · 1 in docs and other text files

Reads env or credentialsNo match

References to environment variables, tokens, keys or credential files.

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

No URLs found.

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
914733c08bbaba2560c0876709e69e92166eaca48ceb7b986db764f779a8f641
Git tree SHA
09b6d9f338a00bdecfc62ba7cad3221c41b48560
PathKindSizeSHA-256
SKILL.mdSKILL.md12 KBa55e540b4544237c…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
450limit 1,024 characters
SKILL.md body
317 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
None declared
License file
None declared
Repository license
LICENSE (MIT)

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.