stamic-skill
9
总安装量
5
周安装量
#32022
全站排名
安装命令
npx skills add https://github.com/newuni/stamic-skill --skill stamic-skill
Agent 安装分布
codex
5
Skill 文档
stamic-skill (Statamic 6 Dev)
Provide Statamic 6 documentation-backed guidance and implementation help, optimized for developer workflows.
Workflow (recommended)
-
Clarify target + context
- Confirm: Statamic 6 (and Laravel version), project type (fresh vs existing), and whether the request is Statamic-specific (content model, Antlers, blueprints, structures) vs Laravel-specific (DB, Eloquent, queues, debugging).
-
Prefer canonical docs, but keep it searchable
- Use statamic.dev for canonical explanations.
- Use GitHub mirror (statamic/docs) for fast full-text search, diffs, and linking to exact Markdown.
- If information conflicts, treat statamic.dev as source of truth and mention the discrepancy.
-
Search â quote â answer
- Search for the relevant page/section.
- Answer with short, actionable steps.
- Include links (statamic.dev and/or specific docs file paths) so the team can verify.
-
Coordinate with Laravel Boost (complementary)
- Use Laravel Boost guidance/tools for Laravel framework concerns (Artisan, Eloquent, debugging, environment).
- Use this skill for Statamic concepts and conventions (blueprints/fieldsets, entries, taxonomies, Antlers, tags/modifiers, Stache/cache, sites).
What to do for common requests
âFind the latest docs for Xâ
- Search the GitHub mirror first (fast), then open the canonical statamic.dev page.
- Provide: the best page link, the key excerpt/summary, and 1â3 do/donât bullets.
âHow do we implement X in Statamic 6?â
- Return a minimal implementation plan + code/config snippets.
- Call out:
- where files live (blueprints, templates, addons)
- expected conventions/naming
- caches to clear (when relevant)
âIs this best practice / is this supported in v6?â
- Confirm version explicitly.
- Prefer citing a doc section or a clear upstream source.
Bundled resources
references/
references/sources.md: canonical sources and how to treat them.references/statamic-mcp-notes.md: lightweight domain taxonomy + response checklist inspired by statamic-mcp.
scripts/
Use these scripts when you need deterministic, repeatable doc lookup.
- Update local docs mirror:
./scripts/update_statamic_docs.sh
- Search locally:
./scripts/search_statamic_docs.sh "your query"
If the query is broad, narrow it with ripgrep flags:
./skills/stamic-skill/scripts/search_statamic_docs.sh "antlers" -- -n --glob '!**/README.md'