Skip to content

About

Approach A demo: shared Squad decisions, routing, wisdom, casting policy, and skills consumed via squad upstream (no agents/team).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

squad-shared-decisions

Approach A demo from joshjohanning-org/squad-copilot-plugins: a sample set of shared Squad decisions and rules that any repository can inherit read-only using squad upstream, so teams don't have to copy or zip .squad/ folders around.

Important

This shares decisions, routing, wisdom, casting policy, and skills. It does not share agents, charters, or the team roster (squad upstream doesn't read them). For a shared starter team, see Approach B (squad-starter-team plugin) in the same marketplace.

Note

This is a proof of concept. Squad is alpha software and its commands may change.

What's shared

File Purpose
.squad/decisions.md Organization-wide decisions every team member follows
.squad/routing.md Role-based routing rules
.squad/identity/wisdom.md Reusable patterns and anti-patterns
.squad/casting/policy.json Allowed casting universes
.squad/skills/*/SKILL.md Shared skills (pull-request-conventions, testing-standards)

These are the files Squad's upstream resolver reads. Project-specific state (team roster, agent history, logs) stays in each consuming repository.

Use it in a repository

Option 1: Copilot CLI plugin (recommended)

Install the squad-shared-decisions plugin from joshjohanning-org/squad-copilot-plugins:

copilot plugin marketplace add joshjohanning-org/squad-copilot-plugins
copilot plugin install squad-shared-decisions@squad-copilot-plugins

Then, in your repository, start Copilot CLI and run /link-shared-decisions (or ask "link this repo to the shared squad decisions").

Option 2: Squad CLI directly

squad init   # if the repository doesn't have .squad/ yet
squad upstream add https://github.com/joshjohanning-org/squad-shared-decisions.git --name shared --ref main
squad upstream sync

Commit .squad/upstream.json. The cached clone in .squad/_upstream_repos/ is gitignored automatically; teammates run squad upstream sync after cloning.

Update the shared decisions

  1. Open a pull request to this repository.
  2. After it merges, consumers run squad upstream sync and start a new session.

Same repository, different branches

If you'd rather not create a separate repository, put these same files on an orphan branch (for example squad-config) of your application repository, then from any feature branch run:

squad upstream add "$(git remote get-url origin)" --name shared --ref squad-config
squad upstream sync

Everyone shares the config branch without rebasing their feature branches.

About

Approach A demo: shared Squad decisions, routing, wisdom, casting policy, and skills consumed via squad upstream (no agents/team).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors