Adds home.activation.pstackSkills, which installs the eleven adopted pstack skills into ~/.agents/skills from a pinned fetchFromGitHub of cursor/plugins at commit 6b0300214a09fd6029cfb7077043125758cd1fd2 (folder pstack/skills).
Each run removes and recopies only the eleven target directories, so a renamed upstream file never lingers and every other skill stays untouched.
pstack's tdd copy is skipped because the captain's own tdd skill owns that name.
The block stops the rebuild with a clear stderr message and non-zero exit if the source tree or a copy fails.
Why these eleven skills exist is recorded in firstmate's docs/adopted-skills.md; the pin is the reproducibility record in this repo.
The darwin system built without switching (no rebuild.sh, no darwin-rebuild switch).
2. Activation body works against a scratch home
The block body was extracted with nix eval --raw .#darwinConfigurations.lt-mbp.config.home-manager.users.laptran.home.activation.pstackSkills.data, then run with HOME pointed at a fresh temp directory that already held an unrelated skill:
pstackSkills: installed 11 pinned skills into <scratch>/.agents/skills
installed dirs: architect benchmark-checklist blast-radius captain-own correct create-verification-skill ketchup maintain-verification-skill recall statechart technical-writing unslop
tdd present? no
captain-own content: captain own tdd
stale file in statechart: removed
SKILL.md count: 12 (eleven installed + captain-own)
Each installed tree was also compared to the pinned source with diff -r, with no differences.
## Summary
Adds `home.activation.pstackSkills`, which installs the eleven adopted pstack skills into `~/.agents/skills` from a pinned `fetchFromGitHub` of `cursor/plugins` at commit `6b0300214a09fd6029cfb7077043125758cd1fd2` (folder `pstack/skills`).
- Each run removes and recopies only the eleven target directories, so a renamed upstream file never lingers and every other skill stays untouched.
- pstack's `tdd` copy is skipped because the captain's own `tdd` skill owns that name.
- The block stops the rebuild with a clear stderr message and non-zero exit if the source tree or a copy fails.
- Why these eleven skills exist is recorded in firstmate's `docs/adopted-skills.md`; the pin is the reproducibility record in this repo.
## Verification
### 1. Configuration evaluates and builds
```
$ nix build .#darwinConfigurations.lt-mbp.system --no-link
$ echo $?
0
```
The darwin system built without switching (no `rebuild.sh`, no `darwin-rebuild switch`).
### 2. Activation body works against a scratch home
The block body was extracted with `nix eval --raw .#darwinConfigurations.lt-mbp.config.home-manager.users.laptran.home.activation.pstackSkills.data`, then run with `HOME` pointed at a fresh temp directory that already held an unrelated skill:
```
scratch="$(mktemp -d)"
mkdir -p "$scratch/.agents/skills/captain-own"
printf 'captain own tdd\n' > "$scratch/.agents/skills/captain-own/SKILL.md"
mkdir -p "$scratch/.agents/skills/statechart"
printf 'stale\n' > "$scratch/.agents/skills/statechart/stale.md"
HOME="$scratch" sh body.sh
```
Output:
```
pstackSkills: installed 11 pinned skills into <scratch>/.agents/skills
installed dirs: architect benchmark-checklist blast-radius captain-own correct create-verification-skill ketchup maintain-verification-skill recall statechart technical-writing unslop
tdd present? no
captain-own content: captain own tdd
stale file in statechart: removed
SKILL.md count: 12 (eleven installed + captain-own)
```
Each installed tree was also compared to the pinned source with `diff -r`, with no differences.
Add home.activation.pstackSkills plus a pinned cursor/plugins fetch.
It replaces the eleven adopted skill directories in ~/.agents/skills on
every rebuild and leaves all other skills untouched. pstack's tdd copy
stays skipped because the captain's own tdd skill owns that name.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Adds
home.activation.pstackSkills, which installs the eleven adopted pstack skills into~/.agents/skillsfrom a pinnedfetchFromGitHubofcursor/pluginsat commit6b0300214a09fd6029cfb7077043125758cd1fd2(folderpstack/skills).tddcopy is skipped because the captain's owntddskill owns that name.docs/adopted-skills.md; the pin is the reproducibility record in this repo.Verification
1. Configuration evaluates and builds
The darwin system built without switching (no
rebuild.sh, nodarwin-rebuild switch).2. Activation body works against a scratch home
The block body was extracted with
nix eval --raw .#darwinConfigurations.lt-mbp.config.home-manager.users.laptran.home.activation.pstackSkills.data, then run withHOMEpointed at a fresh temp directory that already held an unrelated skill:Output:
Each installed tree was also compared to the pinned source with
diff -r, with no differences.