From ai-iap
Validate the ai-iap configuration and rule library integrity. Use when checking for missing files, broken references, or configuration issues.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-iap:validateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run validation checks on the plugin's configuration and rule library.
Run validation checks on the plugin's configuration and rule library.
${CLAUDE_PLUGIN_ROOT}/lib/config.json${CLAUDE_PLUGIN_ROOT}/lib/config.schema.json${CLAUDE_PLUGIN_ROOT}/lib/rules/${CLAUDE_PLUGIN_ROOT}/lib/processes/.ai-iap-state.jsonRun all checks below and report results as [PASS] or [FAIL] with details.
${CLAUDE_PLUGIN_ROOT}/lib/config.json — must exist and be valid JSON.${CLAUDE_PLUGIN_ROOT}/lib/config.schema.json:
version (string, semver pattern).tool object with name, outputDir, outputFile, fileExtension.languages object.name, globs, alwaysApply (boolean), description, files (array).general language must have alwaysApply: true.general should have alwaysApply: true (warn).globs must be a string, not an array.enabled property on any language.For each language in config:
files[], verify ${CLAUDE_PLUGIN_ROOT}/lib/rules/{lang}/{file}.md exists.optionalRules entry, verify the referenced file exists.${CLAUDE_PLUGIN_ROOT}/lib/rules/{lang}/frameworks/{fw_file}.md exists.${CLAUDE_PLUGIN_ROOT}/lib/rules/{lang}/frameworks/structures/{struct_file}.md exists.tool.outputFileSource is set, verify ${CLAUDE_PLUGIN_ROOT}/lib/rules/general/{source}.md exists.For each .md file under ${CLAUDE_PLUGIN_ROOT}/lib/rules/:
# heading on the first line.For each framework that has a requires array:
frameworks object.For each .md file under ${CLAUDE_PLUGIN_ROOT}/lib/rules/ and ${CLAUDE_PLUGIN_ROOT}/lib/processes/:
.ai-iap/..., .cursor/rules/..., or
other repo-internal paths that won't exist in user projects.Verify these files exist under ${CLAUDE_PLUGIN_ROOT}/lib/rules/general/:
persona-core.mdpersona-specialist-software.mdpersona-specialist-seo.mdpersona-specialist-ui-ux.mdpersona-specialist-testing.mdpersona-specialist-devops.mdIf ${CLAUDE_PLUGIN_ROOT}/lib/claude-subagents.json exists:
subagents array and agentTemplates array.If .ai-iap-state.json exists in the project root:
version and selectedLanguages.Verify ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json:
name field.Verify ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/marketplace.json:
name, owner, and plugins fields.plugins array must contain at least one entry with name and source.=== AI Instructions & Prompts Validation ===
[PASS] Config file exists and is valid JSON
[PASS] Config has required fields (version, tool, languages)
[PASS] All 192 rule files exist
[FAIL] Missing rule file: typescript/frameworks/structures/angular-ddd.md
...
=== Summary ===
Passed: 42
Failed: 1
Exit with failure status if any check fails.
npx claudepluginhub mordilion/ai-instructions-and-prompts --plugin ai-iapProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.