ワンクリックで
umbraco-skill-code-analyzer
Analyze code examples in SKILL.md files for correctness using static analysis and TypeScript compilation
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Analyze code examples in SKILL.md files for correctness using static analysis and TypeScript compilation
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Implement UFM (Umbraco Flavored Markdown) components in Umbraco backoffice using official docs
Add a new Umbraco extension project reference to the main Umbraco instance and solution
Understand and use localization in Umbraco backoffice (foundational concept)
Implement property editor UIs in Umbraco backoffice using official docs
Quick setup for Umbraco extension development - creates instance, extension, and registers it
Review checks reference for validating Umbraco backoffice extensions
| name | umbraco-skill-code-analyzer |
| description | Analyze code examples in SKILL.md files for correctness using static analysis and TypeScript compilation |
| version | 1.0.0 |
| location | managed |
| allowed-tools | Bash |
Static analysis tool that validates code examples in SKILL.md files.
@umbraco-cms/backoffice/* imports against known modulestype: values against known Umbraco extension typescd .claude/skills/umbraco-skill-code-analyzer/scripts
npm install --silent
npx tsx analyze-code.ts
| Variable | Default | Description |
|---|---|---|
CHECK_TYPESCRIPT | true | Set to false to skip TypeScript compilation |
Produces code-analysis-report.json in project root with structure:
{
"timestamp": "...",
"skillsScanned": 69,
"codeBlocksAnalyzed": 473,
"issuesFound": 34,
"skills": [
{
"skillPath": "...",
"skillName": "...",
"codeBlocks": 5,
"issues": [
{
"line": 33,
"type": "invalid-import",
"value": "@umbraco-cms/backoffice/unknown",
"message": "Unknown import path",
"severity": "warning"
}
]
}
],
"statistics": {
"totalCodeBlocks": 473,
"typescriptBlocks": 368,
"importIssues": 16,
"extensionTypeIssues": 21,
"compilationErrors": 0,
"deprecatedPatterns": 15
}
}
| Type | Severity | Description |
|---|---|---|
invalid-import | warning | Unknown @umbraco-cms/backoffice/* module |
unknown-extension-type | warning | Unrecognized extension type: value |
deprecated-pattern | warning | Outdated code pattern detected |
typescript-error | error | TypeScript compilation failed |
The script maintains lists of known modules and extension types. To update:
analyze-code.tsKNOWN_BACKOFFICE_MODULES setKNOWN_EXTENSION_TYPES set