Onboarding
First-run checklist for local use, agent setup, and CI
First-run checklist for local use, agent setup, and CI
Follow these steps to add Pastoralist to a repo and share the setup with contributors and agents.
Check the current project without writing files:
npx pastoralist doctorInstall Pastoralist and create the initial config:
npm install pastoralist --save-dev
npx pastoralist initUpdate the appendix once the config is in place:
npx pastoralistKeep it current after dependency installs:
npx pastoralist --setup-hookInstall the bundled Pastoralist skill:
npx pastoralist init agent-skillThe skill gives agents the commands and override tracking rules for this project. Review proposed config and override changes before applying them.
Create .github/workflows/pastoralist.yml:
name: Override Checkon: [pull_request] jobs: pastoralist: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - uses: yowainwright/pastoralist@v1 with: mode: check check-security: falseUse these commands before merging setup changes:
npx pastoralist --dry-runnpx pastoralist --dry-run --summarynpx pastoralist --dry-run --quiet --checkSecurity --strictnpx pastoralist --setup-hooknpx pastoralist init agent-skillname: Override Check
on: [pull_request]
jobs:
pastoralist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: yowainwright/pastoralist@v1
with:
mode: check
check-security: falsenpx pastoralist --dry-run
npx pastoralist --dry-run --summary
npx pastoralist --dry-run --quiet --checkSecurity --strict