基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/symfony/ai --skill docs-check命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Investigate an error or behavior across Monolog log files when there is no single profile to read, or when tracking something over time or across requests. Use for "when did this start", "how often", or following one request/user through the logs. For a single known request that still has a profile, prefer profiler debugging.
Diagnose a Symfony request that failed, errored (5xx), or was slow, using the profiler. Use when a specific request misbehaved and the app has the profiler enabled (usually dev). Not for cross-request trends over time (use log investigation) or DI wiring bugs (use service inspection).
First step ONLY when a Symfony request misbehaved and you do not yet know whether the answer is in the profiler, the logs, or the container. One call, then it hands off to the right skill. Skip it entirely and go straight to that skill if you already know the profile token, the log channel or query, or that it is a DI wiring bug.
| name | docs-check |
| description | Check Documentation for Outdated Code References |
Scan RST and Markdown documentation files in this repository for code references that no longer match the actual codebase. Report findings grouped by file with actionable details.
:class: roles (e.g., :class:\Symfony\AI\Platform\Platform``):method: roles (e.g., :method:\Symfony\AI\Platform\PlatformInterface::invoke``)use statements in PHP code blocksFor each reference, verify the class/interface/method actually exists at that namespace path by searching src/.
composer require commands in code blockscomposer.json within the repositoryconfig/packages/ai.yaml patterns)Configuration.php or *Extension.php files)#[AsTool], #[AsAgent], #[AsMemory], and similar attribute referencesexamples/rag/in-memory.php)Scan these locations for documentation files:
docs/**/*.rst - Main Sphinx documentationREADME.md - Root repository READMECONTRIBUTING.md - Contributing guidesrc/*/README.md - Component READMEs (platform, agent, store, chat, mate, ai-bundle, mcp-bundle)src/*/src/Bridge/*/README.md - Bridge READMEs (e.g. src/platform/src/Bridge/HuggingFace/README.md, src/store/src/Bridge/Qdrant/README.md, src/agent/src/Bridge/Tavily/README.md, src/chat/src/Bridge/Doctrine/README.md)src/mate/INSTRUCTIONS.md and src/mate/src/Bridge/*/INSTRUCTIONS.md - Mate extension instructionsexamples/README.md and examples/*/README.md - Example-suite READMEsdemo/README.md - Demo application READMEExplicitly exclude the following from scans:
CHANGELOG.md and UPGRADE.md files — these intentionally document historical state (old class names, removed APIs, before/after diffs) so references that no longer exist in the code are expected, not bugsvendor/, node_modules/, .git/, .symfony-docs/, or **/cache/fixtures/** and **/tests/**/Fixtures/** (test data, not documentation).github/** templates and .claude/** (harness configuration, not project docs)CLAUDE.md, AGENTS.md, AGENT_INSTRUCTIONS.md (assistant instructions, not user-facing docs)ai.symfony.com/public/** (generated artifacts)Group findings by documentation file. For each issue found, report:
If no issues are found in a file, skip it from the report.
At the end, provide a summary count: X issues found across Y files (Z files checked).
If any issues are found, proceed with the following steps:
src/vendor/bin/php-cs-fixer fix if any PHP files were modifiedmain named docs/fix-outdated-referencesmain using the repository's PR template, filling in the table with Docs?: yes and describing the fixed references in the body