# Buy Vs Build Adr

> Use when a non-obvious buy-vs-build decision was just made and should be recorded durably, or when a project keeps a docs/decisions/ log of Architecture Decision Records (ADRs) for build/buy/reuse and dependency choices.

- **Type:** Skill
- **Install:** `agentstack add skill-stdin-buy-vs-build-buy-vs-build-adr`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [stdin](https://agentstack.voostack.com/s/stdin)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [stdin](https://github.com/stdin)
- **Source:** https://github.com/stdin/buy-vs-build/tree/main/skills/buy-vs-build-adr

## Install

```sh
agentstack add skill-stdin-buy-vs-build-buy-vs-build-adr
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Buy vs Build ADR

Capture non-obvious buy-vs-build decisions as Architecture Decision Records so the reasoning — and the trigger to revisit it — survives the pull request.

## When to record

Record an ADR when a decision is non-obvious or hard to reverse:

- Adding or removing a dependency.
- Choosing a commercial service over owning a capability.
- Building something in-house.
- Picking one technical option over a comparable one (for example, Server-Sent Events over WebSockets).

Skip it for obvious, trivial, easily reversible choices. An ADR is a few sentences, not an essay — it mirrors the one-line decision note the rule already produces, just durable and reviewable.

## How to record

ADRs live in `docs/decisions/`, numbered sequentially as `NNNN-title.md`. Use the next free number. Either run the helper:

```bash
node scripts/record-decision.js \
  --title "Use Server-Sent Events for the live feed" \
  --rung native-platform \
  --decision "Stream updates with SSE over HTTP." \
  --rejected "WebSockets, because the feed is one-way and full-duplex is unused." \
  --revisit "the feed needs bidirectional messaging."
```

…or, if no helper is available, create `docs/decisions/NNNN-title.md` by hand with this shape:

```markdown
# NNNN. 

- Status: Accepted
- Date: 
- Rung: 

## Context

## Decision

**Tradeoff:** 
**Rejected:**  because 

## Consequences

Revisit if .
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [stdin](https://github.com/stdin)
- **Source:** [stdin/buy-vs-build](https://github.com/stdin/buy-vs-build)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-stdin-buy-vs-build-buy-vs-build-adr
- Seller: https://agentstack.voostack.com/s/stdin
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
