alignfirst-setup-guide

Installation
SKILL.md

AlignFirst Setup Guide

A one-time companion for setting up a consumer repository. It installs any subset of three independent tools:

  • docmap — agent-discoverable documentation under docs/.
  • workspace — worktree-based concurrent local dev environments.
  • alignfirst skills — collaborative spec/plan/AAD/review protocols.

Pick any combination. Each has its own reference; this skill investigates the repo, agrees on scope, then follows the matching reference(s).

Follow these four steps in order. Do not skip ahead: complete each before starting the next.

Step 1 — Investigate

Detect the stack and package manager: check the packageManager field in package.json, else the root lockfile — package-lock.json → npm, pnpm-lock.yaml → pnpm, yarn.lock → yarn, bun.lockb/bun.lock → bun — falling back to npm. Record the result — every reference in Step 3 reuses this one detection rather than repeating it.

Commands in this guide are written for npm; convert each one to the detected manager — both when you run it and when you write it into project files. Only npm needs a -- separator to pass flags to a script (npm run docmap -- --guide); pnpm and yarn drop the run and the separator (pnpm docmap --guide), and bun keeps run but needs no separator (bun run docmap --guide). Install verbs differ too (npm install -D vs pnpm add -D / yarn add -D / bun add -D).

Then detect each tool's existing footprint:

Installs
1
GitHub Stars
82
First Seen
3 days ago
alignfirst-setup-guide — paleo/alignfirst