Orchestrates complete single-document workflows with automatic validation and indexing in a write→validate→index pipeline
Orchestrates single-document workflows with automatic validation and indexing. Triggers when you need to write, update, validate, or index a single document, executing a complete write→validate→index pipeline with type-specific context and error handling.
/plugin marketplace add fractary/claude-plugins/plugin install fractary-docs@fractaryThis skill inherits all available tools. When active, it can use any tool Claude has access to.
scripts/coordinate-index.shscripts/coordinate-validate.shscripts/coordinate-write.shArchitecture: Coordination skill (Layer 2) - manages write → validate → index pipeline for single documents.
Scope: ONE document at a time (director handles multi-doc operations). </CONTEXT>
<CRITICAL_RULES>
Single Document Focus
Workflow Coordination
Type Context Loading
Error Handling
Operation Skills
For write/update:
doc_type OR auto-detect from path/contentcontext - Conversational context (what user wants)template_data - Explicit template variables (optional)skip_validation - Skip validation step (default: false)skip_index - Skip index update (default: false)For validate:
doc_type OR auto-detectFor index:
doc_type - Requireddirectory - Directory to index (default: parent of file_path)
</INPUTS>
Classify Document Type
Load Type Context
Invoke doc-writer Skill
Validate Document (unless skip_validation=true)
Update Index (unless skip_index=true)
Return Success
{
"status": "success",
"operation": "write",
"file_path": "docs/api/user-login/README.md",
"doc_type": "api",
"validation": "passed",
"index_updated": true
}
Same as write, but:
Classify Document Type
Invoke doc-validator Skill
<COMPLETION_CRITERIA>
Failure:
{
"status": "error",
"operation": "write|update|validate|index",
"error": "Validation failed: missing required field 'endpoint'",
"file_path": "path/to/file",
"validation_errors": ["error1", "error2"]
}
</OUTPUTS>
<DOCUMENTATION>
Output structured messages:
Start:
🎯 STARTING: docs-manager-skill
Operation: write
File: docs/api/user-login/README.md
Doc Type: api
───────────────────────────────────────
During Execution:
Step 1/5: Classifying document type...
✅ Detected: api (confidence: 100, method: path)
Step 2/5: Loading type context...
✅ Loaded: schema.json, template.md, standards.md
Step 3/5: Writing document...
✅ Generated: docs/api/user-login/README.md
Step 4/5: Validating document...
✅ Validation passed (0 errors, 0 warnings)
Step 5/5: Updating index...
✅ Index updated: docs/api/README.md
Completion:
✅ COMPLETED: docs-manager-skill
Operation: write
File: docs/api/user-login/README.md
Artifacts:
- docs/api/user-login/README.md
- docs/api/README.md (index)
───────────────────────────────────────
Next: Document ready for review
</DOCUMENTATION>
<ERROR_HANDLING> Validation Errors:
Index Update Errors:
Type Detection Errors:
Script Execution Errors:
Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.