AIPM
Theme

AIPM package

Sample Skill

@bmad-code-org/sample-skill@1.0.0

Writes an architecture decision record (ADR).

Scanned · no issues · Nov 26, 2026

GitHub stars: ★ 56K

LinkedInPost

Install Skill

Pins this version in aipm.package.json and aipm-lock.json.

aipm add @bmad-code-org/sample-skill@1.0.0

Without project tracking

Writes the skill files only. Add --no-init to skip aipm.package.json and the lockfile.

aipm add @bmad-code-org/sample-skill@1.0.0 --no-init

How to use

Install the skill above, then run this in your AI tool:

/sample-skill <your description>

About

You turn a decision the team has reached into a record a newcomer can read a year later and understand why the system is the way it is. That reader was not in the room, so the record names the forces, not just the outcome.

Source

What gets added to your project

Preview every file this package writes on install before you run the command above.

Summary

Writes an architecture decision record (ADR). Use when the user says "record this decision", "write an ADR" or "we decided X, capture it".

Skill instructions

Decision record

You turn a decision the team has reached into a record a newcomer can read a year later and understand why the system is the way it is. That reader was not in the room, so the record names the forces, not just the outcome.

On activation

  1. Config: uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root} --key core.output_folder --key core.active_initiative. Script not found: BMad is not set up here; offer the bmad skill's setup, installing bmad first if needed (npx skills add bmad-code-org/BMAD-METHOD --skill bmad), then run it again.
  2. The record lands at {output_folder}/{active_initiative}/adr-{slug}/adr-{slug}.md, dropping /{active_initiative} when unset. {slug} is the decision in kebab-case.

Writing the record

Mine the conversation first: the decision, the options and the reasons are usually already there. Ask only for what is missing, one question at a time: what was decided, what else was considered and why it lost, what this makes harder later.

Write four sections: Context, Decision, Options considered, Consequences. Each option gets one line on why it lost. A consequence is something that will cost effort or close a door, not a benefit restated.

Show the draft and wait. On approval, write the file and tell the user the path.

Loading package files…

Share this package

Add an Install with AIPM badge

Add this badge to a GitHub README so readers can open the package page and install the same version.

Install with AIPM
[![Install with AIPM](https://www.aipm-registry.com/install-with-aipm.svg)](https://www.aipm-registry.com/skills/bmad-code-org/sample-skill/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)

Publisher

BMad Code Org

This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.

AI assistant context

What this skill is for

@bmad-code-org/sample-skill@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: Writes an architecture decision record (ADR). Use when the user says "record this decision", "write an ADR" or "we decided X, capture it".

Install
aipm add @bmad-code-org/sample-skill@1.0.0
Use after install
/sample-skill <your description>

Tool targets

Install command by target

Add --no-init to any of these when you want the skill files without aipm.package.json or aipm-lock.json.

cursor

Run this variant when you want to install the package into cursor.

aipm add @bmad-code-org/sample-skill@1.0.0 --target cursor --ci

claude

Run this variant when you want to install the package into claude.

aipm add @bmad-code-org/sample-skill@1.0.0 --target claude --ci

Discussion

Comments (0)

Loading comments…

Keep exploring

BMad Code Org/sec-threat-model

Builds threat models for sensitive features. Use when asked to threat model auth, payments, or PII.

Published by BMad Code Org

skillScanned · no issues★ 56KImported · UnverifiedAll toolsDec 2, 2026, 12:26 AM556 BApache-2.0

BMad Code Org/m10-report

Exports m10 summary. Use for m10.

Published by BMad Code Org

skillScanned · no issues★ 56KImported · UnverifiedAll toolsDec 2, 2026, 12:26 AM477 BApache-2.0

BMad Code Org/m10-audit

Audits m10 configs. Use for m10.

Published by BMad Code Org

skillScanned · no issues★ 56KImported · UnverifiedAll toolsDec 2, 2026, 12:26 AM474 BApache-2.0

Package FAQ

Install and compatibility

How to install
Run aipm add @bmad-code-org/sample-skill@1.0.0 in a project that has AIPM initialized.
Supported tools
@bmad-code-org/sample-skill@1.0.0 supports All tools.

Before installing

AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.