Document this CyanPrint processor into README.MD. Use when the user asks to document the processor, write a README, explain processor configuration, or describe file transformations. Reads cyan.yaml and entry point code to extract config schema and file handling.
Resources
1Install
npx skillscat add atomicloud/ketone-new-cyanprint/documenting-processor Install via the SkillsCat registry.
SKILL.md
Documenting this Processor
Step 1: Understand the artifact
Read cyan.yaml to extract:
- name: The processor's full identifier (e.g.,
username/processor-name) - description: What the processor does
- tags: Categories for discoverability
- build: Image registry information
- glob patterns: What file types/patterns are processed
Read the entry point code (cyan/index.ts or equivalent for other languages) to extract:
- What
input.configkeys the processor reads - Which
fileHelpermethods are used (resolveAll,read,get,copy) - What file transformations happen (variable substitution, string replacement, code generation)
- Whether new files are created or existing files modified
Step 2: Generate README.MD
Follow the section template in reference.md.
The README must include:
- Title — the processor name from
cyan.yaml - Description — from
cyan.yaml - Purpose — what the processor transforms
- Configuration Schema — a table of key, type, default, and description for each config entry
- File Handling — which glob patterns, what transformations
- Before/After Examples — showing input and output for common transformations
Step 3: Write README.MD
Write the generated README.MD to the project root.