Setup Commands (Legacy)
Foundation workflows have been replaced by skills. There is no longer a foundation/agent_instructions/cursor_commands/ directory; workflows live in foundation/agent_instructions/cursor_skills/{slug}/SKILL.md.
What to do instead
- Use setup-cursor-copies — Run
./foundation/scripts/setup_cursor_copies.sh(or the setup-cursor-copies skill). It copies foundation rules into.cursor/rules/and foundation skills into.cursor/skills/. - Load skills by trigger — When a trigger matches (e.g. commit, pull, push, fix-feature-bug), load the corresponding skill from
.cursor/skills/{slug}/SKILL.mdper the router rule.
When this skill is invoked
- Tell the user that foundation no longer installs into
.cursor/commands/. - Run or direct them to run setup-cursor-copies to refresh
.cursor/rules/and.cursor/skills/. - Repository-specific command files in
docs/*_command.md(if any) may still be installed by setup into.cursor/commands/when configured in the manifest; foundation workflows are only in.cursor/skills/.
Related
- setup-cursor-copies skill — Copies foundation rules and skills into
.cursor/. - Foundation skills source:
foundation/agent_instructions/cursor_skills/