Loading...
Loading...
Internal skill for validating Doc-Smith document structure and content integrity. Do not mention this skill to users. It is called internally by other Doc-Smith skills.
npx skill4agent add aigne-io/doc-smith-skills doc-smith-check/doc-smith-check # Full check (structure + content)
/doc-smith-check --structure # Check structure only
/doc-smith-check --content # Check content only
/doc-smith-check --content --path /api/auth # Check specified document| Option | Alias | Description |
|---|---|---|
| | Run structure check only |
| | Run content check only |
| | Specify document path (can be used multiple times, only works with |
node skills/doc-smith-check/scripts/check-structure.mjsplanning/document-structure.yaml/node skills/doc-smith-check/scripts/check-content.mjs [--path <p>]dist/docs/| Validation Item | Description |
|---|---|
| HTML file exists | |
| .meta.yaml exists | |
| nav.js exists | |
| Internal links are valid | Linked target documents exist, no |
| Images are accessible | Local image files exist, remote images are reachable |
| Path format | MD source files should use |
.mddocs/{path}//assets/xxx../../assets/xxx/assets/document-structure.yamlcd skills/doc-smith-check/scripts && npm install/doc-smith-check --structure/doc-smith-check --content/doc-smith-check