add-resource
Installation
SKILL.md
Add Resource
Always use the skill load-plain-reference to retrieve the ***plain syntax rules — but only if you haven't done so yet.
Linked resources are external files referenced from within a .plain spec using markdown link syntax. The file contents are passed to the renderer alongside the spec, providing additional context for code generation.
Workflow
- Identify or create the resource file. It should be in the
resources/directory or in the same folder (or a subfolder) as the.plainfile. - Add the markdown link at the appropriate place in the spec.
- Verify the file path is relative to the
.plainfile location. - Read the file back to confirm correct link syntax and path.
Format
Use standard markdown link syntax inside any spec section: