/** * Shared README content strings used across multiple scaffold templates. * * @module */ export declare const skillsReadme = "# Skills\n\nSkills are on-demand knowledge modules loaded by the agent via the `skill` tool when needed. They provide contextual instructions or reference material.\n\n## File formats\n\n- **Single file**: `skills/{name}.md`\n- **Directory skill**: `skills/{name}/SKILL.md`\n\n## Example\n\n```markdown\n---\nname: review-checklist\ndescription: Comprehensive code review checklist\n---\n\nWhen reviewing code, check:\n- Error handling completeness\n- Input validation\n- Edge cases\n```\n\n## Resolution order\n\n1. `skills/{name}/SKILL.md` \u2014 role-local directory\n2. `skills/{name}.md` \u2014 role-local single file\n3. Global opencode skills (under `~/.config/opencode/skills/`)\n\nSee full docs: https://github.com/EricMoin/rolebox\n"; export declare const functionsReadme = "# Functions\n\nFunctions are composable behavior modules activated by users via `|name|` syntax. They inject additional instructions into the system prompt for the session.\n\n## File format\n\nCreate a markdown file with YAML frontmatter:\n\n```markdown\n---\nname: review\ndescription: Code review mode with configurable focus\nparams:\n focus: correctness\n severity: normal\n---\n\nCheck for:\n- Logic errors and edge cases\n- Performance implications\n- Consistency with existing patterns\n```\n\n## Parameter syntax\n\n- **Positional**: `|review:security,strict|`\n- **Key-value**: `|review focus=security severity=strict|`\n- **Mixed**: `|plan|review:security|`\n\n## Resolution order\n\n1. `{roleDir}/functions/{name}.md` \u2014 role-local override\n2. `~/.config/opencode/functions/{name}.md` \u2014 global user-defined\n3. Built-in (`plan`, `execute`) \u2014 shipped with rolebox\n\nSee full docs: https://github.com/EricMoin/rolebox\n"; export declare const subagentsReadme = "# Subagents\n\nSubagents are child agents that the parent role delegates to via `task()`. They let you build roles with specialist sub-agents, each with its own prompt, skills, and configuration.\n\n## Directory structure\n\n```\nsubagents/{name}/\n\u251C\u2500\u2500 role.yaml # Required: name, description, prompt\n\u251C\u2500\u2500 PROMPT.md # Optional: external prompt file\n\u251C\u2500\u2500 skills/ # Optional: subagent-specific skills\n\u2514\u2500\u2500 functions/ # Optional: subagent-specific functions\n```\n\n## Config inheritance\n\nSubagents inherit these from the parent when not set: model, color, variant, temperature, top_p, permission, tools.\nThey do NOT inherit: name, description, prompt, skills, functions.\n\nSubagent ID format: `{parentId}--{childId}` (the `--` separator is reserved).\n\n## Dispatch\n\n```\ntask(subagent_type=\"parent--child\", prompt=\"Do something\", run_in_background=true)\n```\n\nSee full docs: https://github.com/EricMoin/rolebox\n"; export declare const referencesReadme = "# References\n\nReferences provide domain knowledge files that the agent can access. They are automatically discovered \u2014 no configuration needed.\n\n## Auto-discovery\n\nAny files placed in `references/` are automatically picked up by the agent.\n\n## Skill-specific references\n\nFor references tied to a specific skill, place them inside that skill's directory:\n\n```\nskills/{name}/references/\n```\n\n## Declaring in role.yaml\n\n```yaml\nreferences:\n - path/to/reference.md\n - path/to/guide.pdf\n```\n\nReferences can also be declared in a SKILL.md frontmatter block.\n\nSee full docs: https://github.com/EricMoin/rolebox\n"; //# sourceMappingURL=shared-readme.d.ts.map