AGENT SKILL
sniff
Detect PHP framework, WordPress, data layer, and capabilities and install only the applicable project pivots.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- sniff
- tags
- [ "backend", "php", "audit" ]
- author
- François-Xavier Guillois
- version
- 0.12.0
- description
- Detect PHP framework, WordPress, data layer, and capabilities and install only the applicable project pivots.
- permissions
- [ "bash", "files" ]
- vibe_version
- >=1.0.0
02 资源文件 15
- 参考文档actions/01-scan.md8.7 KB
- 参考文档actions/02-install-pivots.md3.9 KB
- 参考文档agents/openai.yaml345 B
- 参考文档evals/scenarios.json1.1 KB
- 参考文档references/capabilities/data/doctrine.md7.6 KB
- 参考文档references/capabilities/data/eloquent.md7.2 KB
- 参考文档references/capabilities/perf/htmx.md4.3 KB
- 参考文档references/capabilities/perf/laravel.md5.7 KB
- 参考文档references/capabilities/perf/symfony.md4.3 KB
- 参考文档references/capabilities/perf/wordpress.md5.6 KB
- 参考文档references/capabilities/php/solid.md2.1 KB
- 参考文档references/capabilities/testing/bruno.md1.5 KB
- 参考文档references/capabilities/wordpress/fse-patterns.md6.4 KB
- 参考文档references/capabilities/wordpress/ssr.md4.0 KB
- 脚本scripts/update-main.mjs128.1 KB
03 SKILL.md 正文
Read host portability before resolving plugin files, invoking sibling skills, or persisting project guidance.
sc-php Sniff
PHP stack detector and pivot manifeste producer.
Available actions
| # | Action | Role | Input |
|---|---|---|---|
| 01 | scan |
Detect capabilities, emit pivot manifeste, map perf/data install targets | current project path |
| 02 | install-pivots |
Install perf/data pivots to .claude/rules/07-quality/ |
scan pivot manifeste |
Default flow
Sequential: scan → install-pivots.
Conceptual model
- A capability is something the app does: use SOLID patterns, test with Bruno, serve HTTP via a framework, query a database via an ORM, render lightweight HTML via HTMX, etc.
- A pivot is the PHP knowledge for the chosen solution (e.g. Laravel perf patterns, Eloquent query conventions)
- Capability pivots live in the plugin (
skills/sniff/references/capabilities/) — they are loaded at audit time bysc-php:audit, not installed to the project - Perf pivots and data pivots are the exception: they ARE written to
.claude/rules/07-quality/becauseweb-optimizeanddata-optimizeread them from there
Transversal rules
- If no PHP manifest is found (
composer.jsonabsent and none of the sentinel files present), abort with an explicit message. - Never install a capability pivot to
.claude/rules/— those are loaded on demand at audit time. - Never install a perf pivot for a framework not detected.
- Never install a data pivot for an ORM not detected.
- Compare installed pivot content against the plugin reference before updating — skip files already identical.
- Report every file written, updated, or skipped.
- Report gaps: capabilities detected but no matching plugin pivot exists.
- Output format is strict plain-text with
✅ / ❌lines. Markdown tables are forbidden in all actions of this skill.
04 同仓库更多 Skills
web-optimize
暂无简介
★ 1
data-optimize
暂无简介
★ 1
ap-optimize
暂无简介
★ 1
web-optimize
暂无简介
★ 1
data-optimize
暂无简介
★ 1
ap-optimize
暂无简介
★ 1