agentic-toolbox 0.5.3 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +26 -14
- package/CHANGELOG.md +223 -0
- package/README.md +98 -35
- package/dist/cjs/agents/index.cjs +9 -0
- package/dist/cjs/agents/index.cjs.map +1 -0
- package/dist/cjs/cli/args/flags.d.cts +3 -0
- package/dist/cjs/cli/args/flags.d.cts.map +1 -0
- package/dist/cjs/cli/args/index.d.cts +5 -0
- package/dist/cjs/cli/args/index.d.cts.map +1 -0
- package/dist/{cli/args/parser.d.ts → cjs/cli/args/parser.d.cts} +2 -2
- package/dist/cjs/cli/args/parser.d.cts.map +1 -0
- package/dist/{cli/args/strategies.d.ts → cjs/cli/args/strategies.d.cts} +2 -2
- package/dist/cjs/cli/args/strategies.d.cts.map +1 -0
- package/dist/cjs/cli/args/subcommands.d.cts +3 -0
- package/dist/cjs/cli/args/subcommands.d.cts.map +1 -0
- package/dist/cjs/cli/commands/diff.d.cts +3 -0
- package/dist/cjs/cli/commands/diff.d.cts.map +1 -0
- package/dist/cjs/cli/commands/doctor.d.cts +8 -0
- package/dist/cjs/cli/commands/doctor.d.cts.map +1 -0
- package/dist/cjs/cli/commands/index.d.cts +6 -0
- package/dist/cjs/cli/commands/index.d.cts.map +1 -0
- package/dist/cjs/cli/commands/init.d.cts +3 -0
- package/dist/cjs/cli/commands/init.d.cts.map +1 -0
- package/dist/cjs/cli/commands/sync.d.cts +3 -0
- package/dist/cjs/cli/commands/sync.d.cts.map +1 -0
- package/dist/cjs/cli/commands/validate.d.cts +3 -0
- package/dist/cjs/cli/commands/validate.d.cts.map +1 -0
- package/dist/cjs/cli/help/index.d.cts +3 -0
- package/dist/cjs/cli/help/index.d.cts.map +1 -0
- package/dist/{cli/help/print-help.d.ts → cjs/cli/help/print-help.d.cts} +1 -1
- package/dist/cjs/cli/help/print-help.d.cts.map +1 -0
- package/dist/{cli/help/templates.d.ts → cjs/cli/help/templates.d.cts} +1 -1
- package/dist/cjs/cli/help/templates.d.cts.map +1 -0
- package/dist/cjs/cli/index.d.cts +5 -0
- package/dist/cjs/cli/index.d.cts.map +1 -0
- package/dist/cjs/cli/run-cli.d.cts +3 -0
- package/dist/cjs/cli/run-cli.d.cts.map +1 -0
- package/dist/{core/config/discovery.d.ts → cjs/core/config/discovery.d.cts} +2 -2
- package/dist/cjs/core/config/discovery.d.cts.map +1 -0
- package/dist/cjs/core/config/index.d.cts +4 -0
- package/dist/cjs/core/config/index.d.cts.map +1 -0
- package/dist/cjs/core/config/loader.d.cts +3 -0
- package/dist/cjs/core/config/loader.d.cts.map +1 -0
- package/dist/{core/config/schema.d.ts → cjs/core/config/schema.d.cts} +3 -3
- package/dist/cjs/core/config/schema.d.cts.map +1 -0
- package/dist/cjs/core/index.d.cts +4 -0
- package/dist/cjs/core/index.d.cts.map +1 -0
- package/dist/{core/sync/engine-internal.d.ts → cjs/core/sync/engine-internal.d.cts} +2 -2
- package/dist/cjs/core/sync/engine-internal.d.cts.map +1 -0
- package/dist/{core/sync/engine.d.ts → cjs/core/sync/engine.d.cts} +2 -2
- package/dist/cjs/core/sync/engine.d.cts.map +1 -0
- package/dist/cjs/core/sync/index.d.cts +5 -0
- package/dist/cjs/core/sync/index.d.cts.map +1 -0
- package/dist/{core/sync/manifest.d.ts → cjs/core/sync/manifest.d.cts} +2 -13
- package/dist/cjs/core/sync/manifest.d.cts.map +1 -0
- package/dist/{core/sync/merger.d.ts → cjs/core/sync/merger.d.cts} +2 -2
- package/dist/cjs/core/sync/merger.d.cts.map +1 -0
- package/dist/cjs/core/sync/targets/index.d.cts +2 -0
- package/dist/cjs/core/sync/targets/index.d.cts.map +1 -0
- package/dist/{core/sync/targets/target-configs.d.ts → cjs/core/sync/targets/target-configs.d.cts} +2 -2
- package/dist/cjs/core/sync/targets/target-configs.d.cts.map +1 -0
- package/dist/cjs/core/transform/index.d.cts +7 -0
- package/dist/cjs/core/transform/index.d.cts.map +1 -0
- package/dist/cjs/core/transform/parser.d.cts +16 -0
- package/dist/cjs/core/transform/parser.d.cts.map +1 -0
- package/dist/cjs/core/transform/pipeline.d.cts +3 -0
- package/dist/cjs/core/transform/pipeline.d.cts.map +1 -0
- package/dist/{core/transform/reassembler.d.ts → cjs/core/transform/reassembler.d.cts} +2 -2
- package/dist/cjs/core/transform/reassembler.d.cts.map +1 -0
- package/dist/{core/transform/stripper.d.ts → cjs/core/transform/stripper.d.cts} +2 -2
- package/dist/cjs/core/transform/stripper.d.cts.map +1 -0
- package/dist/cjs/core/transform/transform-agent.d.cts +3 -0
- package/dist/cjs/core/transform/transform-agent.d.cts.map +1 -0
- package/dist/cjs/index.cjs +1749 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/index.d.cts +3 -0
- package/dist/cjs/index.d.cts.map +1 -0
- package/dist/cjs/skills/index.cjs +14 -0
- package/dist/cjs/skills/index.cjs.map +1 -0
- package/dist/{types/cli.d.ts → cjs/types/cli.d.cts} +2 -1
- package/dist/cjs/types/cli.d.cts.map +1 -0
- package/dist/{types/config.d.ts → cjs/types/config.d.cts} +2 -2
- package/dist/cjs/types/config.d.cts.map +1 -0
- package/dist/cjs/types/constants.d.cts +2 -0
- package/dist/cjs/types/constants.d.cts.map +1 -0
- package/dist/cjs/types/errors.d.cts +40 -0
- package/dist/cjs/types/errors.d.cts.map +1 -0
- package/dist/cjs/types/index.d.cts +8 -0
- package/dist/cjs/types/index.d.cts.map +1 -0
- package/dist/{types/sync.d.ts → cjs/types/sync.d.cts} +3 -3
- package/dist/cjs/types/sync.d.cts.map +1 -0
- package/dist/{types/targets.d.ts → cjs/types/targets.d.cts} +2 -2
- package/dist/cjs/types/targets.d.cts.map +1 -0
- package/dist/{types/transform.d.ts → cjs/types/transform.d.cts} +7 -2
- package/dist/cjs/types/transform.d.cts.map +1 -0
- package/dist/cjs/utils/errors/classes.d.cts +76 -0
- package/dist/cjs/utils/errors/classes.d.cts.map +1 -0
- package/dist/cjs/utils/errors/codes.d.cts +2 -0
- package/dist/cjs/utils/errors/codes.d.cts.map +1 -0
- package/dist/cjs/utils/errors/index.d.cts +4 -0
- package/dist/cjs/utils/errors/index.d.cts.map +1 -0
- package/dist/cjs/utils/errors/messages.d.cts +11 -0
- package/dist/cjs/utils/errors/messages.d.cts.map +1 -0
- package/dist/{utils/fs/atomic.d.ts → cjs/utils/fs/atomic.d.cts} +1 -1
- package/dist/cjs/utils/fs/atomic.d.cts.map +1 -0
- package/dist/cjs/utils/fs/index.d.cts +5 -0
- package/dist/cjs/utils/fs/index.d.cts.map +1 -0
- package/dist/{utils/fs/operations.d.ts → cjs/utils/fs/operations.d.cts} +1 -1
- package/dist/cjs/utils/fs/operations.d.cts.map +1 -0
- package/dist/{utils/fs/paths.d.ts → cjs/utils/fs/paths.d.cts} +1 -1
- package/dist/cjs/utils/fs/paths.d.cts.map +1 -0
- package/dist/{utils/fs/sanitization.d.ts → cjs/utils/fs/sanitization.d.cts} +1 -1
- package/dist/cjs/utils/fs/sanitization.d.cts.map +1 -0
- package/dist/cjs/utils/index.d.cts +4 -0
- package/dist/cjs/utils/index.d.cts.map +1 -0
- package/dist/{utils/logging/console.d.ts → cjs/utils/logging/console.d.cts} +9 -2
- package/dist/cjs/utils/logging/console.d.cts.map +1 -0
- package/dist/cjs/utils/logging/index.d.cts +3 -0
- package/dist/cjs/utils/logging/index.d.cts.map +1 -0
- package/dist/{utils/logging/levels.d.ts → cjs/utils/logging/levels.d.cts} +5 -1
- package/dist/cjs/utils/logging/levels.d.cts.map +1 -0
- package/dist/esm/agents/Agent.md.sample +384 -0
- package/dist/esm/agents/agentic-tools-creator.md +143 -0
- package/dist/esm/agents/index.js +9 -0
- package/dist/esm/agents/index.js.map +1 -0
- package/dist/esm/cli/args/flags.d.mts +3 -0
- package/dist/esm/cli/args/flags.d.mts.map +1 -0
- package/dist/esm/cli/args/index.d.mts +5 -0
- package/dist/esm/cli/args/index.d.mts.map +1 -0
- package/dist/esm/cli/args/parser.d.mts +5 -0
- package/dist/esm/cli/args/parser.d.mts.map +1 -0
- package/dist/esm/cli/args/strategies.d.mts +7 -0
- package/dist/esm/cli/args/strategies.d.mts.map +1 -0
- package/dist/esm/cli/args/subcommands.d.mts +3 -0
- package/dist/esm/cli/args/subcommands.d.mts.map +1 -0
- package/dist/esm/cli/commands/diff.d.mts +3 -0
- package/dist/esm/cli/commands/diff.d.mts.map +1 -0
- package/dist/esm/cli/commands/doctor.d.mts +8 -0
- package/dist/esm/cli/commands/doctor.d.mts.map +1 -0
- package/dist/esm/cli/commands/index.d.mts +6 -0
- package/dist/esm/cli/commands/index.d.mts.map +1 -0
- package/dist/esm/cli/commands/init.d.mts +3 -0
- package/dist/esm/cli/commands/init.d.mts.map +1 -0
- package/dist/esm/cli/commands/sync.d.mts +3 -0
- package/dist/esm/cli/commands/sync.d.mts.map +1 -0
- package/dist/esm/cli/commands/validate.d.mts +3 -0
- package/dist/esm/cli/commands/validate.d.mts.map +1 -0
- package/dist/esm/cli/help/index.d.mts +3 -0
- package/dist/esm/cli/help/index.d.mts.map +1 -0
- package/dist/esm/cli/help/print-help.d.mts +2 -0
- package/dist/esm/cli/help/print-help.d.mts.map +1 -0
- package/dist/esm/cli/help/templates.d.mts +3 -0
- package/dist/esm/cli/help/templates.d.mts.map +1 -0
- package/dist/esm/cli/index.d.mts +5 -0
- package/dist/esm/cli/index.d.mts.map +1 -0
- package/dist/esm/cli/run-cli.d.mts +3 -0
- package/dist/esm/cli/run-cli.d.mts.map +1 -0
- package/dist/esm/core/config/discovery.d.mts +4 -0
- package/dist/esm/core/config/discovery.d.mts.map +1 -0
- package/dist/esm/core/config/index.d.mts +4 -0
- package/dist/esm/core/config/index.d.mts.map +1 -0
- package/dist/esm/core/config/loader.d.mts +3 -0
- package/dist/esm/core/config/loader.d.mts.map +1 -0
- package/dist/esm/core/config/schema.d.mts +8 -0
- package/dist/esm/core/config/schema.d.mts.map +1 -0
- package/dist/esm/core/index.d.mts +4 -0
- package/dist/esm/core/index.d.mts.map +1 -0
- package/dist/esm/core/sync/engine-internal.d.mts +3 -0
- package/dist/esm/core/sync/engine-internal.d.mts.map +1 -0
- package/dist/esm/core/sync/engine.d.mts +4 -0
- package/dist/esm/core/sync/engine.d.mts.map +1 -0
- package/dist/esm/core/sync/index.d.mts +5 -0
- package/dist/esm/core/sync/index.d.mts.map +1 -0
- package/dist/esm/core/sync/manifest.d.mts +10 -0
- package/dist/esm/core/sync/manifest.d.mts.map +1 -0
- package/dist/esm/core/sync/merger.d.mts +9 -0
- package/dist/esm/core/sync/merger.d.mts.map +1 -0
- package/dist/esm/core/sync/targets/index.d.mts +2 -0
- package/dist/esm/core/sync/targets/index.d.mts.map +1 -0
- package/dist/esm/core/sync/targets/target-configs.d.mts +5 -0
- package/dist/esm/core/sync/targets/target-configs.d.mts.map +1 -0
- package/dist/esm/core/transform/index.d.mts +7 -0
- package/dist/esm/core/transform/index.d.mts.map +1 -0
- package/dist/esm/core/transform/parser.d.mts +16 -0
- package/dist/esm/core/transform/parser.d.mts.map +1 -0
- package/dist/esm/core/transform/pipeline.d.mts +3 -0
- package/dist/esm/core/transform/pipeline.d.mts.map +1 -0
- package/dist/esm/core/transform/reassembler.d.mts +3 -0
- package/dist/esm/core/transform/reassembler.d.mts.map +1 -0
- package/dist/esm/core/transform/stripper.d.mts +3 -0
- package/dist/esm/core/transform/stripper.d.mts.map +1 -0
- package/dist/esm/core/transform/transform-agent.d.mts +3 -0
- package/dist/esm/core/transform/transform-agent.d.mts.map +1 -0
- package/dist/esm/index.d.mts +3 -0
- package/dist/esm/index.d.mts.map +1 -0
- package/dist/esm/index.js +1815 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/skills/SKILL.md.sample +322 -0
- package/dist/esm/skills/agent-creator/SKILL.md +110 -0
- package/dist/esm/skills/agent-creator/assets/examples/code-reviewer.md +68 -0
- package/dist/esm/skills/agent-creator/assets/examples/docs-writer.md +67 -0
- package/dist/esm/skills/agent-creator/assets/examples/read-only-researcher.md +64 -0
- package/dist/esm/skills/agent-creator/references/AGENT_TEMPLATE.md +391 -0
- package/dist/esm/skills/agent-creator/references/frontmatter.md +544 -0
- package/dist/esm/skills/agent-creator/references/prompt.md +449 -0
- package/dist/esm/skills/agent-creator/references/validation.md +309 -0
- package/dist/esm/skills/agentic-resource-gatherer/SKILL.md +249 -0
- package/dist/esm/skills/agentic-resource-gatherer/assets/examples/frontend-developer-agent.md +52 -0
- package/dist/esm/skills/agentic-resource-gatherer/assets/examples/git-formatter-skill.md +52 -0
- package/dist/esm/skills/agentic-resource-gatherer/references/agent-repos.md +190 -0
- package/dist/esm/skills/agentic-resource-gatherer/references/skill-repos.md +225 -0
- package/dist/esm/skills/index.js +14 -0
- package/dist/esm/skills/index.js.map +1 -0
- package/dist/esm/skills/skill-creator/SKILL.md +178 -0
- package/dist/esm/skills/skill-creator/assets/examples/background-knowledge-skill.md +25 -0
- package/dist/esm/skills/skill-creator/assets/examples/code-generation-skill.md +51 -0
- package/dist/esm/skills/skill-creator/assets/examples/simple-git-skill.md +36 -0
- package/dist/esm/skills/skill-creator/references/SKILL_TEMPLATE.md +322 -0
- package/dist/esm/skills/skill-creator/references/frontmatter.md +441 -0
- package/dist/esm/skills/skill-creator/references/prompt.md +384 -0
- package/dist/esm/skills/skill-creator/references/validation.md +282 -0
- package/dist/esm/types/cli.d.mts +68 -0
- package/dist/esm/types/cli.d.mts.map +1 -0
- package/dist/esm/types/config.d.mts +22 -0
- package/dist/esm/types/config.d.mts.map +1 -0
- package/dist/esm/types/constants.d.mts +2 -0
- package/dist/esm/types/constants.d.mts.map +1 -0
- package/dist/esm/types/errors.d.mts +40 -0
- package/dist/esm/types/errors.d.mts.map +1 -0
- package/dist/esm/types/index.d.mts +8 -0
- package/dist/esm/types/index.d.mts.map +1 -0
- package/dist/esm/types/sync.d.mts +26 -0
- package/dist/esm/types/sync.d.mts.map +1 -0
- package/dist/esm/types/targets.d.mts +25 -0
- package/dist/esm/types/targets.d.mts.map +1 -0
- package/dist/esm/types/transform.d.mts +24 -0
- package/dist/esm/types/transform.d.mts.map +1 -0
- package/dist/esm/utils/errors/classes.d.mts +76 -0
- package/dist/esm/utils/errors/classes.d.mts.map +1 -0
- package/dist/esm/utils/errors/codes.d.mts +2 -0
- package/dist/esm/utils/errors/codes.d.mts.map +1 -0
- package/dist/esm/utils/errors/index.d.mts +4 -0
- package/dist/esm/utils/errors/index.d.mts.map +1 -0
- package/dist/esm/utils/errors/messages.d.mts +11 -0
- package/dist/esm/utils/errors/messages.d.mts.map +1 -0
- package/dist/esm/utils/fs/atomic.d.mts +2 -0
- package/dist/esm/utils/fs/atomic.d.mts.map +1 -0
- package/dist/esm/utils/fs/index.d.mts +5 -0
- package/dist/esm/utils/fs/index.d.mts.map +1 -0
- package/dist/esm/utils/fs/operations.d.mts +12 -0
- package/dist/esm/utils/fs/operations.d.mts.map +1 -0
- package/dist/esm/utils/fs/paths.d.mts +9 -0
- package/dist/esm/utils/fs/paths.d.mts.map +1 -0
- package/dist/esm/utils/fs/sanitization.d.mts +11 -0
- package/dist/esm/utils/fs/sanitization.d.mts.map +1 -0
- package/dist/esm/utils/index.d.mts +4 -0
- package/dist/esm/utils/index.d.mts.map +1 -0
- package/dist/esm/utils/logging/console.d.mts +34 -0
- package/dist/esm/utils/logging/console.d.mts.map +1 -0
- package/dist/esm/utils/logging/index.d.mts +3 -0
- package/dist/esm/utils/logging/index.d.mts.map +1 -0
- package/dist/esm/utils/logging/levels.d.mts +23 -0
- package/dist/esm/utils/logging/levels.d.mts.map +1 -0
- package/package.json +31 -14
- package/dist/cli/args/flags.d.ts +0 -3
- package/dist/cli/args/flags.d.ts.map +0 -1
- package/dist/cli/args/flags.js +0 -45
- package/dist/cli/args/flags.js.map +0 -1
- package/dist/cli/args/index.d.ts +0 -5
- package/dist/cli/args/index.d.ts.map +0 -1
- package/dist/cli/args/index.js +0 -6
- package/dist/cli/args/index.js.map +0 -1
- package/dist/cli/args/parser.d.ts.map +0 -1
- package/dist/cli/args/parser.js +0 -86
- package/dist/cli/args/parser.js.map +0 -1
- package/dist/cli/args/strategies.d.ts.map +0 -1
- package/dist/cli/args/strategies.js +0 -47
- package/dist/cli/args/strategies.js.map +0 -1
- package/dist/cli/args/subcommands.d.ts +0 -4
- package/dist/cli/args/subcommands.d.ts.map +0 -1
- package/dist/cli/args/subcommands.js +0 -50
- package/dist/cli/args/subcommands.js.map +0 -1
- package/dist/cli/commands/diff.d.ts +0 -3
- package/dist/cli/commands/diff.d.ts.map +0 -1
- package/dist/cli/commands/diff.js +0 -142
- package/dist/cli/commands/diff.js.map +0 -1
- package/dist/cli/commands/index.d.ts +0 -5
- package/dist/cli/commands/index.d.ts.map +0 -1
- package/dist/cli/commands/index.js +0 -6
- package/dist/cli/commands/index.js.map +0 -1
- package/dist/cli/commands/init.d.ts +0 -3
- package/dist/cli/commands/init.d.ts.map +0 -1
- package/dist/cli/commands/init.js +0 -66
- package/dist/cli/commands/init.js.map +0 -1
- package/dist/cli/commands/sync.d.ts +0 -3
- package/dist/cli/commands/sync.d.ts.map +0 -1
- package/dist/cli/commands/sync.js +0 -50
- package/dist/cli/commands/sync.js.map +0 -1
- package/dist/cli/commands/validate.d.ts +0 -3
- package/dist/cli/commands/validate.d.ts.map +0 -1
- package/dist/cli/commands/validate.js +0 -70
- package/dist/cli/commands/validate.js.map +0 -1
- package/dist/cli/help/index.d.ts +0 -3
- package/dist/cli/help/index.d.ts.map +0 -1
- package/dist/cli/help/index.js +0 -4
- package/dist/cli/help/index.js.map +0 -1
- package/dist/cli/help/print-help.d.ts.map +0 -1
- package/dist/cli/help/print-help.js +0 -12
- package/dist/cli/help/print-help.js.map +0 -1
- package/dist/cli/help/templates.d.ts.map +0 -1
- package/dist/cli/help/templates.js +0 -83
- package/dist/cli/help/templates.js.map +0 -1
- package/dist/cli/index.d.ts +0 -5
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -6
- package/dist/cli/index.js.map +0 -1
- package/dist/cli/run-cli.d.ts +0 -3
- package/dist/cli/run-cli.d.ts.map +0 -1
- package/dist/cli/run-cli.js +0 -51
- package/dist/cli/run-cli.js.map +0 -1
- package/dist/core/config/discovery.d.ts.map +0 -1
- package/dist/core/config/discovery.js +0 -21
- package/dist/core/config/discovery.js.map +0 -1
- package/dist/core/config/index.d.ts +0 -4
- package/dist/core/config/index.d.ts.map +0 -1
- package/dist/core/config/index.js +0 -5
- package/dist/core/config/index.js.map +0 -1
- package/dist/core/config/loader.d.ts +0 -3
- package/dist/core/config/loader.d.ts.map +0 -1
- package/dist/core/config/loader.js +0 -54
- package/dist/core/config/loader.js.map +0 -1
- package/dist/core/config/schema.d.ts.map +0 -1
- package/dist/core/config/schema.js +0 -129
- package/dist/core/config/schema.js.map +0 -1
- package/dist/core/index.d.ts +0 -4
- package/dist/core/index.d.ts.map +0 -1
- package/dist/core/index.js +0 -5
- package/dist/core/index.js.map +0 -1
- package/dist/core/sync/engine-internal.d.ts.map +0 -1
- package/dist/core/sync/engine-internal.js +0 -118
- package/dist/core/sync/engine-internal.js.map +0 -1
- package/dist/core/sync/engine.d.ts.map +0 -1
- package/dist/core/sync/engine.js +0 -17
- package/dist/core/sync/engine.js.map +0 -1
- package/dist/core/sync/index.d.ts +0 -5
- package/dist/core/sync/index.d.ts.map +0 -1
- package/dist/core/sync/index.js +0 -6
- package/dist/core/sync/index.js.map +0 -1
- package/dist/core/sync/manifest.d.ts.map +0 -1
- package/dist/core/sync/manifest.js +0 -68
- package/dist/core/sync/manifest.js.map +0 -1
- package/dist/core/sync/merger.d.ts.map +0 -1
- package/dist/core/sync/merger.js +0 -63
- package/dist/core/sync/merger.js.map +0 -1
- package/dist/core/sync/targets/index.d.ts +0 -2
- package/dist/core/sync/targets/index.d.ts.map +0 -1
- package/dist/core/sync/targets/index.js +0 -3
- package/dist/core/sync/targets/index.js.map +0 -1
- package/dist/core/sync/targets/target-configs.d.ts.map +0 -1
- package/dist/core/sync/targets/target-configs.js +0 -8
- package/dist/core/sync/targets/target-configs.js.map +0 -1
- package/dist/core/transform/index.d.ts +0 -5
- package/dist/core/transform/index.d.ts.map +0 -1
- package/dist/core/transform/index.js +0 -6
- package/dist/core/transform/index.js.map +0 -1
- package/dist/core/transform/parser.d.ts +0 -8
- package/dist/core/transform/parser.d.ts.map +0 -1
- package/dist/core/transform/parser.js +0 -57
- package/dist/core/transform/parser.js.map +0 -1
- package/dist/core/transform/reassembler.d.ts.map +0 -1
- package/dist/core/transform/reassembler.js +0 -13
- package/dist/core/transform/reassembler.js.map +0 -1
- package/dist/core/transform/stripper.d.ts.map +0 -1
- package/dist/core/transform/stripper.js +0 -10
- package/dist/core/transform/stripper.js.map +0 -1
- package/dist/core/transform/transform-agent.d.ts +0 -3
- package/dist/core/transform/transform-agent.d.ts.map +0 -1
- package/dist/core/transform/transform-agent.js +0 -23
- package/dist/core/transform/transform-agent.js.map +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -7
- package/dist/index.js.map +0 -1
- package/dist/shared/targets.d.ts +0 -19
- package/dist/shared/targets.d.ts.map +0 -1
- package/dist/shared/targets.js +0 -69
- package/dist/shared/targets.js.map +0 -1
- package/dist/types/cli.d.ts.map +0 -1
- package/dist/types/cli.js +0 -3
- package/dist/types/cli.js.map +0 -1
- package/dist/types/config.d.ts.map +0 -1
- package/dist/types/config.js +0 -2
- package/dist/types/config.js.map +0 -1
- package/dist/types/errors.d.ts +0 -14
- package/dist/types/errors.d.ts.map +0 -1
- package/dist/types/errors.js +0 -2
- package/dist/types/errors.js.map +0 -1
- package/dist/types/index.d.ts +0 -7
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -8
- package/dist/types/index.js.map +0 -1
- package/dist/types/sync.d.ts.map +0 -1
- package/dist/types/sync.js +0 -2
- package/dist/types/sync.js.map +0 -1
- package/dist/types/targets.d.ts.map +0 -1
- package/dist/types/targets.js +0 -92
- package/dist/types/targets.js.map +0 -1
- package/dist/types/transform.d.ts.map +0 -1
- package/dist/types/transform.js +0 -2
- package/dist/types/transform.js.map +0 -1
- package/dist/utils/errors/classes.d.ts +0 -69
- package/dist/utils/errors/classes.d.ts.map +0 -1
- package/dist/utils/errors/classes.js +0 -118
- package/dist/utils/errors/classes.js.map +0 -1
- package/dist/utils/errors/codes.d.ts +0 -28
- package/dist/utils/errors/codes.d.ts.map +0 -1
- package/dist/utils/errors/codes.js +0 -35
- package/dist/utils/errors/codes.js.map +0 -1
- package/dist/utils/errors/index.d.ts +0 -3
- package/dist/utils/errors/index.d.ts.map +0 -1
- package/dist/utils/errors/index.js +0 -4
- package/dist/utils/errors/index.js.map +0 -1
- package/dist/utils/fs/atomic.d.ts.map +0 -1
- package/dist/utils/fs/atomic.js +0 -24
- package/dist/utils/fs/atomic.js.map +0 -1
- package/dist/utils/fs/index.d.ts +0 -5
- package/dist/utils/fs/index.d.ts.map +0 -1
- package/dist/utils/fs/index.js +0 -6
- package/dist/utils/fs/index.js.map +0 -1
- package/dist/utils/fs/operations.d.ts.map +0 -1
- package/dist/utils/fs/operations.js +0 -60
- package/dist/utils/fs/operations.js.map +0 -1
- package/dist/utils/fs/paths.d.ts.map +0 -1
- package/dist/utils/fs/paths.js +0 -58
- package/dist/utils/fs/paths.js.map +0 -1
- package/dist/utils/fs/sanitization.d.ts.map +0 -1
- package/dist/utils/fs/sanitization.js +0 -57
- package/dist/utils/fs/sanitization.js.map +0 -1
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js +0 -5
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/logging/console.d.ts.map +0 -1
- package/dist/utils/logging/console.js +0 -112
- package/dist/utils/logging/console.js.map +0 -1
- package/dist/utils/logging/index.d.ts +0 -3
- package/dist/utils/logging/index.d.ts.map +0 -1
- package/dist/utils/logging/index.js +0 -4
- package/dist/utils/logging/index.js.map +0 -1
- package/dist/utils/logging/levels.d.ts.map +0 -1
- package/dist/utils/logging/levels.js +0 -2
- package/dist/utils/logging/levels.js.map +0 -1
- /package/dist/{agents → cjs/agents}/Agent.md.sample +0 -0
- /package/dist/{agents → cjs/agents}/agentic-tools-creator.md +0 -0
- /package/dist/{skills → cjs/skills}/SKILL.md.sample +0 -0
- /package/dist/{skills → cjs/skills}/agent-creator/SKILL.md +0 -0
- /package/dist/{skills → cjs/skills}/agent-creator/assets/examples/code-reviewer.md +0 -0
- /package/dist/{skills → cjs/skills}/agent-creator/assets/examples/docs-writer.md +0 -0
- /package/dist/{skills → cjs/skills}/agent-creator/assets/examples/read-only-researcher.md +0 -0
- /package/dist/{skills → cjs/skills}/agent-creator/references/AGENT_TEMPLATE.md +0 -0
- /package/dist/{skills → cjs/skills}/agent-creator/references/frontmatter.md +0 -0
- /package/dist/{skills → cjs/skills}/agent-creator/references/prompt.md +0 -0
- /package/dist/{skills → cjs/skills}/agent-creator/references/validation.md +0 -0
- /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/SKILL.md +0 -0
- /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/assets/examples/frontend-developer-agent.md +0 -0
- /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/assets/examples/git-formatter-skill.md +0 -0
- /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/references/agent-repos.md +0 -0
- /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/references/skill-repos.md +0 -0
- /package/dist/{skills → cjs/skills}/skill-creator/SKILL.md +0 -0
- /package/dist/{skills → cjs/skills}/skill-creator/assets/examples/background-knowledge-skill.md +0 -0
- /package/dist/{skills → cjs/skills}/skill-creator/assets/examples/code-generation-skill.md +0 -0
- /package/dist/{skills → cjs/skills}/skill-creator/assets/examples/simple-git-skill.md +0 -0
- /package/dist/{skills → cjs/skills}/skill-creator/references/SKILL_TEMPLATE.md +0 -0
- /package/dist/{skills → cjs/skills}/skill-creator/references/frontmatter.md +0 -0
- /package/dist/{skills → cjs/skills}/skill-creator/references/prompt.md +0 -0
- /package/dist/{skills → cjs/skills}/skill-creator/references/validation.md +0 -0
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
# Agent System Prompt Reference
|
|
2
|
+
|
|
3
|
+
Complete reference for writing the system prompt (Markdown body) of agent files.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
The Markdown body after frontmatter contains the system prompt. This defines the agent's persona, responsibilities, and behavioral guidelines. Write whatever helps the agent perform its task effectively.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Recommended Structure
|
|
14
|
+
|
|
15
|
+
While not required, the following structure is recommended for consistency:
|
|
16
|
+
|
|
17
|
+
### Role/Persona
|
|
18
|
+
|
|
19
|
+
Define who the agent is and its primary purpose.
|
|
20
|
+
|
|
21
|
+
```markdown
|
|
22
|
+
You are [Role/Persona]. Your purpose is to [clear statement of what this agent does].
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**Examples:**
|
|
26
|
+
```markdown
|
|
27
|
+
You are a code researcher. Your job is to explore codebases and provide
|
|
28
|
+
accurate information about code structure, patterns, and relationships.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
```markdown
|
|
32
|
+
You are a senior code reviewer. Focus on:
|
|
33
|
+
- Code quality and maintainability
|
|
34
|
+
- Security vulnerabilities
|
|
35
|
+
- Performance implications
|
|
36
|
+
- Best practices and patterns
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Core Responsibilities
|
|
40
|
+
|
|
41
|
+
List the primary responsibilities of the agent.
|
|
42
|
+
|
|
43
|
+
```markdown
|
|
44
|
+
### Core Responsibilities
|
|
45
|
+
|
|
46
|
+
1. [Primary responsibility]
|
|
47
|
+
2. [Secondary responsibility]
|
|
48
|
+
3. [Tertiary responsibility]
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
**Example:**
|
|
52
|
+
```markdown
|
|
53
|
+
### Core Responsibilities
|
|
54
|
+
|
|
55
|
+
1. Explore codebases and provide detailed analysis
|
|
56
|
+
2. Find specific implementations and trace function calls
|
|
57
|
+
3. Generate summaries of code modules and architecture
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Behavioral Guidelines
|
|
61
|
+
|
|
62
|
+
Define the agent's tone, philosophy, and approach.
|
|
63
|
+
|
|
64
|
+
```markdown
|
|
65
|
+
### Behavioral Guidelines
|
|
66
|
+
|
|
67
|
+
- **Tone**: [e.g., Concise, Direct, Authoritative, Pedagogical]
|
|
68
|
+
- **Philosophy**: [e.g., "Zero dependencies, maximum portability"]
|
|
69
|
+
- **Approach**: [e.g., "Fail fast, fail loud", "Explicit over implicit"]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
**Example:**
|
|
73
|
+
```markdown
|
|
74
|
+
### Behavioral Guidelines
|
|
75
|
+
|
|
76
|
+
- **Tone**: Concise, Direct
|
|
77
|
+
- **Philosophy**: Accuracy over speed
|
|
78
|
+
- **Approach**: Always cite file paths and line numbers
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Technical Domain
|
|
82
|
+
|
|
83
|
+
Specify the agent's technical expertise.
|
|
84
|
+
|
|
85
|
+
```markdown
|
|
86
|
+
### Technical Domain
|
|
87
|
+
|
|
88
|
+
- **Languages**: [e.g., TypeScript, Go, Rust, Python]
|
|
89
|
+
- **Frameworks**: [e.g., React, Node.js, Kubernetes]
|
|
90
|
+
- **Specializations**: [e.g., Distributed systems, Security, Performance]
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Example:**
|
|
94
|
+
```markdown
|
|
95
|
+
### Technical Domain
|
|
96
|
+
|
|
97
|
+
- **Languages**: TypeScript, JavaScript, Python
|
|
98
|
+
- **Frameworks**: React, Node.js, Angular
|
|
99
|
+
- **Specializations**: Code analysis, architecture review
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### Constraints
|
|
103
|
+
|
|
104
|
+
Define what the agent should NEVER do.
|
|
105
|
+
|
|
106
|
+
```markdown
|
|
107
|
+
### Constraints
|
|
108
|
+
|
|
109
|
+
- ❌ NEVER [specific restriction]
|
|
110
|
+
- ❌ NEVER [specific restriction]
|
|
111
|
+
- ❌ NEVER [specific restriction]
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**Example:**
|
|
115
|
+
```markdown
|
|
116
|
+
### Constraints
|
|
117
|
+
|
|
118
|
+
- ❌ NEVER make code changes
|
|
119
|
+
- ❌ NEVER execute commands that modify the filesystem
|
|
120
|
+
- ❌ NEVER skip file path citations
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Workflow
|
|
124
|
+
|
|
125
|
+
Define the agent's step-by-step process.
|
|
126
|
+
|
|
127
|
+
```markdown
|
|
128
|
+
### Workflow
|
|
129
|
+
|
|
130
|
+
1. **Analyze**: [First step]
|
|
131
|
+
2. **Plan**: [Second step]
|
|
132
|
+
3. **Execute**: [Third step]
|
|
133
|
+
4. **Validate**: [Fourth step]
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
**Example:**
|
|
137
|
+
```markdown
|
|
138
|
+
### Workflow
|
|
139
|
+
|
|
140
|
+
1. **Analyze**: Read the codebase structure
|
|
141
|
+
2. **Identify**: Find relevant files and functions
|
|
142
|
+
3. **Trace**: Follow dependencies and relationships
|
|
143
|
+
4. **Report**: Compile findings with citations
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Output Format
|
|
147
|
+
|
|
148
|
+
Define how the agent should present its results.
|
|
149
|
+
|
|
150
|
+
```markdown
|
|
151
|
+
### Output Format
|
|
152
|
+
|
|
153
|
+
When providing results:
|
|
154
|
+
- [Format requirement 1]
|
|
155
|
+
- [Format requirement 2]
|
|
156
|
+
- [Format requirement 3]
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
**Example:**
|
|
160
|
+
```markdown
|
|
161
|
+
### Output Format
|
|
162
|
+
|
|
163
|
+
When providing results:
|
|
164
|
+
- Always cite file paths and line numbers
|
|
165
|
+
- Use structured format (headers, lists, code blocks)
|
|
166
|
+
- Include confidence levels for findings
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## Content Types
|
|
172
|
+
|
|
173
|
+
Agents can contain different types of system prompts:
|
|
174
|
+
|
|
175
|
+
### Research Agent
|
|
176
|
+
|
|
177
|
+
Focus on analysis and information gathering.
|
|
178
|
+
|
|
179
|
+
```markdown
|
|
180
|
+
You are a code researcher. Your job is to explore codebases and provide
|
|
181
|
+
accurate information about code structure, patterns, and relationships.
|
|
182
|
+
|
|
183
|
+
Always cite file paths and line numbers when referencing code.
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### Task Agent
|
|
187
|
+
|
|
188
|
+
Focus on completing specific actions.
|
|
189
|
+
|
|
190
|
+
```markdown
|
|
191
|
+
You are a technical writer. Create clear, comprehensive documentation.
|
|
192
|
+
Focus on clarity, proper structure, and user-friendly language.
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
### Review Agent
|
|
196
|
+
|
|
197
|
+
Focus on evaluation and feedback.
|
|
198
|
+
|
|
199
|
+
```markdown
|
|
200
|
+
You are a senior code reviewer. Focus on:
|
|
201
|
+
- Code quality and maintainability
|
|
202
|
+
- Security vulnerabilities
|
|
203
|
+
- Performance implications
|
|
204
|
+
- Best practices and patterns
|
|
205
|
+
|
|
206
|
+
Provide actionable feedback without making direct changes.
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Background Agent
|
|
210
|
+
|
|
211
|
+
Focus on long-running, deep investigations.
|
|
212
|
+
|
|
213
|
+
```markdown
|
|
214
|
+
You are a deep researcher. Perform thorough investigations and compile
|
|
215
|
+
detailed findings. Save important discoveries to your memory for future reference.
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## Best Practices
|
|
221
|
+
|
|
222
|
+
### Be Specific
|
|
223
|
+
|
|
224
|
+
**Vague (avoid):**
|
|
225
|
+
```markdown
|
|
226
|
+
You are a helpful assistant.
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
**Specific (prefer):**
|
|
230
|
+
```markdown
|
|
231
|
+
You are a code researcher specializing in TypeScript and React applications.
|
|
232
|
+
Your job is to explore codebases and provide detailed analysis of code structure,
|
|
233
|
+
patterns, and relationships.
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
### Define Constraints Clearly
|
|
237
|
+
|
|
238
|
+
**Unclear (avoid):**
|
|
239
|
+
```markdown
|
|
240
|
+
Don't do bad things.
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
**Clear (prefer):**
|
|
244
|
+
```markdown
|
|
245
|
+
### Constraints
|
|
246
|
+
|
|
247
|
+
- ❌ NEVER make code changes
|
|
248
|
+
- ❌ NEVER execute commands that modify the filesystem
|
|
249
|
+
- ❌ NEVER skip file path citations
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### Use Structured Format
|
|
253
|
+
|
|
254
|
+
**Unstructured (avoid):**
|
|
255
|
+
```markdown
|
|
256
|
+
You should look at code and then tell the user about it. Make sure to cite files.
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
**Structured (prefer):**
|
|
260
|
+
```markdown
|
|
261
|
+
### Workflow
|
|
262
|
+
|
|
263
|
+
1. **Analyze**: Read the codebase structure
|
|
264
|
+
2. **Identify**: Find relevant files and functions
|
|
265
|
+
3. **Trace**: Follow dependencies and relationships
|
|
266
|
+
4. **Report**: Compile findings with citations
|
|
267
|
+
|
|
268
|
+
### Output Format
|
|
269
|
+
|
|
270
|
+
When providing results:
|
|
271
|
+
- Always cite file paths and line numbers
|
|
272
|
+
- Use structured format (headers, lists, code blocks)
|
|
273
|
+
- Include confidence levels for findings
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
### Keep It Concise
|
|
277
|
+
|
|
278
|
+
**Verbose (avoid):**
|
|
279
|
+
```markdown
|
|
280
|
+
You are a very experienced code researcher who has been working with code
|
|
281
|
+
for many years and has a lot of knowledge about different programming
|
|
282
|
+
languages and frameworks. Your job is to help people understand code
|
|
283
|
+
by looking at it and then telling them about what you found.
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
**Concise (prefer):**
|
|
287
|
+
```markdown
|
|
288
|
+
You are a code researcher. Explore codebases and provide accurate
|
|
289
|
+
information about code structure, patterns, and relationships.
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## Dynamic Context (Claude Only)
|
|
295
|
+
|
|
296
|
+
### Inline Shell Commands
|
|
297
|
+
|
|
298
|
+
Use `` !`command` `` to inject shell output into the system prompt. Claude runs the command and replaces the line with its output.
|
|
299
|
+
|
|
300
|
+
**Examples:**
|
|
301
|
+
```markdown
|
|
302
|
+
## Current State
|
|
303
|
+
!`git status --short`
|
|
304
|
+
|
|
305
|
+
## Files
|
|
306
|
+
!`ls -la src/`
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
This is useful for grounding instructions in actual data.
|
|
310
|
+
|
|
311
|
+
### String Substitutions
|
|
312
|
+
|
|
313
|
+
| Variable | Description |
|
|
314
|
+
|----------|-------------|
|
|
315
|
+
| `$ARGUMENTS` | All arguments passed when invoking the agent |
|
|
316
|
+
| `${CLAUDE_SESSION_ID}` | Current session ID |
|
|
317
|
+
| `${CLAUDE_EFFORT}` | Current effort level |
|
|
318
|
+
|
|
319
|
+
**Example:**
|
|
320
|
+
```markdown
|
|
321
|
+
## Session Log
|
|
322
|
+
Log to logs/${CLAUDE_SESSION_ID}.log:
|
|
323
|
+
|
|
324
|
+
$ARGUMENTS
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
329
|
+
## Examples from Real Agents
|
|
330
|
+
|
|
331
|
+
### Simple Research Agent
|
|
332
|
+
|
|
333
|
+
```markdown
|
|
334
|
+
You are a code researcher. Your job is to explore codebases and provide
|
|
335
|
+
accurate information about code structure, patterns, and relationships.
|
|
336
|
+
|
|
337
|
+
Always cite file paths and line numbers when referencing code.
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
### Complex Review Agent
|
|
341
|
+
|
|
342
|
+
```markdown
|
|
343
|
+
You are a senior code reviewer. Focus on:
|
|
344
|
+
|
|
345
|
+
### Core Responsibilities
|
|
346
|
+
|
|
347
|
+
1. Review code for quality, security, and best practices
|
|
348
|
+
2. Identify potential bugs and issues
|
|
349
|
+
3. Suggest improvements and optimizations
|
|
350
|
+
|
|
351
|
+
### Behavioral Guidelines
|
|
352
|
+
|
|
353
|
+
- **Tone**: Professional, Constructive
|
|
354
|
+
- **Philosophy**: "Code is read more than it is written"
|
|
355
|
+
- **Approach**: Be specific, cite examples
|
|
356
|
+
|
|
357
|
+
### Constraints
|
|
358
|
+
|
|
359
|
+
- ❌ NEVER make code changes directly
|
|
360
|
+
- ❌ NEVER execute deployment commands
|
|
361
|
+
- ❌ NEVER review non-code files
|
|
362
|
+
|
|
363
|
+
### Output Format
|
|
364
|
+
|
|
365
|
+
When providing results:
|
|
366
|
+
- Use severity levels (critical/major/minor)
|
|
367
|
+
- Cite specific file paths and line numbers
|
|
368
|
+
- Provide concrete improvement suggestions
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
### Documentation Agent
|
|
372
|
+
|
|
373
|
+
```markdown
|
|
374
|
+
You are a technical writer. Create clear, comprehensive documentation.
|
|
375
|
+
|
|
376
|
+
### Core Responsibilities
|
|
377
|
+
|
|
378
|
+
1. Create and maintain project documentation
|
|
379
|
+
2. Generate API references and inline comments
|
|
380
|
+
3. Write technical guides and tutorials
|
|
381
|
+
|
|
382
|
+
### Behavioral Guidelines
|
|
383
|
+
|
|
384
|
+
- **Tone**: Clear, Pedagogical
|
|
385
|
+
- **Philosophy**: "Documentation is a love letter to your future self"
|
|
386
|
+
- **Approach**: Use examples, be thorough
|
|
387
|
+
|
|
388
|
+
### Constraints
|
|
389
|
+
|
|
390
|
+
- ❌ NEVER make code changes
|
|
391
|
+
- ❌ NEVER skip documentation for public APIs
|
|
392
|
+
- ❌ NEVER use jargon without explanation
|
|
393
|
+
|
|
394
|
+
### Output Format
|
|
395
|
+
|
|
396
|
+
When providing results:
|
|
397
|
+
- Use markdown formatting
|
|
398
|
+
- Include code examples
|
|
399
|
+
- Add cross-references where appropriate
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
---
|
|
403
|
+
|
|
404
|
+
## Common Patterns
|
|
405
|
+
|
|
406
|
+
### Role Definition Pattern
|
|
407
|
+
|
|
408
|
+
```markdown
|
|
409
|
+
You are [Role]. Your purpose is to [clear statement].
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
### Responsibility List Pattern
|
|
413
|
+
|
|
414
|
+
```markdown
|
|
415
|
+
### Core Responsibilities
|
|
416
|
+
|
|
417
|
+
1. [Primary responsibility]
|
|
418
|
+
2. [Secondary responsibility]
|
|
419
|
+
3. [Tertiary responsibility]
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
### Constraint Pattern
|
|
423
|
+
|
|
424
|
+
```markdown
|
|
425
|
+
### Constraints
|
|
426
|
+
|
|
427
|
+
- ❌ NEVER [restriction]
|
|
428
|
+
- ❌ NEVER [restriction]
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
### Workflow Pattern
|
|
432
|
+
|
|
433
|
+
```markdown
|
|
434
|
+
### Workflow
|
|
435
|
+
|
|
436
|
+
1. **[Step]**: [Description]
|
|
437
|
+
2. **[Step]**: [Description]
|
|
438
|
+
3. **[Step]**: [Description]
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
### Output Format Pattern
|
|
442
|
+
|
|
443
|
+
```markdown
|
|
444
|
+
### Output Format
|
|
445
|
+
|
|
446
|
+
When providing results:
|
|
447
|
+
- [Format requirement]
|
|
448
|
+
- [Format requirement]
|
|
449
|
+
```
|