get_checklist
Generate a pre-commit checklist for shell type A, B, or C to verify all requirements before marking a page as complete.
Instructions
Returns the pre-commit checklist for a shell type. Run this before declaring a page done.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shell | Yes |
Implementation Reference
- api/mcp.ts:599-601 (handler)The tool handler for 'get_checklist'. Accepts a shell type ('A', 'B', or 'C') and returns the corresponding pre-commit checklist from the CHECKLIST static object.
server.tool("get_checklist", "Pre-commit checklist for a shell type.", { shell: z.enum(["A","B","C"]) }, async ({ shell }) => { return { content: [{ type: "text" as const, text: CHECKLIST[shell] || `No checklist for ${shell}` }] }; }); - api/mcp.ts:599-599 (schema)Input schema: shell must be one of 'A', 'B', or 'C' (validated via Zod enum).
server.tool("get_checklist", "Pre-commit checklist for a shell type.", { shell: z.enum(["A","B","C"]) }, async ({ shell }) => { - api/mcp.ts:599-601 (registration)Registration of the 'get_checklist' tool via server.tool() in the MCP handler.
server.tool("get_checklist", "Pre-commit checklist for a shell type.", { shell: z.enum(["A","B","C"]) }, async ({ shell }) => { return { content: [{ type: "text" as const, text: CHECKLIST[shell] || `No checklist for ${shell}` }] }; }); - api/mcp.ts:137-141 (helper)Static CHECKLIST data object containing pre-commit checklist strings for shells A, B, and C.
const CHECKLIST: Record<string, string> = { C: "# Pre-Commit Checklist — Shell C (Reports)\n\n## STRUCTURE\n[ ] .classic-tab has exactly ONE direct child .classic-tab__body\n[ ] .table-scroll-area is a SIBLING of .classic-tab\n[ ] Every .drawer paired with .drawer-backdrop\n[ ] .reports-quicklink is direct child of .app-shell\n\n## CSS LINKS\n[ ] tokens, layout, topnavbar, line-tab, classic-tab, rpt-chart-floater, drawer, form-input, form-dropdown linked\n\n## VARIANTS\n[ ] Reports actionbar = Type 8\n[ ] Header = Variant 3\n[ ] Reports quicklink uses .line-tab--quicklink", A: "# Pre-Commit Checklist — Shell A (Dashboard)\n\n## STRUCTURE\n[ ] Only .dash scrolls\n[ ] stat-row: max 4 stat cards\n[ ] tile-grid: max 3 tiles\n[ ] Hybrid widgets: max 3 per dash__row", B: "# Pre-Commit Checklist — Shell B (Settings)\n\n## STRUCTURE\n[ ] sidemenu_variant1 used\n[ ] ActionBar type 1-7 ONLY\n[ ] classic-tab has __body with __content panels", };