Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
component-reuse - Prompt - OpenSmartRoute
Promptv1.0.0
component-reuse
Objetivo: criar componente reutilizavel entre web e mobile.
Prompt file imported from efcunha/restaurante-supabase (.github/prompts/component-reuse.prompt.md). Copyright stays with the author.
Objetivo: criar componente reutilizavel entre web e mobile.
Regras:
API de props pequena e estavel.
Separar componente visual e logica de negocio.
Usar tokens compartilhados para cor/espacamento/tipografia.
Storybook obrigatorio com variações principais.
Incluir exemplos de uso nos dois projetos.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
Objetivo: criar componente reutilizavel entre web e mobile.
Regras:
- API de props pequena e estavel.
- Separar componente visual e logica de negocio.
- Usar tokens compartilhados para cor/espacamento/tipografia.
- Storybook obrigatorio com variações principais.
- Incluir exemplos de uso nos dois projetos.
Manifest
The prompt text and its fill-in variables. Copy it or fetch it by URL from your own code.
{
"prompt": "Objetivo: criar componente reutilizavel entre web e mobile.\n\nRegras:\n- API de props pequena e estavel.\n- Separar componente visual e logica de negocio.\n- Usar tokens compartilhados para cor/espacamento/tipografia.\n- Storybook obrigatorio com variações principais.\n- Incluir exemplos de uso nos dois projetos.",
"variables": [],
"notes": "Objetivo: criar componente reutilizavel entre web e mobile.",
"metadata": {
"source": {
"provider": "github-prompts",
"repository": "https://github.com/efcunha/restaurante-supabase",
"path": ".github/prompts/component-reuse.prompt.md",
"ref": "6ecf401002fb18bd6dc331f3fe48c68dbcb60b6b",
"url": "https://github.com/efcunha/restaurante-supabase/blob/6ecf401002fb18bd6dc331f3fe48c68dbcb60b6b/.github/prompts/component-reuse.prompt.md",
"key": "efcunha/restaurante-supabase/.github/prompts/component-reuse.prompt.md"
}
}
}
Fetch it by URL: GET /api/v1/registry/efcunha-restaurante-supabase-component-reuse-prompt/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.