Skip to content

Add /extract-to-foundry slash command for shared code extraction#13

Merged
jeffgo10 merged 1 commit into
masterfrom
chore/extract-to-foundry-slash-command
Jun 28, 2026
Merged

Add /extract-to-foundry slash command for shared code extraction#13
jeffgo10 merged 1 commit into
masterfrom
chore/extract-to-foundry-slash-command

Conversation

@jeffgo10

Copy link
Copy Markdown
Owner

Summary

Adds a new Cursor slash command (/extract-to-foundry) that guides agents through consolidating platform-agnostic utilities into @jeffgo10/* packages. The command includes a repo readiness gate, package placement rules, test/version bump workflow, and mandatory /create-github-pr follow-up after package edits.

Changes

Docs / Cursor rules / agent tooling

  • Add .cursor/commands/extract-to-foundry.md with Audit, Implement, and Import & extract modes
  • Step 0 repo gate: require clean master before package edits; auto-checkout when on a clean feature branch
  • Placement table mapping canvas/image utils, gestures, layout types, and designer/upscaler packages
  • Consumer app follow-up notes for CrowdBadge, LiteShadeMedia, and StickPak
  • Document the new command in the README Cursor agent tooling table

Commits

SHA Message
453d2f2 Add /extract-to-foundry slash command for DRY shared code extraction.

Test plan

  • Review .cursor/commands/extract-to-foundry.md for completeness and consistency with existing slash commands
  • Confirm README agent tooling table links the new command correctly

Notes / follow-ups

None — docs/agent tooling only; no package version bumps or publish steps.

Made with Cursor

- Add Cursor command with repo gate, placement rules, and PR workflow
- Document command in README agent tooling table

Co-authored-by: Cursor <cursoragent@cursor.com>
@jeffgo10 jeffgo10 merged commit 0013da2 into master Jun 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant