What problem does it solve?
Scaffolds a ready-to-use Scorekeeper page by generating the required render-function component, router entry, and optional publication, reducing boilerplate and ensuring a consistent project structure.
Core Features & Use Cases
- Generates a Vue 3 render-function page module at app/imports/ui/pages/<PageName>.js with a properly wired active organization guard.
- Adds a router entry in app/imports/ui/router.js for the new page, placed before the catch-all notFound route to ensure visibility.
- Optionally creates an org-scoped publication in app/imports/api/publications.js when the page reads data, guaranteeing multi-tenant data isolation.
- Supports wiring a new page into the existing router and, when needed, linking to an appropriate publication or creating one based on org data access.
Quick Start
Use this skill to scaffold a new Scorekeeper page, for example a MatchHistory page at route /matchhistory.