get_project_rules
Fetch the mandatory Symbols.app rules before generating any component or page to prevent silent failures and ensure compliance with design-system and syntax constraints.
Instructions
ALWAYS call this first before any generate_* tool.
Returns the mandatory Symbols.app rules that MUST be followed:
FRAMEWORK.md (authoritative — project structure, plugins, theming, SSR, publish)
DESIGN_SYSTEM.md (authoritative — design-system contract + token catalog)
RULES.md (62 strict rules — flat API, signal reactivity, design tokens, polyglot, fetch, helmet, theme, reusability, icons)
COMPONENTS.md (built-in component catalog from @symbo.ls/default-config — REUSE these via bare PascalCase keys; do NOT redefine)
DEFAULT_COMPONENTS.md (full source/structure of every built-in — what they look like, what props they expose, how to compose them)
SYNTAX.md (DOMQL v3.14 syntax reference — flat element API, signal reactivity, factory patterns)
PATTERNS.md (canonical compositional patterns)
SNIPPETS.md (project-level snippet patterns)
SHARED_LIBRARIES.md (when to read/never edit cross-package code)
WORKSPACE.md (multi-app monorepo topology — two project shapes, two-file contract, no-transitive-resolution, onboarding checklist)
FRANKABILITY.md (every
@symbo.ls/frank-auditrule with wrong vs canonical examples — patterns that survive frank.toJSON serialization, so generated code is provably frankable from the start)FRANK_FIX_WORKFLOW.md (LLM reference card for the prescription → edit-op flow — the strict 8-kind contract for
apply_frankability_edit_ops)COMMON_MISTAKES.md + LEARNINGS.md (hard-won failure cases — read these to avoid replaying them)
DEFAULT_PROJECT.md (recommended baseline design-system values + the default-library catalog)
Violations cause silent failures — black page, nothing renders, or a working app with degraded UX you'll later have to rebuild.
Call this before: generate_component, generate_page, convert_react, convert_html, or any code generation task.
READ ALL SECTIONS — do NOT skim past COMPONENTS.md / DEFAULT_COMPONENTS.md / PATTERNS.md.
The single most-violated rule is reusing built-in components. Skipping the catalog
leads to redefining Avatar, Button, Dialog, etc. from scratch when a bare
Avatar: {} would have rendered the canonical built-in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |