cc-agentic-framework 1.14.1
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/README.md +686 -0
- package/bin/agentic-framework +2 -0
- package/bin/mcp-server +14 -0
- package/dist/__mocks__/chalk.d.ts +11 -0
- package/dist/__mocks__/chalk.d.ts.map +1 -0
- package/dist/__mocks__/chalk.js +20 -0
- package/dist/__mocks__/chalk.js.map +1 -0
- package/dist/__mocks__/ora.d.ts +20 -0
- package/dist/__mocks__/ora.d.ts.map +1 -0
- package/dist/__mocks__/ora.js +52 -0
- package/dist/__mocks__/ora.js.map +1 -0
- package/dist/commands/add.d.ts +6 -0
- package/dist/commands/add.d.ts.map +1 -0
- package/dist/commands/add.js +105 -0
- package/dist/commands/add.js.map +1 -0
- package/dist/commands/agent/index.d.ts +11 -0
- package/dist/commands/agent/index.d.ts.map +1 -0
- package/dist/commands/agent/index.js +22 -0
- package/dist/commands/agent/index.js.map +1 -0
- package/dist/commands/agent/list.d.ts +8 -0
- package/dist/commands/agent/list.d.ts.map +1 -0
- package/dist/commands/agent/list.js +53 -0
- package/dist/commands/agent/list.js.map +1 -0
- package/dist/commands/agent/run.d.ts +9 -0
- package/dist/commands/agent/run.d.ts.map +1 -0
- package/dist/commands/agent/run.js +180 -0
- package/dist/commands/agent/run.js.map +1 -0
- package/dist/commands/agent/show.d.ts +8 -0
- package/dist/commands/agent/show.d.ts.map +1 -0
- package/dist/commands/agent/show.js +109 -0
- package/dist/commands/agent/show.js.map +1 -0
- package/dist/commands/backlog/create-ticket.d.ts +19 -0
- package/dist/commands/backlog/create-ticket.d.ts.map +1 -0
- package/dist/commands/backlog/create-ticket.js +168 -0
- package/dist/commands/backlog/create-ticket.js.map +1 -0
- package/dist/commands/backlog/import-jira.d.ts +32 -0
- package/dist/commands/backlog/import-jira.d.ts.map +1 -0
- package/dist/commands/backlog/import-jira.js +126 -0
- package/dist/commands/backlog/import-jira.js.map +1 -0
- package/dist/commands/backlog/migrate-milestones.d.ts +21 -0
- package/dist/commands/backlog/migrate-milestones.d.ts.map +1 -0
- package/dist/commands/backlog/migrate-milestones.js +155 -0
- package/dist/commands/backlog/migrate-milestones.js.map +1 -0
- package/dist/commands/backlog/update-fields.d.ts +36 -0
- package/dist/commands/backlog/update-fields.d.ts.map +1 -0
- package/dist/commands/backlog/update-fields.js +251 -0
- package/dist/commands/backlog/update-fields.js.map +1 -0
- package/dist/commands/backlog/validate-enhanced.d.ts +19 -0
- package/dist/commands/backlog/validate-enhanced.d.ts.map +1 -0
- package/dist/commands/backlog/validate-enhanced.js +282 -0
- package/dist/commands/backlog/validate-enhanced.js.map +1 -0
- package/dist/commands/backlog/validate.d.ts +19 -0
- package/dist/commands/backlog/validate.d.ts.map +1 -0
- package/dist/commands/backlog/validate.js +283 -0
- package/dist/commands/backlog/validate.js.map +1 -0
- package/dist/commands/build.d.ts +20 -0
- package/dist/commands/build.d.ts.map +1 -0
- package/dist/commands/build.js +116 -0
- package/dist/commands/build.js.map +1 -0
- package/dist/commands/bump-version.d.ts +61 -0
- package/dist/commands/bump-version.d.ts.map +1 -0
- package/dist/commands/bump-version.js +618 -0
- package/dist/commands/bump-version.js.map +1 -0
- package/dist/commands/confluence/create-page.d.ts +11 -0
- package/dist/commands/confluence/create-page.d.ts.map +1 -0
- package/dist/commands/confluence/create-page.js +72 -0
- package/dist/commands/confluence/create-page.js.map +1 -0
- package/dist/commands/confluence/fetch-page.d.ts +11 -0
- package/dist/commands/confluence/fetch-page.d.ts.map +1 -0
- package/dist/commands/confluence/fetch-page.js +64 -0
- package/dist/commands/confluence/fetch-page.js.map +1 -0
- package/dist/commands/confluence/import-reports.d.ts +12 -0
- package/dist/commands/confluence/import-reports.d.ts.map +1 -0
- package/dist/commands/confluence/import-reports.js +68 -0
- package/dist/commands/confluence/import-reports.js.map +1 -0
- package/dist/commands/confluence/validate.d.ts +23 -0
- package/dist/commands/confluence/validate.d.ts.map +1 -0
- package/dist/commands/confluence/validate.js +272 -0
- package/dist/commands/confluence/validate.js.map +1 -0
- package/dist/commands/create-agent.d.ts +8 -0
- package/dist/commands/create-agent.d.ts.map +1 -0
- package/dist/commands/create-agent.js +104 -0
- package/dist/commands/create-agent.js.map +1 -0
- package/dist/commands/create-module.d.ts +8 -0
- package/dist/commands/create-module.d.ts.map +1 -0
- package/dist/commands/create-module.js +123 -0
- package/dist/commands/create-module.js.map +1 -0
- package/dist/commands/create-skill.d.ts +8 -0
- package/dist/commands/create-skill.d.ts.map +1 -0
- package/dist/commands/create-skill.js +108 -0
- package/dist/commands/create-skill.js.map +1 -0
- package/dist/commands/dev.d.ts +21 -0
- package/dist/commands/dev.d.ts.map +1 -0
- package/dist/commands/dev.js +304 -0
- package/dist/commands/dev.js.map +1 -0
- package/dist/commands/generate-agents.d.ts +19 -0
- package/dist/commands/generate-agents.d.ts.map +1 -0
- package/dist/commands/generate-agents.js +146 -0
- package/dist/commands/generate-agents.js.map +1 -0
- package/dist/commands/generate-commands.d.ts +13 -0
- package/dist/commands/generate-commands.d.ts.map +1 -0
- package/dist/commands/generate-commands.js +229 -0
- package/dist/commands/generate-commands.js.map +1 -0
- package/dist/commands/info.d.ts +2 -0
- package/dist/commands/info.d.ts.map +1 -0
- package/dist/commands/info.js +83 -0
- package/dist/commands/info.js.map +1 -0
- package/dist/commands/init.d.ts +27 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +740 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/jira/export.d.ts +19 -0
- package/dist/commands/jira/export.d.ts.map +1 -0
- package/dist/commands/jira/export.js +212 -0
- package/dist/commands/jira/export.js.map +1 -0
- package/dist/commands/jira/sync.d.ts +20 -0
- package/dist/commands/jira/sync.d.ts.map +1 -0
- package/dist/commands/jira/sync.js +242 -0
- package/dist/commands/jira/sync.js.map +1 -0
- package/dist/commands/list.d.ts +6 -0
- package/dist/commands/list.d.ts.map +1 -0
- package/dist/commands/list.js +51 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/mcp/check.d.ts +11 -0
- package/dist/commands/mcp/check.d.ts.map +1 -0
- package/dist/commands/mcp/check.js +71 -0
- package/dist/commands/mcp/check.js.map +1 -0
- package/dist/commands/mcp/index.d.ts +15 -0
- package/dist/commands/mcp/index.d.ts.map +1 -0
- package/dist/commands/mcp/index.js +28 -0
- package/dist/commands/mcp/index.js.map +1 -0
- package/dist/commands/mcp/seed.d.ts +11 -0
- package/dist/commands/mcp/seed.d.ts.map +1 -0
- package/dist/commands/mcp/seed.js +222 -0
- package/dist/commands/mcp/seed.js.map +1 -0
- package/dist/commands/mcp/setup.d.ts +13 -0
- package/dist/commands/mcp/setup.d.ts.map +1 -0
- package/dist/commands/mcp/setup.js +387 -0
- package/dist/commands/mcp/setup.js.map +1 -0
- package/dist/commands/mcp/status.d.ts +11 -0
- package/dist/commands/mcp/status.d.ts.map +1 -0
- package/dist/commands/mcp/status.js +126 -0
- package/dist/commands/mcp/status.js.map +1 -0
- package/dist/commands/openclaw/export.d.ts +9 -0
- package/dist/commands/openclaw/export.d.ts.map +1 -0
- package/dist/commands/openclaw/export.js +72 -0
- package/dist/commands/openclaw/export.js.map +1 -0
- package/dist/commands/openclaw/index.d.ts +6 -0
- package/dist/commands/openclaw/index.d.ts.map +1 -0
- package/dist/commands/openclaw/index.js +11 -0
- package/dist/commands/openclaw/index.js.map +1 -0
- package/dist/commands/planning/create-plan.d.ts +21 -0
- package/dist/commands/planning/create-plan.d.ts.map +1 -0
- package/dist/commands/planning/create-plan.js +74 -0
- package/dist/commands/planning/create-plan.js.map +1 -0
- package/dist/commands/planning/validate-plan.d.ts +19 -0
- package/dist/commands/planning/validate-plan.d.ts.map +1 -0
- package/dist/commands/planning/validate-plan.js +276 -0
- package/dist/commands/planning/validate-plan.js.map +1 -0
- package/dist/commands/remove.d.ts +8 -0
- package/dist/commands/remove.d.ts.map +1 -0
- package/dist/commands/remove.js +157 -0
- package/dist/commands/remove.js.map +1 -0
- package/dist/commands/routes.d.ts +16 -0
- package/dist/commands/routes.d.ts.map +1 -0
- package/dist/commands/routes.js +153 -0
- package/dist/commands/routes.js.map +1 -0
- package/dist/commands/skill/deploy.d.ts +12 -0
- package/dist/commands/skill/deploy.d.ts.map +1 -0
- package/dist/commands/skill/deploy.js +327 -0
- package/dist/commands/skill/deploy.js.map +1 -0
- package/dist/commands/skill/index.d.ts +6 -0
- package/dist/commands/skill/index.d.ts.map +1 -0
- package/dist/commands/skill/index.js +20 -0
- package/dist/commands/skill/index.js.map +1 -0
- package/dist/commands/skill/info.d.ts +11 -0
- package/dist/commands/skill/info.d.ts.map +1 -0
- package/dist/commands/skill/info.js +260 -0
- package/dist/commands/skill/info.js.map +1 -0
- package/dist/commands/skill/list.d.ts +11 -0
- package/dist/commands/skill/list.d.ts.map +1 -0
- package/dist/commands/skill/list.js +242 -0
- package/dist/commands/skill/list.js.map +1 -0
- package/dist/commands/skill/pull.d.ts +12 -0
- package/dist/commands/skill/pull.d.ts.map +1 -0
- package/dist/commands/skill/pull.js +133 -0
- package/dist/commands/skill/pull.js.map +1 -0
- package/dist/commands/skill/remove.d.ts +12 -0
- package/dist/commands/skill/remove.d.ts.map +1 -0
- package/dist/commands/skill/remove.js +99 -0
- package/dist/commands/skill/remove.js.map +1 -0
- package/dist/commands/status.d.ts +11 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +195 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/sync.d.ts +20 -0
- package/dist/commands/sync.d.ts.map +1 -0
- package/dist/commands/sync.js +517 -0
- package/dist/commands/sync.js.map +1 -0
- package/dist/commands/template/index.d.ts +12 -0
- package/dist/commands/template/index.d.ts.map +1 -0
- package/dist/commands/template/index.js +24 -0
- package/dist/commands/template/index.js.map +1 -0
- package/dist/commands/template/info.d.ts +8 -0
- package/dist/commands/template/info.d.ts.map +1 -0
- package/dist/commands/template/info.js +125 -0
- package/dist/commands/template/info.js.map +1 -0
- package/dist/commands/template/list.d.ts +8 -0
- package/dist/commands/template/list.d.ts.map +1 -0
- package/dist/commands/template/list.js +77 -0
- package/dist/commands/template/list.js.map +1 -0
- package/dist/commands/template/render.d.ts +8 -0
- package/dist/commands/template/render.d.ts.map +1 -0
- package/dist/commands/template/render.js +115 -0
- package/dist/commands/template/render.js.map +1 -0
- package/dist/commands/template/validate.d.ts +8 -0
- package/dist/commands/template/validate.d.ts.map +1 -0
- package/dist/commands/template/validate.js +137 -0
- package/dist/commands/template/validate.js.map +1 -0
- package/dist/commands/test.d.ts +40 -0
- package/dist/commands/test.d.ts.map +1 -0
- package/dist/commands/test.js +240 -0
- package/dist/commands/test.js.map +1 -0
- package/dist/commands/update.d.ts +12 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +248 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/validate.d.ts +12 -0
- package/dist/commands/validate.d.ts.map +1 -0
- package/dist/commands/validate.js +355 -0
- package/dist/commands/validate.js.map +1 -0
- package/dist/commands/writer/analyze.d.ts +19 -0
- package/dist/commands/writer/analyze.d.ts.map +1 -0
- package/dist/commands/writer/analyze.js +210 -0
- package/dist/commands/writer/analyze.js.map +1 -0
- package/dist/commands/writer/build.d.ts +21 -0
- package/dist/commands/writer/build.d.ts.map +1 -0
- package/dist/commands/writer/build.js +241 -0
- package/dist/commands/writer/build.js.map +1 -0
- package/dist/commands/writer/create-chapter.d.ts +19 -0
- package/dist/commands/writer/create-chapter.d.ts.map +1 -0
- package/dist/commands/writer/create-chapter.js +260 -0
- package/dist/commands/writer/create-chapter.js.map +1 -0
- package/dist/commands/writer/create-character.d.ts +19 -0
- package/dist/commands/writer/create-character.d.ts.map +1 -0
- package/dist/commands/writer/create-character.js +263 -0
- package/dist/commands/writer/create-character.js.map +1 -0
- package/dist/commands/writer/create-part.d.ts +19 -0
- package/dist/commands/writer/create-part.d.ts.map +1 -0
- package/dist/commands/writer/create-part.js +239 -0
- package/dist/commands/writer/create-part.js.map +1 -0
- package/dist/commands/writer/create-scene.d.ts +19 -0
- package/dist/commands/writer/create-scene.d.ts.map +1 -0
- package/dist/commands/writer/create-scene.js +286 -0
- package/dist/commands/writer/create-scene.js.map +1 -0
- package/dist/commands/writer/export.d.ts +21 -0
- package/dist/commands/writer/export.d.ts.map +1 -0
- package/dist/commands/writer/export.js +230 -0
- package/dist/commands/writer/export.js.map +1 -0
- package/dist/commands/writer/init.d.ts +19 -0
- package/dist/commands/writer/init.d.ts.map +1 -0
- package/dist/commands/writer/init.js +227 -0
- package/dist/commands/writer/init.js.map +1 -0
- package/dist/commands/writer/lib/immutability-utils.d.ts +82 -0
- package/dist/commands/writer/lib/immutability-utils.d.ts.map +1 -0
- package/dist/commands/writer/lib/immutability-utils.js +253 -0
- package/dist/commands/writer/lib/immutability-utils.js.map +1 -0
- package/dist/commands/writer/lib/lock-utils.d.ts +48 -0
- package/dist/commands/writer/lib/lock-utils.d.ts.map +1 -0
- package/dist/commands/writer/lib/lock-utils.js +122 -0
- package/dist/commands/writer/lib/lock-utils.js.map +1 -0
- package/dist/commands/writer/lock-fact.d.ts +20 -0
- package/dist/commands/writer/lock-fact.d.ts.map +1 -0
- package/dist/commands/writer/lock-fact.js +174 -0
- package/dist/commands/writer/lock-fact.js.map +1 -0
- package/dist/commands/writer/unlock-fact.d.ts +20 -0
- package/dist/commands/writer/unlock-fact.d.ts.map +1 -0
- package/dist/commands/writer/unlock-fact.js +160 -0
- package/dist/commands/writer/unlock-fact.js.map +1 -0
- package/dist/commands/writer/validate-immutability.d.ts +19 -0
- package/dist/commands/writer/validate-immutability.d.ts.map +1 -0
- package/dist/commands/writer/validate-immutability.js +148 -0
- package/dist/commands/writer/validate-immutability.js.map +1 -0
- package/dist/commands/writer/validate.d.ts +20 -0
- package/dist/commands/writer/validate.d.ts.map +1 -0
- package/dist/commands/writer/validate.js +370 -0
- package/dist/commands/writer/validate.js.map +1 -0
- package/dist/hooks/claude-folder-protection.d.ts +23 -0
- package/dist/hooks/claude-folder-protection.d.ts.map +1 -0
- package/dist/hooks/claude-folder-protection.js +98 -0
- package/dist/hooks/claude-folder-protection.js.map +1 -0
- package/dist/hooks/index.d.ts +24 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +24 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/post-write-validate.d.ts +14 -0
- package/dist/hooks/post-write-validate.d.ts.map +1 -0
- package/dist/hooks/post-write-validate.js +142 -0
- package/dist/hooks/post-write-validate.js.map +1 -0
- package/dist/hooks/pre-commit-skill-reminder.d.ts +21 -0
- package/dist/hooks/pre-commit-skill-reminder.d.ts.map +1 -0
- package/dist/hooks/pre-commit-skill-reminder.js +142 -0
- package/dist/hooks/pre-commit-skill-reminder.js.map +1 -0
- package/dist/hooks/pre-write-quality.d.ts +14 -0
- package/dist/hooks/pre-write-quality.d.ts.map +1 -0
- package/dist/hooks/pre-write-quality.js +114 -0
- package/dist/hooks/pre-write-quality.js.map +1 -0
- package/dist/hooks/skill-reminder.d.ts +22 -0
- package/dist/hooks/skill-reminder.d.ts.map +1 -0
- package/dist/hooks/skill-reminder.js +285 -0
- package/dist/hooks/skill-reminder.js.map +1 -0
- package/dist/hooks/stop-quality-check.d.ts +14 -0
- package/dist/hooks/stop-quality-check.d.ts.map +1 -0
- package/dist/hooks/stop-quality-check.js +122 -0
- package/dist/hooks/stop-quality-check.js.map +1 -0
- package/dist/hooks/subagent-context-loader.d.ts +12 -0
- package/dist/hooks/subagent-context-loader.d.ts.map +1 -0
- package/dist/hooks/subagent-context-loader.js +124 -0
- package/dist/hooks/subagent-context-loader.js.map +1 -0
- package/dist/hooks/types.d.ts +89 -0
- package/dist/hooks/types.d.ts.map +1 -0
- package/dist/hooks/types.js +57 -0
- package/dist/hooks/types.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +256 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/affected-modules.d.ts +104 -0
- package/dist/lib/affected-modules.d.ts.map +1 -0
- package/dist/lib/affected-modules.js +283 -0
- package/dist/lib/affected-modules.js.map +1 -0
- package/dist/lib/agent-generator.d.ts +137 -0
- package/dist/lib/agent-generator.d.ts.map +1 -0
- package/dist/lib/agent-generator.js +274 -0
- package/dist/lib/agent-generator.js.map +1 -0
- package/dist/lib/backlog/__mocks__/prompt-utils.d.ts +5 -0
- package/dist/lib/backlog/__mocks__/prompt-utils.d.ts.map +1 -0
- package/dist/lib/backlog/__mocks__/prompt-utils.js +5 -0
- package/dist/lib/backlog/__mocks__/prompt-utils.js.map +1 -0
- package/dist/lib/backlog/content-parser.d.ts +83 -0
- package/dist/lib/backlog/content-parser.d.ts.map +1 -0
- package/dist/lib/backlog/content-parser.js +284 -0
- package/dist/lib/backlog/content-parser.js.map +1 -0
- package/dist/lib/backlog/csv-extractor.d.ts +87 -0
- package/dist/lib/backlog/csv-extractor.d.ts.map +1 -0
- package/dist/lib/backlog/csv-extractor.js +338 -0
- package/dist/lib/backlog/csv-extractor.js.map +1 -0
- package/dist/lib/backlog/epic-handler.d.ts +55 -0
- package/dist/lib/backlog/epic-handler.d.ts.map +1 -0
- package/dist/lib/backlog/epic-handler.js +222 -0
- package/dist/lib/backlog/epic-handler.js.map +1 -0
- package/dist/lib/backlog/field-updater.d.ts +195 -0
- package/dist/lib/backlog/field-updater.d.ts.map +1 -0
- package/dist/lib/backlog/field-updater.js +287 -0
- package/dist/lib/backlog/field-updater.js.map +1 -0
- package/dist/lib/backlog/import-engine.d.ts +110 -0
- package/dist/lib/backlog/import-engine.d.ts.map +1 -0
- package/dist/lib/backlog/import-engine.js +241 -0
- package/dist/lib/backlog/import-engine.js.map +1 -0
- package/dist/lib/backlog/import-strategies.d.ts +110 -0
- package/dist/lib/backlog/import-strategies.d.ts.map +1 -0
- package/dist/lib/backlog/import-strategies.js +398 -0
- package/dist/lib/backlog/import-strategies.js.map +1 -0
- package/dist/lib/backlog/jira-file-generators.d.ts +154 -0
- package/dist/lib/backlog/jira-file-generators.d.ts.map +1 -0
- package/dist/lib/backlog/jira-file-generators.js +265 -0
- package/dist/lib/backlog/jira-file-generators.js.map +1 -0
- package/dist/lib/backlog/jira-import-workflows.d.ts +112 -0
- package/dist/lib/backlog/jira-import-workflows.d.ts.map +1 -0
- package/dist/lib/backlog/jira-import-workflows.js +339 -0
- package/dist/lib/backlog/jira-import-workflows.js.map +1 -0
- package/dist/lib/backlog/jira-lookup.d.ts +121 -0
- package/dist/lib/backlog/jira-lookup.d.ts.map +1 -0
- package/dist/lib/backlog/jira-lookup.js +232 -0
- package/dist/lib/backlog/jira-lookup.js.map +1 -0
- package/dist/lib/backlog/jira-prompts.d.ts +66 -0
- package/dist/lib/backlog/jira-prompts.d.ts.map +1 -0
- package/dist/lib/backlog/jira-prompts.js +232 -0
- package/dist/lib/backlog/jira-prompts.js.map +1 -0
- package/dist/lib/backlog/jira-validators.d.ts +123 -0
- package/dist/lib/backlog/jira-validators.d.ts.map +1 -0
- package/dist/lib/backlog/jira-validators.js +394 -0
- package/dist/lib/backlog/jira-validators.js.map +1 -0
- package/dist/lib/backlog/milestone-generator.d.ts +172 -0
- package/dist/lib/backlog/milestone-generator.d.ts.map +1 -0
- package/dist/lib/backlog/milestone-generator.js +378 -0
- package/dist/lib/backlog/milestone-generator.js.map +1 -0
- package/dist/lib/backlog/milestone-migrator.d.ts +174 -0
- package/dist/lib/backlog/milestone-migrator.d.ts.map +1 -0
- package/dist/lib/backlog/milestone-migrator.js +401 -0
- package/dist/lib/backlog/milestone-migrator.js.map +1 -0
- package/dist/lib/backlog/milestone-sanitizer.d.ts +72 -0
- package/dist/lib/backlog/milestone-sanitizer.d.ts.map +1 -0
- package/dist/lib/backlog/milestone-sanitizer.js +139 -0
- package/dist/lib/backlog/milestone-sanitizer.js.map +1 -0
- package/dist/lib/backlog/prompt-utils.d.ts +9 -0
- package/dist/lib/backlog/prompt-utils.d.ts.map +1 -0
- package/dist/lib/backlog/prompt-utils.js +11 -0
- package/dist/lib/backlog/prompt-utils.js.map +1 -0
- package/dist/lib/backlog/sprint-creator.d.ts +145 -0
- package/dist/lib/backlog/sprint-creator.d.ts.map +1 -0
- package/dist/lib/backlog/sprint-creator.js +295 -0
- package/dist/lib/backlog/sprint-creator.js.map +1 -0
- package/dist/lib/backlog/ticket-generator.d.ts +79 -0
- package/dist/lib/backlog/ticket-generator.d.ts.map +1 -0
- package/dist/lib/backlog/ticket-generator.js +281 -0
- package/dist/lib/backlog/ticket-generator.js.map +1 -0
- package/dist/lib/backlog/ticket-processor.d.ts +205 -0
- package/dist/lib/backlog/ticket-processor.d.ts.map +1 -0
- package/dist/lib/backlog/ticket-processor.js +422 -0
- package/dist/lib/backlog/ticket-processor.js.map +1 -0
- package/dist/lib/backlog/types.d.ts +37 -0
- package/dist/lib/backlog/types.d.ts.map +1 -0
- package/dist/lib/backlog/types.js +7 -0
- package/dist/lib/backlog/types.js.map +1 -0
- package/dist/lib/backlog/validator.d.ts +61 -0
- package/dist/lib/backlog/validator.d.ts.map +1 -0
- package/dist/lib/backlog/validator.js +285 -0
- package/dist/lib/backlog/validator.js.map +1 -0
- package/dist/lib/boundary-validator.d.ts +88 -0
- package/dist/lib/boundary-validator.d.ts.map +1 -0
- package/dist/lib/boundary-validator.js +494 -0
- package/dist/lib/boundary-validator.js.map +1 -0
- package/dist/lib/build/build-engine.d.ts +142 -0
- package/dist/lib/build/build-engine.d.ts.map +1 -0
- package/dist/lib/build/build-engine.js +487 -0
- package/dist/lib/build/build-engine.js.map +1 -0
- package/dist/lib/build/index.d.ts +7 -0
- package/dist/lib/build/index.d.ts.map +1 -0
- package/dist/lib/build/index.js +7 -0
- package/dist/lib/build/index.js.map +1 -0
- package/dist/lib/cleanup-engine.d.ts +121 -0
- package/dist/lib/cleanup-engine.d.ts.map +1 -0
- package/dist/lib/cleanup-engine.js +252 -0
- package/dist/lib/cleanup-engine.js.map +1 -0
- package/dist/lib/cli-context.d.ts +283 -0
- package/dist/lib/cli-context.d.ts.map +1 -0
- package/dist/lib/cli-context.js +403 -0
- package/dist/lib/cli-context.js.map +1 -0
- package/dist/lib/cli-version.d.ts +7 -0
- package/dist/lib/cli-version.d.ts.map +1 -0
- package/dist/lib/cli-version.js +30 -0
- package/dist/lib/cli-version.js.map +1 -0
- package/dist/lib/command-factory.d.ts +76 -0
- package/dist/lib/command-factory.d.ts.map +1 -0
- package/dist/lib/command-factory.js +166 -0
- package/dist/lib/command-factory.js.map +1 -0
- package/dist/lib/common/api-client.d.ts +92 -0
- package/dist/lib/common/api-client.d.ts.map +1 -0
- package/dist/lib/common/api-client.js +206 -0
- package/dist/lib/common/api-client.js.map +1 -0
- package/dist/lib/common/file-utils.d.ts +92 -0
- package/dist/lib/common/file-utils.d.ts.map +1 -0
- package/dist/lib/common/file-utils.js +143 -0
- package/dist/lib/common/file-utils.js.map +1 -0
- package/dist/lib/common/validation.d.ts +91 -0
- package/dist/lib/common/validation.d.ts.map +1 -0
- package/dist/lib/common/validation.js +213 -0
- package/dist/lib/common/validation.js.map +1 -0
- package/dist/lib/common/yaml-frontmatter.d.ts +76 -0
- package/dist/lib/common/yaml-frontmatter.d.ts.map +1 -0
- package/dist/lib/common/yaml-frontmatter.js +89 -0
- package/dist/lib/common/yaml-frontmatter.js.map +1 -0
- package/dist/lib/confluence/adf-converter.d.ts +30 -0
- package/dist/lib/confluence/adf-converter.d.ts.map +1 -0
- package/dist/lib/confluence/adf-converter.js +649 -0
- package/dist/lib/confluence/adf-converter.js.map +1 -0
- package/dist/lib/confluence/confluence-client.d.ts +121 -0
- package/dist/lib/confluence/confluence-client.d.ts.map +1 -0
- package/dist/lib/confluence/confluence-client.js +249 -0
- package/dist/lib/confluence/confluence-client.js.map +1 -0
- package/dist/lib/confluence/confluence-commands.d.ts +58 -0
- package/dist/lib/confluence/confluence-commands.d.ts.map +1 -0
- package/dist/lib/confluence/confluence-commands.js +231 -0
- package/dist/lib/confluence/confluence-commands.js.map +1 -0
- package/dist/lib/discovery-engine.d.ts +159 -0
- package/dist/lib/discovery-engine.d.ts.map +1 -0
- package/dist/lib/discovery-engine.js +538 -0
- package/dist/lib/discovery-engine.js.map +1 -0
- package/dist/lib/framework-validator.d.ts +81 -0
- package/dist/lib/framework-validator.d.ts.map +1 -0
- package/dist/lib/framework-validator.js +546 -0
- package/dist/lib/framework-validator.js.map +1 -0
- package/dist/lib/global-skills-manager.d.ts +90 -0
- package/dist/lib/global-skills-manager.d.ts.map +1 -0
- package/dist/lib/global-skills-manager.js +180 -0
- package/dist/lib/global-skills-manager.js.map +1 -0
- package/dist/lib/jira/acceptance-criteria.d.ts +76 -0
- package/dist/lib/jira/acceptance-criteria.d.ts.map +1 -0
- package/dist/lib/jira/acceptance-criteria.js +163 -0
- package/dist/lib/jira/acceptance-criteria.js.map +1 -0
- package/dist/lib/jira/export-engine.d.ts +132 -0
- package/dist/lib/jira/export-engine.d.ts.map +1 -0
- package/dist/lib/jira/export-engine.js +332 -0
- package/dist/lib/jira/export-engine.js.map +1 -0
- package/dist/lib/jira/field-mapper.d.ts +101 -0
- package/dist/lib/jira/field-mapper.d.ts.map +1 -0
- package/dist/lib/jira/field-mapper.js +346 -0
- package/dist/lib/jira/field-mapper.js.map +1 -0
- package/dist/lib/jira/jira-client.d.ts +117 -0
- package/dist/lib/jira/jira-client.d.ts.map +1 -0
- package/dist/lib/jira/jira-client.js +255 -0
- package/dist/lib/jira/jira-client.js.map +1 -0
- package/dist/lib/jira/sync-engine.d.ts +154 -0
- package/dist/lib/jira/sync-engine.d.ts.map +1 -0
- package/dist/lib/jira/sync-engine.js +420 -0
- package/dist/lib/jira/sync-engine.js.map +1 -0
- package/dist/lib/jira/wiki-converter.d.ts +133 -0
- package/dist/lib/jira/wiki-converter.d.ts.map +1 -0
- package/dist/lib/jira/wiki-converter.js +245 -0
- package/dist/lib/jira/wiki-converter.js.map +1 -0
- package/dist/lib/link-transformer.d.ts +176 -0
- package/dist/lib/link-transformer.d.ts.map +1 -0
- package/dist/lib/link-transformer.js +349 -0
- package/dist/lib/link-transformer.js.map +1 -0
- package/dist/lib/link-validator.d.ts +232 -0
- package/dist/lib/link-validator.d.ts.map +1 -0
- package/dist/lib/link-validator.js +504 -0
- package/dist/lib/link-validator.js.map +1 -0
- package/dist/lib/manifest-manager.d.ts +112 -0
- package/dist/lib/manifest-manager.d.ts.map +1 -0
- package/dist/lib/manifest-manager.js +153 -0
- package/dist/lib/manifest-manager.js.map +1 -0
- package/dist/lib/mcp/extractors/framework-project.d.ts +29 -0
- package/dist/lib/mcp/extractors/framework-project.d.ts.map +1 -0
- package/dist/lib/mcp/extractors/framework-project.js +402 -0
- package/dist/lib/mcp/extractors/framework-project.js.map +1 -0
- package/dist/lib/mcp/extractors/generic-project.d.ts +25 -0
- package/dist/lib/mcp/extractors/generic-project.d.ts.map +1 -0
- package/dist/lib/mcp/extractors/generic-project.js +344 -0
- package/dist/lib/mcp/extractors/generic-project.js.map +1 -0
- package/dist/lib/mcp/extractors/index.d.ts +48 -0
- package/dist/lib/mcp/extractors/index.d.ts.map +1 -0
- package/dist/lib/mcp/extractors/index.js +28 -0
- package/dist/lib/mcp/extractors/index.js.map +1 -0
- package/dist/lib/mcp/index.d.ts +11 -0
- package/dist/lib/mcp/index.d.ts.map +1 -0
- package/dist/lib/mcp/index.js +11 -0
- package/dist/lib/mcp/index.js.map +1 -0
- package/dist/lib/mcp/install-instructions.d.ts +39 -0
- package/dist/lib/mcp/install-instructions.d.ts.map +1 -0
- package/dist/lib/mcp/install-instructions.js +317 -0
- package/dist/lib/mcp/install-instructions.js.map +1 -0
- package/dist/lib/mcp/prerequisite-checker.d.ts +79 -0
- package/dist/lib/mcp/prerequisite-checker.d.ts.map +1 -0
- package/dist/lib/mcp/prerequisite-checker.js +213 -0
- package/dist/lib/mcp/prerequisite-checker.js.map +1 -0
- package/dist/lib/module-loader.d.ts +77 -0
- package/dist/lib/module-loader.d.ts.map +1 -0
- package/dist/lib/module-loader.js +135 -0
- package/dist/lib/module-loader.js.map +1 -0
- package/dist/lib/path-resolver.d.ts +160 -0
- package/dist/lib/path-resolver.d.ts.map +1 -0
- package/dist/lib/path-resolver.js +205 -0
- package/dist/lib/path-resolver.js.map +1 -0
- package/dist/lib/planning/plan-creator.d.ts +132 -0
- package/dist/lib/planning/plan-creator.d.ts.map +1 -0
- package/dist/lib/planning/plan-creator.js +361 -0
- package/dist/lib/planning/plan-creator.js.map +1 -0
- package/dist/lib/project-resolver.d.ts +124 -0
- package/dist/lib/project-resolver.d.ts.map +1 -0
- package/dist/lib/project-resolver.js +362 -0
- package/dist/lib/project-resolver.js.map +1 -0
- package/dist/lib/registry-generator.d.ts +11 -0
- package/dist/lib/registry-generator.d.ts.map +1 -0
- package/dist/lib/registry-generator.js +288 -0
- package/dist/lib/registry-generator.js.map +1 -0
- package/dist/lib/routes-validator.d.ts +50 -0
- package/dist/lib/routes-validator.d.ts.map +1 -0
- package/dist/lib/routes-validator.js +260 -0
- package/dist/lib/routes-validator.js.map +1 -0
- package/dist/lib/schemas/agent.schema.d.ts +175 -0
- package/dist/lib/schemas/agent.schema.d.ts.map +1 -0
- package/dist/lib/schemas/agent.schema.js +86 -0
- package/dist/lib/schemas/agent.schema.js.map +1 -0
- package/dist/lib/schemas/index.d.ts +13 -0
- package/dist/lib/schemas/index.d.ts.map +1 -0
- package/dist/lib/schemas/index.js +13 -0
- package/dist/lib/schemas/index.js.map +1 -0
- package/dist/lib/schemas/skill.schema.d.ts +92 -0
- package/dist/lib/schemas/skill.schema.d.ts.map +1 -0
- package/dist/lib/schemas/skill.schema.js +98 -0
- package/dist/lib/schemas/skill.schema.js.map +1 -0
- package/dist/lib/sdk/executor.d.ts +37 -0
- package/dist/lib/sdk/executor.d.ts.map +1 -0
- package/dist/lib/sdk/executor.js +137 -0
- package/dist/lib/sdk/executor.js.map +1 -0
- package/dist/lib/sdk/generator.d.ts +79 -0
- package/dist/lib/sdk/generator.d.ts.map +1 -0
- package/dist/lib/sdk/generator.js +316 -0
- package/dist/lib/sdk/generator.js.map +1 -0
- package/dist/lib/sdk/index.d.ts +12 -0
- package/dist/lib/sdk/index.d.ts.map +1 -0
- package/dist/lib/sdk/index.js +15 -0
- package/dist/lib/sdk/index.js.map +1 -0
- package/dist/lib/sdk/message-handler.d.ts +40 -0
- package/dist/lib/sdk/message-handler.d.ts.map +1 -0
- package/dist/lib/sdk/message-handler.js +215 -0
- package/dist/lib/sdk/message-handler.js.map +1 -0
- package/dist/lib/sdk/sub-agents.d.ts +51 -0
- package/dist/lib/sdk/sub-agents.d.ts.map +1 -0
- package/dist/lib/sdk/sub-agents.js +234 -0
- package/dist/lib/sdk/sub-agents.js.map +1 -0
- package/dist/lib/sdk/types.d.ts +169 -0
- package/dist/lib/sdk/types.d.ts.map +1 -0
- package/dist/lib/sdk/types.js +7 -0
- package/dist/lib/sdk/types.js.map +1 -0
- package/dist/lib/skill-cli-parser.d.ts +79 -0
- package/dist/lib/skill-cli-parser.d.ts.map +1 -0
- package/dist/lib/skill-cli-parser.js +172 -0
- package/dist/lib/skill-cli-parser.js.map +1 -0
- package/dist/lib/skill-template-engine.d.ts +116 -0
- package/dist/lib/skill-template-engine.d.ts.map +1 -0
- package/dist/lib/skill-template-engine.js +220 -0
- package/dist/lib/skill-template-engine.js.map +1 -0
- package/dist/lib/sync-engine.d.ts +344 -0
- package/dist/lib/sync-engine.d.ts.map +1 -0
- package/dist/lib/sync-engine.js +1255 -0
- package/dist/lib/sync-engine.js.map +1 -0
- package/dist/lib/telemetry/config.d.ts +22 -0
- package/dist/lib/telemetry/config.d.ts.map +1 -0
- package/dist/lib/telemetry/config.js +210 -0
- package/dist/lib/telemetry/config.js.map +1 -0
- package/dist/lib/telemetry/exporters/console-exporter.d.ts +72 -0
- package/dist/lib/telemetry/exporters/console-exporter.d.ts.map +1 -0
- package/dist/lib/telemetry/exporters/console-exporter.js +228 -0
- package/dist/lib/telemetry/exporters/console-exporter.js.map +1 -0
- package/dist/lib/telemetry/exporters/json-file-exporter.d.ts +48 -0
- package/dist/lib/telemetry/exporters/json-file-exporter.d.ts.map +1 -0
- package/dist/lib/telemetry/exporters/json-file-exporter.js +202 -0
- package/dist/lib/telemetry/exporters/json-file-exporter.js.map +1 -0
- package/dist/lib/telemetry/exporters/otel-exporter.d.ts +48 -0
- package/dist/lib/telemetry/exporters/otel-exporter.d.ts.map +1 -0
- package/dist/lib/telemetry/exporters/otel-exporter.js +299 -0
- package/dist/lib/telemetry/exporters/otel-exporter.js.map +1 -0
- package/dist/lib/telemetry/exporters/session-file-exporter.d.ts +66 -0
- package/dist/lib/telemetry/exporters/session-file-exporter.d.ts.map +1 -0
- package/dist/lib/telemetry/exporters/session-file-exporter.js +223 -0
- package/dist/lib/telemetry/exporters/session-file-exporter.js.map +1 -0
- package/dist/lib/telemetry/index.d.ts +44 -0
- package/dist/lib/telemetry/index.d.ts.map +1 -0
- package/dist/lib/telemetry/index.js +69 -0
- package/dist/lib/telemetry/index.js.map +1 -0
- package/dist/lib/telemetry/instrumentation/cli-instrumentation.d.ts +25 -0
- package/dist/lib/telemetry/instrumentation/cli-instrumentation.d.ts.map +1 -0
- package/dist/lib/telemetry/instrumentation/cli-instrumentation.js +83 -0
- package/dist/lib/telemetry/instrumentation/cli-instrumentation.js.map +1 -0
- package/dist/lib/telemetry/instrumentation/discovery-instrumentation.d.ts +21 -0
- package/dist/lib/telemetry/instrumentation/discovery-instrumentation.d.ts.map +1 -0
- package/dist/lib/telemetry/instrumentation/discovery-instrumentation.js +78 -0
- package/dist/lib/telemetry/instrumentation/discovery-instrumentation.js.map +1 -0
- package/dist/lib/telemetry/instrumentation/mcp-instrumentation.d.ts +76 -0
- package/dist/lib/telemetry/instrumentation/mcp-instrumentation.d.ts.map +1 -0
- package/dist/lib/telemetry/instrumentation/mcp-instrumentation.js +168 -0
- package/dist/lib/telemetry/instrumentation/mcp-instrumentation.js.map +1 -0
- package/dist/lib/telemetry/instrumentation/sync-instrumentation.d.ts +25 -0
- package/dist/lib/telemetry/instrumentation/sync-instrumentation.d.ts.map +1 -0
- package/dist/lib/telemetry/instrumentation/sync-instrumentation.js +51 -0
- package/dist/lib/telemetry/instrumentation/sync-instrumentation.js.map +1 -0
- package/dist/lib/telemetry/session-context.d.ts +109 -0
- package/dist/lib/telemetry/session-context.d.ts.map +1 -0
- package/dist/lib/telemetry/session-context.js +170 -0
- package/dist/lib/telemetry/session-context.js.map +1 -0
- package/dist/lib/telemetry/telemetry-manager.d.ts +88 -0
- package/dist/lib/telemetry/telemetry-manager.d.ts.map +1 -0
- package/dist/lib/telemetry/telemetry-manager.js +347 -0
- package/dist/lib/telemetry/telemetry-manager.js.map +1 -0
- package/dist/lib/telemetry/types.d.ts +302 -0
- package/dist/lib/telemetry/types.d.ts.map +1 -0
- package/dist/lib/telemetry/types.js +6 -0
- package/dist/lib/telemetry/types.js.map +1 -0
- package/dist/lib/template-engine.d.ts +5 -0
- package/dist/lib/template-engine.d.ts.map +1 -0
- package/dist/lib/template-engine.js +294 -0
- package/dist/lib/template-engine.js.map +1 -0
- package/dist/lib/unified-template-engine/computed-variables.d.ts +38 -0
- package/dist/lib/unified-template-engine/computed-variables.d.ts.map +1 -0
- package/dist/lib/unified-template-engine/computed-variables.js +85 -0
- package/dist/lib/unified-template-engine/computed-variables.js.map +1 -0
- package/dist/lib/unified-template-engine/index.d.ts +67 -0
- package/dist/lib/unified-template-engine/index.d.ts.map +1 -0
- package/dist/lib/unified-template-engine/index.js +200 -0
- package/dist/lib/unified-template-engine/index.js.map +1 -0
- package/dist/lib/unified-template-engine/resolver.d.ts +63 -0
- package/dist/lib/unified-template-engine/resolver.d.ts.map +1 -0
- package/dist/lib/unified-template-engine/resolver.js +312 -0
- package/dist/lib/unified-template-engine/resolver.js.map +1 -0
- package/dist/lib/unified-template-engine/types.d.ts +177 -0
- package/dist/lib/unified-template-engine/types.d.ts.map +1 -0
- package/dist/lib/unified-template-engine/types.js +7 -0
- package/dist/lib/unified-template-engine/types.js.map +1 -0
- package/dist/lib/unified-template-engine/validator.d.ts +23 -0
- package/dist/lib/unified-template-engine/validator.d.ts.map +1 -0
- package/dist/lib/unified-template-engine/validator.js +217 -0
- package/dist/lib/unified-template-engine/validator.js.map +1 -0
- package/dist/lib/validation/rules/plan-rules.d.ts +48 -0
- package/dist/lib/validation/rules/plan-rules.d.ts.map +1 -0
- package/dist/lib/validation/rules/plan-rules.js +152 -0
- package/dist/lib/validation/rules/plan-rules.js.map +1 -0
- package/dist/lib/validation/rules/ticket-rules.d.ts +54 -0
- package/dist/lib/validation/rules/ticket-rules.d.ts.map +1 -0
- package/dist/lib/validation/rules/ticket-rules.js +136 -0
- package/dist/lib/validation/rules/ticket-rules.js.map +1 -0
- package/dist/lib/validation/schema-validator.d.ts +26 -0
- package/dist/lib/validation/schema-validator.d.ts.map +1 -0
- package/dist/lib/validation/schema-validator.js +183 -0
- package/dist/lib/validation/schema-validator.js.map +1 -0
- package/dist/lib/validation/validation-report.d.ts +68 -0
- package/dist/lib/validation/validation-report.d.ts.map +1 -0
- package/dist/lib/validation/validation-report.js +141 -0
- package/dist/lib/validation/validation-report.js.map +1 -0
- package/dist/lib/version-validator.d.ts +89 -0
- package/dist/lib/version-validator.d.ts.map +1 -0
- package/dist/lib/version-validator.js +178 -0
- package/dist/lib/version-validator.js.map +1 -0
- package/dist/lib/wizard/detection.d.ts +48 -0
- package/dist/lib/wizard/detection.d.ts.map +1 -0
- package/dist/lib/wizard/detection.js +116 -0
- package/dist/lib/wizard/detection.js.map +1 -0
- package/dist/lib/wizard/file-handlers.d.ts +40 -0
- package/dist/lib/wizard/file-handlers.d.ts.map +1 -0
- package/dist/lib/wizard/file-handlers.js +204 -0
- package/dist/lib/wizard/file-handlers.js.map +1 -0
- package/dist/lib/wizard/index.d.ts +9 -0
- package/dist/lib/wizard/index.d.ts.map +1 -0
- package/dist/lib/wizard/index.js +9 -0
- package/dist/lib/wizard/index.js.map +1 -0
- package/dist/lib/wizard/init-wizard.d.ts +35 -0
- package/dist/lib/wizard/init-wizard.d.ts.map +1 -0
- package/dist/lib/wizard/init-wizard.js +86 -0
- package/dist/lib/wizard/init-wizard.js.map +1 -0
- package/dist/lib/wizard/module-groups.d.ts +55 -0
- package/dist/lib/wizard/module-groups.d.ts.map +1 -0
- package/dist/lib/wizard/module-groups.js +128 -0
- package/dist/lib/wizard/module-groups.js.map +1 -0
- package/dist/lib/wizard/prompts.d.ts +36 -0
- package/dist/lib/wizard/prompts.d.ts.map +1 -0
- package/dist/lib/wizard/prompts.js +253 -0
- package/dist/lib/wizard/prompts.js.map +1 -0
- package/dist/lib/wizard/summary.d.ts +45 -0
- package/dist/lib/wizard/summary.d.ts.map +1 -0
- package/dist/lib/wizard/summary.js +162 -0
- package/dist/lib/wizard/summary.js.map +1 -0
- package/dist/mcp/index.d.ts +15 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +75 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/result-formatter.d.ts +68 -0
- package/dist/mcp/result-formatter.d.ts.map +1 -0
- package/dist/mcp/result-formatter.js +191 -0
- package/dist/mcp/result-formatter.js.map +1 -0
- package/dist/mcp/tool-registry.d.ts +70 -0
- package/dist/mcp/tool-registry.d.ts.map +1 -0
- package/dist/mcp/tool-registry.js +183 -0
- package/dist/mcp/tool-registry.js.map +1 -0
- package/dist/mcp/tools/agent.d.ts +22 -0
- package/dist/mcp/tools/agent.d.ts.map +1 -0
- package/dist/mcp/tools/agent.js +267 -0
- package/dist/mcp/tools/agent.js.map +1 -0
- package/dist/mcp/tools/backlog.d.ts +15 -0
- package/dist/mcp/tools/backlog.d.ts.map +1 -0
- package/dist/mcp/tools/backlog.js +355 -0
- package/dist/mcp/tools/backlog.js.map +1 -0
- package/dist/mcp/tools/confluence.d.ts +32 -0
- package/dist/mcp/tools/confluence.d.ts.map +1 -0
- package/dist/mcp/tools/confluence.js +367 -0
- package/dist/mcp/tools/confluence.js.map +1 -0
- package/dist/mcp/tools/create.d.ts +22 -0
- package/dist/mcp/tools/create.d.ts.map +1 -0
- package/dist/mcp/tools/create.js +311 -0
- package/dist/mcp/tools/create.js.map +1 -0
- package/dist/mcp/tools/framework.d.ts +24 -0
- package/dist/mcp/tools/framework.d.ts.map +1 -0
- package/dist/mcp/tools/framework.js +430 -0
- package/dist/mcp/tools/framework.js.map +1 -0
- package/dist/mcp/tools/index.d.ts +32 -0
- package/dist/mcp/tools/index.d.ts.map +1 -0
- package/dist/mcp/tools/index.js +58 -0
- package/dist/mcp/tools/index.js.map +1 -0
- package/dist/mcp/tools/jira.d.ts +12 -0
- package/dist/mcp/tools/jira.d.ts.map +1 -0
- package/dist/mcp/tools/jira.js +206 -0
- package/dist/mcp/tools/jira.js.map +1 -0
- package/dist/mcp/tools/planning.d.ts +22 -0
- package/dist/mcp/tools/planning.d.ts.map +1 -0
- package/dist/mcp/tools/planning.js +264 -0
- package/dist/mcp/tools/planning.js.map +1 -0
- package/dist/mcp/tools/skill.d.ts +42 -0
- package/dist/mcp/tools/skill.d.ts.map +1 -0
- package/dist/mcp/tools/skill.js +561 -0
- package/dist/mcp/tools/skill.js.map +1 -0
- package/dist/mcp/tools/template.d.ts +36 -0
- package/dist/mcp/tools/template.d.ts.map +1 -0
- package/dist/mcp/tools/template.js +354 -0
- package/dist/mcp/tools/template.js.map +1 -0
- package/dist/mcp/tools/writer.d.ts +23 -0
- package/dist/mcp/tools/writer.d.ts.map +1 -0
- package/dist/mcp/tools/writer.js +394 -0
- package/dist/mcp/tools/writer.js.map +1 -0
- package/dist/mcp/types.d.ts +102 -0
- package/dist/mcp/types.d.ts.map +1 -0
- package/dist/mcp/types.js +37 -0
- package/dist/mcp/types.js.map +1 -0
- package/dist/templates/index.d.ts +11 -0
- package/dist/templates/index.d.ts.map +1 -0
- package/dist/templates/index.js +11 -0
- package/dist/templates/index.js.map +1 -0
- package/dist/templates/mcp-hooks.d.ts +37 -0
- package/dist/templates/mcp-hooks.d.ts.map +1 -0
- package/dist/templates/mcp-hooks.js +224 -0
- package/dist/templates/mcp-hooks.js.map +1 -0
- package/dist/templates/serena-project.d.ts +14 -0
- package/dist/templates/serena-project.d.ts.map +1 -0
- package/dist/templates/serena-project.js +105 -0
- package/dist/templates/serena-project.js.map +1 -0
- package/dist/templates/settings-json.d.ts +28 -0
- package/dist/templates/settings-json.d.ts.map +1 -0
- package/dist/templates/settings-json.js +190 -0
- package/dist/templates/settings-json.js.map +1 -0
- package/dist/templates/settings-local.d.ts +69 -0
- package/dist/templates/settings-local.d.ts.map +1 -0
- package/dist/templates/settings-local.js +56 -0
- package/dist/templates/settings-local.js.map +1 -0
- package/dist/templates/statusline.d.ts +7 -0
- package/dist/templates/statusline.d.ts.map +1 -0
- package/dist/templates/statusline.js +260 -0
- package/dist/templates/statusline.js.map +1 -0
- package/dist/types/command-options.d.ts +392 -0
- package/dist/types/command-options.d.ts.map +1 -0
- package/dist/types/command-options.js +15 -0
- package/dist/types/command-options.js.map +1 -0
- package/framework/modules/backlog/agents/ai-backlog-manager.md +430 -0
- package/framework/modules/backlog/commands/cmd-backlog-create-ticket.md +42 -0
- package/framework/modules/backlog/commands/cmd-backlog-import.md +42 -0
- package/framework/modules/backlog/commands/cmd-backlog-migrate-milestones.md +42 -0
- package/framework/modules/backlog/commands/cmd-backlog-update-fields.md +42 -0
- package/framework/modules/backlog/commands/cmd-backlog-validate.md +42 -0
- package/framework/modules/backlog/module.json +82 -0
- package/framework/modules/backlog/schemas/ticket.schema.json +143 -0
- package/framework/modules/backlog/skills/backlog/building-tickets/BODY-STRUCTURE.md +470 -0
- package/framework/modules/backlog/skills/backlog/building-tickets/EXAMPLES.md +561 -0
- package/framework/modules/backlog/skills/backlog/building-tickets/SKILL.md +293 -0
- package/framework/modules/backlog/skills/backlog/building-tickets/VALIDATION-RULES.md +748 -0
- package/framework/modules/backlog/skills/backlog/building-tickets/YAML-STRUCTURE.md +439 -0
- package/framework/modules/backlog/skills/backlog/building-tickets/templates/bug.template.md +83 -0
- package/framework/modules/backlog/skills/backlog/building-tickets/templates/epic.template.md +96 -0
- package/framework/modules/backlog/skills/backlog/building-tickets/templates/story.template.md +68 -0
- package/framework/modules/backlog/skills/backlog/building-tickets/templates/task.template.md +66 -0
- package/framework/modules/backlog/skills/backlog/building-tickets/templates/template.config.json +50 -0
- package/framework/modules/backlog/skills/backlog/organizing-backlog/DIRECTORY-STRUCTURE.md +195 -0
- package/framework/modules/backlog/skills/backlog/organizing-backlog/EXAMPLES.md +374 -0
- package/framework/modules/backlog/skills/backlog/organizing-backlog/JIRA-SOURCE-OF-TRUTH.md +384 -0
- package/framework/modules/backlog/skills/backlog/organizing-backlog/NAMING-CONVENTIONS.md +230 -0
- package/framework/modules/backlog/skills/backlog/organizing-backlog/SKILL.md +332 -0
- package/framework/modules/backlog/skills/backlog/organizing-backlog/WORKFLOW-PIPELINE.md +298 -0
- package/framework/modules/backlog/templates/ticket.md.template +111 -0
- package/framework/modules/coding/agents/ai-app-developer.md +275 -0
- package/framework/modules/coding/agents/ai-architect.md +454 -0
- package/framework/modules/coding/agents/ai-hig-reviewer.md +69 -0
- package/framework/modules/coding/agents/ai-ios-developer.md +303 -0
- package/framework/modules/coding/module.json +56 -0
- package/framework/modules/coding/skills/coding/designing-architecture/SKILL.md +475 -0
- package/framework/modules/coding/skills/coding/designing-ios-ui/SKILL.md +405 -0
- package/framework/modules/coding/skills/coding/implementing-code/EXAMPLES.md +565 -0
- package/framework/modules/coding/skills/coding/implementing-code/SKILL.md +490 -0
- package/framework/modules/coding/skills/coding/implementing-ios/ANTI-PATTERNS.md +564 -0
- package/framework/modules/coding/skills/coding/implementing-ios/ARCHITECTURE-PATTERNS.md +539 -0
- package/framework/modules/coding/skills/coding/implementing-ios/HIG-COMPLIANCE.md +492 -0
- package/framework/modules/coding/skills/coding/implementing-ios/SKILL.md +506 -0
- package/framework/modules/coding/skills/coding/implementing-ios/SWIFTUI-PATTERNS.md +625 -0
- package/framework/modules/coding/skills/coding/implementing-ios/TESTING-PATTERNS.md +625 -0
- package/framework/modules/coding/skills/coding/implementing-ios/UIKIT-PATTERNS.md +470 -0
- package/framework/modules/coding/skills/coding/structuring-code/CHECKLISTS.md +151 -0
- package/framework/modules/coding/skills/coding/structuring-code/DRY-PRINCIPLES.md +285 -0
- package/framework/modules/coding/skills/coding/structuring-code/FILE-ORGANIZATION.md +278 -0
- package/framework/modules/coding/skills/coding/structuring-code/READABILITY.md +291 -0
- package/framework/modules/coding/skills/coding/structuring-code/SKILL.md +289 -0
- package/framework/modules/confluence/agents/ai-confluence-manager.md +369 -0
- package/framework/modules/confluence/commands/cmd-confluence-create-page.md +42 -0
- package/framework/modules/confluence/commands/cmd-confluence-fetch-page.md +42 -0
- package/framework/modules/confluence/commands/cmd-confluence-import-reports.md +42 -0
- package/framework/modules/confluence/commands/cmd-confluence-validate.md +42 -0
- package/framework/modules/confluence/module.json +69 -0
- package/framework/modules/confluence/schemas/adf.schema.json +128 -0
- package/framework/modules/confluence/skills/confluence/converting-adf/SKILL.md +455 -0
- package/framework/modules/confluence/skills/confluence/publishing-confluence/ADF-EXAMPLES.md +433 -0
- package/framework/modules/confluence/skills/confluence/publishing-confluence/EXAMPLES.md +513 -0
- package/framework/modules/confluence/skills/confluence/publishing-confluence/SKILL.md +651 -0
- package/framework/modules/core/agents/ai-framework-developer.md +184 -0
- package/framework/modules/core/agents/ai-framework-manager.md +222 -0
- package/framework/modules/core/agents/ai-scout-backlog.md +65 -0
- package/framework/modules/core/agents/ai-scout-codebase.md +66 -0
- package/framework/modules/core/agents/ai-scout-knowledge.md +63 -0
- package/framework/modules/core/commands/cmd-agent-list.md +37 -0
- package/framework/modules/core/commands/cmd-agent-run.md +37 -0
- package/framework/modules/core/commands/cmd-agent-show.md +37 -0
- package/framework/modules/core/commands/cmd-bump-version.md +42 -0
- package/framework/modules/core/commands/cmd-mcp-check.md +59 -0
- package/framework/modules/core/commands/cmd-mcp-seed.md +69 -0
- package/framework/modules/core/commands/cmd-mcp-setup.md +61 -0
- package/framework/modules/core/commands/cmd-mcp-status.md +70 -0
- package/framework/modules/core/commands/cmd-validate-links.md +42 -0
- package/framework/modules/core/commands/cmd-validate-versions.md +42 -0
- package/framework/modules/core/hooks/_lib/notify-helper.sh +27 -0
- package/framework/modules/core/hooks/block-main-commit.sh +35 -0
- package/framework/modules/core/hooks/notify.sh +43 -0
- package/framework/modules/core/hooks/post-write-format.sh +52 -0
- package/framework/modules/core/hooks/post-write-validate.sh +24 -0
- package/framework/modules/core/hooks/pre-bash-safety.sh +44 -0
- package/framework/modules/core/hooks/pre-commit-skill-reminder.sh +24 -0
- package/framework/modules/core/hooks/pre-write-quality.sh +24 -0
- package/framework/modules/core/hooks/session-compact-context.sh +37 -0
- package/framework/modules/core/hooks/session-end-reminder.sh +36 -0
- package/framework/modules/core/hooks/session-start-context.sh +33 -0
- package/framework/modules/core/hooks/session-start-worktree.sh +30 -0
- package/framework/modules/core/hooks/skill-reminder.sh +24 -0
- package/framework/modules/core/hooks/stop-commit-check.sh +24 -0
- package/framework/modules/core/hooks/stop-pr-suggest.sh +42 -0
- package/framework/modules/core/hooks/stop-quality-check.sh +24 -0
- package/framework/modules/core/hooks/subagent-context-loader.sh +24 -0
- package/framework/modules/core/module.json +205 -0
- package/framework/modules/core/registries/schemas/agents.schema.json +209 -0
- package/framework/modules/core/registries/schemas/command.schema.json +98 -0
- package/framework/modules/core/registries/schemas/custom-agent.schema.json +108 -0
- package/framework/modules/core/registries/schemas/module.schema.json +233 -0
- package/framework/modules/core/registries/schemas/template.schema.json +164 -0
- package/framework/modules/core/registries/skill-triggers.json +196 -0
- package/framework/modules/core/skills/building-agents/AGENT-TEMPLATE.md +289 -0
- package/framework/modules/core/skills/building-agents/CONTENT-ROUTING.md +302 -0
- package/framework/modules/core/skills/building-agents/EXAMPLES.md +448 -0
- package/framework/modules/core/skills/building-agents/SKILL.md +289 -0
- package/framework/modules/core/skills/building-agents/VALIDATION-CHECKLIST.md +304 -0
- package/framework/modules/core/skills/building-context/CONTENT-GUIDELINES.md +471 -0
- package/framework/modules/core/skills/building-context/EXAMPLES.md +1606 -0
- package/framework/modules/core/skills/building-context/LEVEL-DECISION-TREE.md +262 -0
- package/framework/modules/core/skills/building-context/SKILL.md +479 -0
- package/framework/modules/core/skills/building-context/VALIDATION-CHECKLIST.md +358 -0
- package/framework/modules/core/skills/building-framework/AGENT-CREATION-WORKFLOW.md +268 -0
- package/framework/modules/core/skills/building-framework/DECISION-TREES.md +183 -0
- package/framework/modules/core/skills/building-framework/EXAMPLES.md +387 -0
- package/framework/modules/core/skills/building-framework/GOVERNANCE-RULES.md +446 -0
- package/framework/modules/core/skills/building-framework/GOVERNANCE-UPDATE-WORKFLOW.md +172 -0
- package/framework/modules/core/skills/building-framework/REGISTRY-GUIDE.md +551 -0
- package/framework/modules/core/skills/building-framework/SCOPE-DECISION-TREE.md +284 -0
- package/framework/modules/core/skills/building-framework/SKILL.md +210 -0
- package/framework/modules/core/skills/building-skills/ANTI-PATTERNS-CONTENT.md +219 -0
- package/framework/modules/core/skills/building-skills/ANTI-PATTERNS-MCP.md +119 -0
- package/framework/modules/core/skills/building-skills/ANTI-PATTERNS-NAMING.md +129 -0
- package/framework/modules/core/skills/building-skills/ANTI-PATTERNS-STRUCTURE.md +139 -0
- package/framework/modules/core/skills/building-skills/EXAMPLES.md +330 -0
- package/framework/modules/core/skills/building-skills/PATTERNS.md +523 -0
- package/framework/modules/core/skills/building-skills/SKILL-CREATION-WORKFLOW-FRAMEWORK.md +253 -0
- package/framework/modules/core/skills/building-skills/SKILL.md +543 -0
- package/framework/modules/core/skills/committing-code/EXAMPLES.md +567 -0
- package/framework/modules/core/skills/committing-code/SKILL.md +285 -0
- package/framework/modules/core/skills/committing-code/STANDARDS-BRANCHES.md +95 -0
- package/framework/modules/core/skills/committing-code/STANDARDS-COMMITS.md +140 -0
- package/framework/modules/core/skills/committing-code/STANDARDS-FRAMEWORK.md +234 -0
- package/framework/modules/core/skills/committing-code/STANDARDS-TICKETS.md +102 -0
- package/framework/modules/core/skills/gathering-intelligence/SKILL.md +136 -0
- package/framework/modules/core/skills/managing-versions/EXAMPLES.md +277 -0
- package/framework/modules/core/skills/managing-versions/SCRIPTS-REFERENCE.md +295 -0
- package/framework/modules/core/skills/managing-versions/SKILL.md +260 -0
- package/framework/modules/core/skills/managing-versions/STANDARDS.md +231 -0
- package/framework/modules/core/skills/using-context/EXAMPLES.md +257 -0
- package/framework/modules/core/skills/using-context/SKILL.md +238 -0
- package/framework/modules/core/skills/using-context/STANDARDS.md +241 -0
- package/framework/modules/core/skills/using-framework/BEST-PRACTICES.md +421 -0
- package/framework/modules/core/skills/using-framework/DISCOVERY-ENGINE-ARCHITECTURE.md +331 -0
- package/framework/modules/core/skills/using-framework/EXAMPLES.md +535 -0
- package/framework/modules/core/skills/using-framework/ROUTES-REGISTRY-DESIGN.md +455 -0
- package/framework/modules/core/skills/using-framework/SKILL.md +176 -0
- package/framework/modules/core/skills/using-mcp/ANTI-PATTERNS.md +566 -0
- package/framework/modules/core/skills/using-mcp/DECISION-MATRICES.md +385 -0
- package/framework/modules/core/skills/using-mcp/EXAMPLES.md +466 -0
- package/framework/modules/core/skills/using-mcp/FRAMEWORK-MCP-PATTERNS.md +395 -0
- package/framework/modules/core/skills/using-mcp/QUICK-REFERENCE.md +98 -0
- package/framework/modules/core/skills/using-mcp/SKILL.md +624 -0
- package/framework/modules/core/skills/using-mcp/TOOLS-REFERENCE.md +532 -0
- package/framework/modules/core/skills/validating-links/EXAMPLES.md +326 -0
- package/framework/modules/core/skills/validating-links/SKILL.md +307 -0
- package/framework/modules/core/skills/validating-links/STANDARDS.md +353 -0
- package/framework/modules/core/skills/validating-markdown/EXAMPLES.md +516 -0
- package/framework/modules/core/skills/validating-markdown/SKILL.md +503 -0
- package/framework/modules/core/skills/validating-markdown/VALIDATION-RULES.md +360 -0
- package/framework/modules/core/skills/validating-markdown/YAML-SCHEMA.md +424 -0
- package/framework/modules/core/skills/verifying-quality/ANTI-PATTERNS.md +302 -0
- package/framework/modules/core/skills/verifying-quality/CLI-TESTING.md +389 -0
- package/framework/modules/core/skills/verifying-quality/DEFENSIVE-CODING.md +433 -0
- package/framework/modules/core/skills/verifying-quality/EVALUATION-PROTOCOL.md +106 -0
- package/framework/modules/core/skills/verifying-quality/EXAMPLES.md +588 -0
- package/framework/modules/core/skills/verifying-quality/QUALITY-CHECKLIST.md +181 -0
- package/framework/modules/core/skills/verifying-quality/SKILL.md +275 -0
- package/framework/modules/core/templates/agent/agent.template.md +97 -0
- package/framework/modules/core/templates/agent/template.config.json +47 -0
- package/framework/modules/core/templates/config/agentic-framework.json.template +17 -0
- package/framework/modules/core/templates/config/hooks/pre-commit-sync.sh.template +190 -0
- package/framework/modules/core/templates/config/hooks/pre-push.sh.template +330 -0
- package/framework/modules/core/templates/config/settings.local.json.template +39 -0
- package/framework/modules/core/templates/config/statusline.sh.template +253 -0
- package/framework/modules/core/templates/context/business-advanced.template.md +71 -0
- package/framework/modules/core/templates/context/business-basic.template.md +39 -0
- package/framework/modules/core/templates/context/business-expert.template.md +95 -0
- package/framework/modules/core/templates/context/process-advanced.template.md +141 -0
- package/framework/modules/core/templates/context/process-basic.template.md +87 -0
- package/framework/modules/core/templates/context/process-expert.template.md +213 -0
- package/framework/modules/core/templates/context/technical-advanced.template.md +111 -0
- package/framework/modules/core/templates/context/technical-basic.template.md +66 -0
- package/framework/modules/core/templates/context/technical-expert.template.md +157 -0
- package/framework/modules/core/templates/module/module.json.template +20 -0
- package/framework/modules/core/templates/module/template.config.json +41 -0
- package/framework/modules/core/templates/skill/SKILL.md.template +96 -0
- package/framework/modules/core/templates/skill/template.config.json +39 -0
- package/framework/modules/jira/agents/ai-jira-manager.md +320 -0
- package/framework/modules/jira/commands/cmd-jira-export.md +42 -0
- package/framework/modules/jira/commands/cmd-jira-sync.md +42 -0
- package/framework/modules/jira/module.json +55 -0
- package/framework/modules/jira/schemas/jira-sync.config.json +75 -0
- package/framework/modules/jira/skills/jira/integrating-jira/CONFLUENCE-PATTERNS.md +284 -0
- package/framework/modules/jira/skills/jira/integrating-jira/CONVERSION-RULES.md +188 -0
- package/framework/modules/jira/skills/jira/integrating-jira/EXAMPLES.md +406 -0
- package/framework/modules/jira/skills/jira/integrating-jira/JIRA-PATTERNS.md +284 -0
- package/framework/modules/jira/skills/jira/integrating-jira/SKILL.md +412 -0
- package/framework/modules/reporting/agents/ai-report-manager.md +410 -0
- package/framework/modules/reporting/module.json +35 -0
- package/framework/modules/reporting/skills/reporting/building-reports/EXAMPLES.md +613 -0
- package/framework/modules/reporting/skills/reporting/building-reports/SKILL.md +509 -0
- package/framework/modules/writer/BUILD_SYSTEM.md +325 -0
- package/framework/modules/writer/MIGRATION.md +326 -0
- package/framework/modules/writer/agents/ai-book-writer.md +196 -0
- package/framework/modules/writer/agents/ai-prose-writer.md +58 -0
- package/framework/modules/writer/agents/ai-world-builder.md +46 -0
- package/framework/modules/writer/commands/cmd-writer-add-fact.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-analyze.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-build.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-create-chapter.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-create-character.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-create-history-event.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-create-magic-system.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-create-nation.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-create-part.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-create-region.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-create-scene.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-create-world-rule.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-export.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-generate-context.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-init-baseline.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-init.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-lock-fact.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-validate-immutability.md +42 -0
- package/framework/modules/writer/commands/cmd-writer-validate.md +42 -0
- package/framework/modules/writer/module.json +181 -0
- package/framework/modules/writer/schemas/baseline.schema.json +60 -0
- package/framework/modules/writer/schemas/manifest.schema.json +155 -0
- package/framework/modules/writer/schemas/prerequisites.schema.json +171 -0
- package/framework/modules/writer/schemas/token-budgets.json +129 -0
- package/framework/modules/writer/schemas/token-budgets.schema.json +92 -0
- package/framework/modules/writer/schemas/world-fact.schema.json +172 -0
- package/framework/modules/writer/schemas/world-lock.schema.json +244 -0
- package/framework/modules/writer/skills/writer/building-worlds/CONSISTENCY-PILLARS.md +412 -0
- package/framework/modules/writer/skills/writer/building-worlds/CULTURE-BUILDING.md +354 -0
- package/framework/modules/writer/skills/writer/building-worlds/GEOGRAPHY-HISTORY.md +293 -0
- package/framework/modules/writer/skills/writer/building-worlds/MAGIC-SYSTEMS.md +311 -0
- package/framework/modules/writer/skills/writer/building-worlds/REVELATION-CHECKLIST.md +282 -0
- package/framework/modules/writer/skills/writer/building-worlds/SKILL.md +313 -0
- package/framework/modules/writer/skills/writer/organizing-books/DOMAINS.md +212 -0
- package/framework/modules/writer/skills/writer/organizing-books/FOLDER-STRUCTURE.md +593 -0
- package/framework/modules/writer/skills/writer/organizing-books/IMMUTABILITY-GUIDE.md +350 -0
- package/framework/modules/writer/skills/writer/organizing-books/METADATA-GUIDE.md +780 -0
- package/framework/modules/writer/skills/writer/organizing-books/SKILL.md +257 -0
- package/framework/modules/writer/skills/writer/organizing-books/SSOT-RULES.md +214 -0
- package/framework/modules/writer/skills/writer/organizing-books/WORLD-STRUCTURE.md +222 -0
- package/framework/modules/writer/skills/writer/organizing-books/templates/chapter.template.md +57 -0
- package/framework/modules/writer/skills/writer/organizing-books/templates/character.template.md +121 -0
- package/framework/modules/writer/skills/writer/organizing-books/templates/part.template.md +67 -0
- package/framework/modules/writer/skills/writer/organizing-books/templates/scene.template.md +62 -0
- package/framework/modules/writer/skills/writer/organizing-books/templates/template.config.json +114 -0
- package/framework/modules/writer/skills/writer/writing-prose/CHARACTER-VOICE.md +654 -0
- package/framework/modules/writer/skills/writer/writing-prose/DESCRIPTION-TECHNIQUES.md +688 -0
- package/framework/modules/writer/skills/writer/writing-prose/DIALOGUE-GUIDE.md +663 -0
- package/framework/modules/writer/skills/writer/writing-prose/PACING-STRUCTURE.md +613 -0
- package/framework/modules/writer/skills/writer/writing-prose/PROSE-PATTERNS.md +569 -0
- package/framework/modules/writer/skills/writer/writing-prose/SKILL.md +583 -0
- package/framework/modules/writer/skills/writer/writing-prose/WORLD-BUILDING-RULES.md +692 -0
- package/framework/modules/writer/skills/writer/writing-prose/examples/blended-accessible.md +651 -0
- package/framework/modules/writer/skills/writer/writing-prose/examples/tolkien-style.md +534 -0
- package/framework/modules/writer/skills/writer/writing-prose/examples/zelazny-style.md +415 -0
- package/framework/modules/writer/src/package.json +3 -0
- package/framework/modules/writer/templates/package.json +28 -0
- package/framework/modules/writer/templates/world/baseline.template.md +183 -0
- package/framework/modules/writer/templates/world/history-event.template.md +89 -0
- package/framework/modules/writer/templates/world/magic-system.template.md +138 -0
- package/framework/modules/writer/templates/world/manifest.template.json +9 -0
- package/framework/modules/writer/templates/world/nation.template.md +123 -0
- package/framework/modules/writer/templates/world/region.template.md +65 -0
- package/framework/modules/writer/templates/world/world-rule.template.md +50 -0
- package/package.json +110 -0
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
# Code Readability Principles
|
|
2
|
+
|
|
3
|
+
This document provides detailed guidance on writing self-documenting, readable code.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Self-Descriptive Naming
|
|
8
|
+
|
|
9
|
+
### Core Principle
|
|
10
|
+
|
|
11
|
+
Names should reveal intent. A reader should understand purpose without consulting documentation or implementation.
|
|
12
|
+
|
|
13
|
+
### Variable Naming
|
|
14
|
+
|
|
15
|
+
**Express purpose, not type:**
|
|
16
|
+
- `elapsedTimeInDays` not `d` or `days`
|
|
17
|
+
- `customerOrders` not `list` or `data`
|
|
18
|
+
- `isValidEmail` not `valid` or `check`
|
|
19
|
+
- `maxRetryAttempts` not `max` or `n`
|
|
20
|
+
|
|
21
|
+
**Avoid single letters except:**
|
|
22
|
+
- Loop indices (`i`, `j`, `k`) in small loops
|
|
23
|
+
- Coordinates (`x`, `y`, `z`) in graphics/math
|
|
24
|
+
- Lambda parameters when meaning is obvious
|
|
25
|
+
|
|
26
|
+
**Avoid abbreviations except universal ones:**
|
|
27
|
+
- Acceptable: `id`, `url`, `api`, `http`, `json`, `html`, `css`
|
|
28
|
+
- Avoid: `usr`, `mgr`, `cnt`, `num`, `btn`, `lbl`
|
|
29
|
+
|
|
30
|
+
**Collection naming:**
|
|
31
|
+
- Plural for collections: `orders`, `users`, `items`
|
|
32
|
+
- Singular for individual: `order`, `user`, `item`
|
|
33
|
+
- Avoid redundant suffixes: `orderList`, `userArray` (just use `orders`, `users`)
|
|
34
|
+
|
|
35
|
+
### Function Naming
|
|
36
|
+
|
|
37
|
+
**Verb + noun pattern:**
|
|
38
|
+
- `getUserById()` - retrieves user
|
|
39
|
+
- `calculateOrderTotal()` - computes value
|
|
40
|
+
- `validateEmailFormat()` - checks validity
|
|
41
|
+
- `sendNotification()` - performs action
|
|
42
|
+
|
|
43
|
+
**Action verbs that communicate:**
|
|
44
|
+
| Verb | Implies |
|
|
45
|
+
|------|---------|
|
|
46
|
+
| `get/fetch` | Retrieves data, may involve I/O |
|
|
47
|
+
| `find` | Searches, may return null/undefined |
|
|
48
|
+
| `create/make` | Constructs new instance |
|
|
49
|
+
| `update/set` | Modifies existing data |
|
|
50
|
+
| `delete/remove` | Eliminates data |
|
|
51
|
+
| `calculate/compute` | Derives value from inputs |
|
|
52
|
+
| `validate/check` | Returns boolean or throws |
|
|
53
|
+
| `parse` | Transforms string to structured data |
|
|
54
|
+
| `format` | Transforms data to string |
|
|
55
|
+
| `is/has/can/should` | Returns boolean |
|
|
56
|
+
|
|
57
|
+
**Avoid vague verbs:**
|
|
58
|
+
- `handleData()` - What does it do?
|
|
59
|
+
- `processOrder()` - How is it processed?
|
|
60
|
+
- `doSomething()` - Completely opaque
|
|
61
|
+
|
|
62
|
+
### Class and Type Naming
|
|
63
|
+
|
|
64
|
+
**Noun-based, domain language:**
|
|
65
|
+
- `OrderProcessor` - processes orders
|
|
66
|
+
- `UserRepository` - stores/retrieves users
|
|
67
|
+
- `PaymentGateway` - interfaces with payments
|
|
68
|
+
- `EmailValidator` - validates emails
|
|
69
|
+
|
|
70
|
+
**Avoid generic names:**
|
|
71
|
+
- `Manager`, `Handler`, `Processor` alone (what do they manage/handle/process?)
|
|
72
|
+
- `Helper`, `Utility` (too vague, use specific purpose)
|
|
73
|
+
- `Data`, `Info` (what kind of data/info?)
|
|
74
|
+
|
|
75
|
+
**Suffixes that communicate:**
|
|
76
|
+
| Suffix | Implies |
|
|
77
|
+
|--------|---------|
|
|
78
|
+
| `Service` | Business logic, coordinates operations |
|
|
79
|
+
| `Repository` | Data access, persistence |
|
|
80
|
+
| `Controller` | Handles external requests |
|
|
81
|
+
| `Factory` | Creates instances |
|
|
82
|
+
| `Builder` | Constructs complex objects step-by-step |
|
|
83
|
+
| `Validator` | Validates data |
|
|
84
|
+
| `Mapper` | Transforms between types |
|
|
85
|
+
|
|
86
|
+
### Boolean Naming
|
|
87
|
+
|
|
88
|
+
**Use question-form prefixes:**
|
|
89
|
+
- `isActive` - state check
|
|
90
|
+
- `hasPermission` - possession check
|
|
91
|
+
- `canEdit` - capability check
|
|
92
|
+
- `shouldRefresh` - recommendation check
|
|
93
|
+
- `wasProcessed` - past state check
|
|
94
|
+
|
|
95
|
+
**Avoid negation in names:**
|
|
96
|
+
- `isEnabled` not `isNotDisabled`
|
|
97
|
+
- `hasAccess` not `isNotRestricted`
|
|
98
|
+
- Double negatives (`!isNotValid`) are hard to reason about
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Function Design
|
|
103
|
+
|
|
104
|
+
### Size Guidelines
|
|
105
|
+
|
|
106
|
+
| Metric | Target | Warning |
|
|
107
|
+
|--------|--------|---------|
|
|
108
|
+
| Lines | 20-50 | > 100 |
|
|
109
|
+
| Statements | 15-30 | > 50 |
|
|
110
|
+
| Parameters | 3-4 | > 5 |
|
|
111
|
+
| Nesting depth | 2-3 | > 4 |
|
|
112
|
+
| Cyclomatic complexity | < 10 | > 15 |
|
|
113
|
+
|
|
114
|
+
### Single Responsibility
|
|
115
|
+
|
|
116
|
+
**One function, one job:**
|
|
117
|
+
- Does one thing, does it well
|
|
118
|
+
- Can be described without "and"
|
|
119
|
+
- Changes for one reason only
|
|
120
|
+
|
|
121
|
+
**Signs of multiple responsibilities:**
|
|
122
|
+
- Function name includes "And" (`validateAndSave`, `fetchAndProcess`)
|
|
123
|
+
- Long functions with distinct sections
|
|
124
|
+
- Multiple unrelated parameters
|
|
125
|
+
- Comments dividing the function into parts
|
|
126
|
+
|
|
127
|
+
### Return Early Pattern
|
|
128
|
+
|
|
129
|
+
**Prefer early returns to reduce nesting:**
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
// Instead of deep nesting
|
|
133
|
+
function processOrder(order) {
|
|
134
|
+
if (order != null) {
|
|
135
|
+
if (order.isValid()) {
|
|
136
|
+
if (order.hasItems()) {
|
|
137
|
+
// actual logic here
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// Use early returns
|
|
144
|
+
function processOrder(order) {
|
|
145
|
+
if (order == null) return;
|
|
146
|
+
if (!order.isValid()) return;
|
|
147
|
+
if (!order.hasItems()) return;
|
|
148
|
+
|
|
149
|
+
// actual logic here, at base indentation
|
|
150
|
+
}
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Parameter Design
|
|
154
|
+
|
|
155
|
+
**Limit positional parameters:**
|
|
156
|
+
- 0-2 parameters: Usually fine
|
|
157
|
+
- 3-4 parameters: Consider if all are needed
|
|
158
|
+
- 5+ parameters: Use options object
|
|
159
|
+
|
|
160
|
+
**Options object pattern:**
|
|
161
|
+
```
|
|
162
|
+
// Instead of many parameters
|
|
163
|
+
function createUser(name, email, age, role, department, startDate) { }
|
|
164
|
+
|
|
165
|
+
// Use options object
|
|
166
|
+
function createUser(options: CreateUserOptions) {
|
|
167
|
+
const { name, email, age, role, department, startDate } = options;
|
|
168
|
+
}
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
**Benefits of options object:**
|
|
172
|
+
- Named parameters at call site
|
|
173
|
+
- Optional parameters are natural
|
|
174
|
+
- Easier to add new parameters
|
|
175
|
+
- Self-documenting
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## Comment Strategy
|
|
180
|
+
|
|
181
|
+
### When to Comment
|
|
182
|
+
|
|
183
|
+
**Comment the WHY, not the WHAT:**
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
// BAD: Explains what (obvious from code)
|
|
187
|
+
// Loop through users and check if active
|
|
188
|
+
for (const user of users) {
|
|
189
|
+
if (user.isActive) { }
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// GOOD: Explains why (not obvious)
|
|
193
|
+
// Skip inactive users to avoid sending emails to closed accounts
|
|
194
|
+
// per compliance requirement GDPR-2021-42
|
|
195
|
+
for (const user of users) {
|
|
196
|
+
if (user.isActive) { }
|
|
197
|
+
}
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### Documentation Comments
|
|
201
|
+
|
|
202
|
+
**When to use:**
|
|
203
|
+
- Public API methods
|
|
204
|
+
- Library functions used by others
|
|
205
|
+
- Complex algorithms
|
|
206
|
+
- Non-obvious return values or side effects
|
|
207
|
+
|
|
208
|
+
**What to include:**
|
|
209
|
+
- What the function does (brief)
|
|
210
|
+
- Parameter descriptions if not obvious
|
|
211
|
+
- Return value description
|
|
212
|
+
- Exceptions/errors that may be thrown
|
|
213
|
+
- Example usage for complex functions
|
|
214
|
+
|
|
215
|
+
### TODO Comments
|
|
216
|
+
|
|
217
|
+
**Format with context:**
|
|
218
|
+
```
|
|
219
|
+
// TODO(2024-01-15): Refactor when new API is available
|
|
220
|
+
// TODO(@username): Review edge case handling
|
|
221
|
+
// TODO(JIRA-123): Complete implementation after spec finalized
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
**Avoid indefinite TODOs:**
|
|
225
|
+
```
|
|
226
|
+
// BAD: No context, will be forgotten
|
|
227
|
+
// TODO: fix this later
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Comments to Avoid
|
|
231
|
+
|
|
232
|
+
**Commented-out code:**
|
|
233
|
+
- Use version control instead
|
|
234
|
+
- Dead code creates confusion
|
|
235
|
+
- Delete it; git remembers
|
|
236
|
+
|
|
237
|
+
**Obvious comments:**
|
|
238
|
+
```
|
|
239
|
+
// BAD
|
|
240
|
+
// Increment counter
|
|
241
|
+
counter++;
|
|
242
|
+
|
|
243
|
+
// Set user name
|
|
244
|
+
user.name = newName;
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
**Misleading comments:**
|
|
248
|
+
- Worse than no comment
|
|
249
|
+
- Update or delete immediately when code changes
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## Consistent Style
|
|
254
|
+
|
|
255
|
+
### Follow Project Conventions
|
|
256
|
+
|
|
257
|
+
**Adopt existing patterns:**
|
|
258
|
+
- Match naming conventions already in codebase
|
|
259
|
+
- Follow established file organization
|
|
260
|
+
- Use same patterns for similar problems
|
|
261
|
+
- When in doubt, match surrounding code
|
|
262
|
+
|
|
263
|
+
**Consistency beats preference:**
|
|
264
|
+
- Your preferred style matters less than codebase consistency
|
|
265
|
+
- Propose style changes through proper channels (linting rules)
|
|
266
|
+
- Don't mix styles within a file or feature
|
|
267
|
+
|
|
268
|
+
### Automated Formatting
|
|
269
|
+
|
|
270
|
+
**Use tools, not discipline:**
|
|
271
|
+
- Prettier, Black, gofmt, swift-format
|
|
272
|
+
- Configure once, forget about formatting
|
|
273
|
+
- Removes style debates from code review
|
|
274
|
+
- Ensures consistent output
|
|
275
|
+
|
|
276
|
+
**Configure and commit:**
|
|
277
|
+
- Check in configuration files
|
|
278
|
+
- Run formatter in pre-commit hooks
|
|
279
|
+
- Fail CI on formatting issues
|
|
280
|
+
|
|
281
|
+
### Whitespace and Structure
|
|
282
|
+
|
|
283
|
+
**Group related code:**
|
|
284
|
+
- Blank lines between logical sections
|
|
285
|
+
- Keep related statements together
|
|
286
|
+
- Separate concerns visually
|
|
287
|
+
|
|
288
|
+
**Consistent indentation:**
|
|
289
|
+
- Use project standard (spaces vs tabs, count)
|
|
290
|
+
- Let formatter handle it
|
|
291
|
+
- Never mix within a file
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: structuring-code
|
|
3
|
+
module: coding
|
|
4
|
+
name: Organizing Code Structure
|
|
5
|
+
description: Code organization principles for file structure, readability, and DRY compliance. Use when evaluating code organization, planning file structure, or assessing code for maintainability. Provides language-agnostic structural goals.
|
|
6
|
+
scope: generic
|
|
7
|
+
applicable-projects: any
|
|
8
|
+
capabilities-provided:
|
|
9
|
+
- code-organization
|
|
10
|
+
- file-structure-guidance
|
|
11
|
+
- readability-assessment
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# Organizing Code Structure
|
|
15
|
+
|
|
16
|
+
## When to Use This Skill
|
|
17
|
+
|
|
18
|
+
Use this skill when you need to:
|
|
19
|
+
- Evaluate existing code organization and identify structural issues
|
|
20
|
+
- Plan file and directory structure for new features or projects
|
|
21
|
+
- Assess code readability and maintainability
|
|
22
|
+
- Identify duplication and determine extraction opportunities
|
|
23
|
+
- Review code structure in pull requests
|
|
24
|
+
- Establish structural guidelines for a project
|
|
25
|
+
|
|
26
|
+
**Agents that benefit from this skill:**
|
|
27
|
+
- ai-app-developer (code organization decisions)
|
|
28
|
+
- ai-architect (structural design guidance)
|
|
29
|
+
- ai-framework-developer (framework structure patterns)
|
|
30
|
+
|
|
31
|
+
**Relationship to other skills:**
|
|
32
|
+
- `implementing-code` covers HOW to write code (process, testing, review)
|
|
33
|
+
- This skill covers WHAT good structure looks like (goals, targets, indicators)
|
|
34
|
+
- `designing-architecture` covers SYSTEM design (components, data flows)
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Quick Start: Structure Assessment Checklist
|
|
39
|
+
|
|
40
|
+
### File Organization (quick check)
|
|
41
|
+
- [ ] Each file has a single, clear responsibility
|
|
42
|
+
- [ ] File sizes are under 500 lines (split larger files)
|
|
43
|
+
- [ ] Related files are colocated in directories
|
|
44
|
+
- [ ] File names clearly describe their contents
|
|
45
|
+
|
|
46
|
+
### Code Readability (quick check)
|
|
47
|
+
- [ ] Names are self-descriptive without needing comments
|
|
48
|
+
- [ ] Functions are small and focused (under 50 lines typically)
|
|
49
|
+
- [ ] Nesting depth is shallow (max 3 levels)
|
|
50
|
+
- [ ] Comments explain WHY, not WHAT
|
|
51
|
+
|
|
52
|
+
### DRY Compliance (quick check)
|
|
53
|
+
- [ ] No obvious copy-paste duplication
|
|
54
|
+
- [ ] Shared logic is extracted to reusable units
|
|
55
|
+
- [ ] Abstractions are meaningful and reduce complexity
|
|
56
|
+
- [ ] No over-engineering for hypothetical future needs
|
|
57
|
+
|
|
58
|
+
> **Deep dive:** See [CHECKLISTS.md](CHECKLISTS.md) for comprehensive review checklists.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Related Coding Standards - Quick Reference
|
|
63
|
+
|
|
64
|
+
When evaluating code structure, also verify compliance with these essentials:
|
|
65
|
+
|
|
66
|
+
### Architecture Essentials
|
|
67
|
+
> From: `designing-architecture`
|
|
68
|
+
- [ ] Document architectural decisions with rationale and alternatives
|
|
69
|
+
- [ ] Ensure no circular dependencies between components
|
|
70
|
+
- [ ] Check technology choices are justified (not premature optimization)
|
|
71
|
+
|
|
72
|
+
### Implementation Essentials
|
|
73
|
+
> From: `implementing-code`
|
|
74
|
+
- [ ] Tests: cover happy path, edge cases, error conditions (AAA pattern)
|
|
75
|
+
- [ ] Error handling: specific exceptions, user-friendly messages
|
|
76
|
+
- [ ] Self-review before commit: tests pass, linting clean, no debug code
|
|
77
|
+
- [ ] Code review: functionality, security, performance, test coverage
|
|
78
|
+
|
|
79
|
+
<!-- SYNC-NOTE: Keep in sync with source skills. Last synced: 2026-01-04 -->
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Instructions
|
|
84
|
+
|
|
85
|
+
### 1. Assess File Organization
|
|
86
|
+
|
|
87
|
+
**Goal:** Each file should have one clear responsibility and be easy to locate.
|
|
88
|
+
|
|
89
|
+
**One Responsibility Per File:**
|
|
90
|
+
- Single class, component, or module per file
|
|
91
|
+
- File name matches its primary export
|
|
92
|
+
- Exceptions: tightly coupled helper types, test utilities
|
|
93
|
+
|
|
94
|
+
**File Size Limits:**
|
|
95
|
+
- Target: 100-400 lines (ideal range)
|
|
96
|
+
- Maximum: 500 lines (hard limit - split if exceeding)
|
|
97
|
+
- Very small files (<30 lines) may indicate over-splitting
|
|
98
|
+
- If file needs >500 lines, it has multiple responsibilities - split it
|
|
99
|
+
|
|
100
|
+
**Directory Structure:**
|
|
101
|
+
- Colocate related files (feature-based organization preferred)
|
|
102
|
+
- Keep directory depth shallow (2-4 levels typically)
|
|
103
|
+
- Group by feature or domain, not by file type alone
|
|
104
|
+
- Use index/barrel files sparingly
|
|
105
|
+
|
|
106
|
+
**File Naming:**
|
|
107
|
+
- Name describes content clearly
|
|
108
|
+
- Follow project conventions (kebab-case, PascalCase, etc.)
|
|
109
|
+
- Use consistent suffixes (.test, .types, .utils, .config)
|
|
110
|
+
|
|
111
|
+
> **Details:** See [FILE-ORGANIZATION.md](FILE-ORGANIZATION.md) for comprehensive guidance.
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
### 2. Evaluate Code Readability
|
|
116
|
+
|
|
117
|
+
**Goal:** Code should be self-documenting and easy to understand without extensive comments.
|
|
118
|
+
|
|
119
|
+
**Self-Descriptive Naming:**
|
|
120
|
+
- Variables: reveal purpose (`elapsedTimeInDays` not `d`)
|
|
121
|
+
- Functions: verb + noun, action-oriented (`getUserById`, `calculateTotal`)
|
|
122
|
+
- Classes/Types: noun-based, domain language (`OrderProcessor`, `UserAccount`)
|
|
123
|
+
- Booleans: `is/has/should/can` prefixes (`isActive`, `hasPermission`)
|
|
124
|
+
- Avoid abbreviations except universal ones (id, url, api)
|
|
125
|
+
|
|
126
|
+
**Function Design Goals:**
|
|
127
|
+
- Size: 20-50 lines typical, rarely exceed 100
|
|
128
|
+
- Parameters: 3-4 maximum, use options object for more
|
|
129
|
+
- Nesting: Maximum 3 levels (extract deeper logic)
|
|
130
|
+
- Single responsibility: one function, one job
|
|
131
|
+
- Return early to reduce nesting
|
|
132
|
+
|
|
133
|
+
**Comment Strategy:**
|
|
134
|
+
- Prefer self-documenting code over comments
|
|
135
|
+
- Comment the WHY (intent, reasoning), not the WHAT
|
|
136
|
+
- Documentation comments for public APIs
|
|
137
|
+
- TODO format: `TODO(context): description`
|
|
138
|
+
- Delete outdated comments immediately
|
|
139
|
+
|
|
140
|
+
**Consistent Style:**
|
|
141
|
+
- Follow project conventions without exception
|
|
142
|
+
- Use automated formatting (Prettier, Black, etc.)
|
|
143
|
+
- Consistency beats personal preference
|
|
144
|
+
|
|
145
|
+
> **Details:** See [READABILITY.md](READABILITY.md) for comprehensive guidance.
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
### 3. Identify DRY Violations
|
|
150
|
+
|
|
151
|
+
**Goal:** Eliminate harmful duplication while avoiding premature abstraction.
|
|
152
|
+
|
|
153
|
+
**Types of Duplication:**
|
|
154
|
+
- **Exact duplication:** Copy-pasted code blocks
|
|
155
|
+
- **Structural duplication:** Same pattern with different data
|
|
156
|
+
- **Conceptual duplication:** Same concept, different implementations
|
|
157
|
+
|
|
158
|
+
**When to Extract:**
|
|
159
|
+
- Rule of three: Consider extraction on third occurrence
|
|
160
|
+
- Business concept exists: Name the abstraction meaningfully
|
|
161
|
+
- Changes propagate: Same logic changed in multiple places
|
|
162
|
+
- Tests duplicated: Same setup/assertions repeated
|
|
163
|
+
|
|
164
|
+
**When NOT to Extract:**
|
|
165
|
+
- Incidental similarity: Looks same now, evolves differently
|
|
166
|
+
- Different contexts: Same code, different business meaning
|
|
167
|
+
- Abstraction adds complexity: Cure worse than disease
|
|
168
|
+
- "Wrong abstraction is worse than duplication"
|
|
169
|
+
|
|
170
|
+
**Extraction Quality:**
|
|
171
|
+
- Good abstractions hide complexity
|
|
172
|
+
- Bad abstractions create coupling
|
|
173
|
+
- Abstractions should be stable (change rarely)
|
|
174
|
+
- Prefer composition over deep inheritance
|
|
175
|
+
|
|
176
|
+
> **Details:** See [DRY-PRINCIPLES.md](DRY-PRINCIPLES.md) for comprehensive guidance.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## Common Patterns
|
|
181
|
+
|
|
182
|
+
### Pattern 1: Evaluating Existing Structure
|
|
183
|
+
|
|
184
|
+
**When:** Reviewing unfamiliar codebase or assessing technical debt.
|
|
185
|
+
|
|
186
|
+
**Approach:**
|
|
187
|
+
1. Start with directory structure - does organization reveal intent?
|
|
188
|
+
2. Check file sizes - identify large files (potential multiple responsibilities)
|
|
189
|
+
3. Sample functions - assess naming, size, nesting
|
|
190
|
+
4. Look for duplication patterns - grep for similar code blocks
|
|
191
|
+
5. Check test organization - mirrors source structure?
|
|
192
|
+
|
|
193
|
+
**Output:** List of structural issues with severity and recommended actions.
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
### Pattern 2: Planning New Feature Structure
|
|
198
|
+
|
|
199
|
+
**When:** Starting new feature or component.
|
|
200
|
+
|
|
201
|
+
**Approach:**
|
|
202
|
+
1. Identify domain concepts - what entities and operations exist?
|
|
203
|
+
2. Map to file structure - one concept per file
|
|
204
|
+
3. Plan directory placement - colocate with related features
|
|
205
|
+
4. Define public interfaces - what's exposed vs internal?
|
|
206
|
+
5. Consider test structure - where will tests live?
|
|
207
|
+
|
|
208
|
+
**Output:** Proposed file/directory structure before writing code.
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
### Pattern 3: Identifying Extraction Opportunities
|
|
213
|
+
|
|
214
|
+
**When:** Code review reveals duplication or large functions.
|
|
215
|
+
|
|
216
|
+
**Approach:**
|
|
217
|
+
1. Identify repeated code - exact, structural, or conceptual
|
|
218
|
+
2. Assess evolution paths - will these change together?
|
|
219
|
+
3. Name the abstraction - can you describe what it does?
|
|
220
|
+
4. Evaluate complexity - does extraction simplify or complicate?
|
|
221
|
+
5. Consider alternatives - inline vs extract vs refactor differently
|
|
222
|
+
|
|
223
|
+
**Output:** Specific extraction recommendations with rationale.
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
### Pattern 4: Reviewing Structure in PRs
|
|
228
|
+
|
|
229
|
+
**When:** Code review for structural quality.
|
|
230
|
+
|
|
231
|
+
**Approach:**
|
|
232
|
+
1. File changes - new files placed correctly? Named well?
|
|
233
|
+
2. File sizes - changes push files over reasonable limits?
|
|
234
|
+
3. Function additions - small, focused, well-named?
|
|
235
|
+
4. Duplication - new code duplicate existing patterns?
|
|
236
|
+
5. Overall cohesion - changes increase or decrease clarity?
|
|
237
|
+
|
|
238
|
+
**Output:** Structural feedback separate from logic/correctness feedback.
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## Structural Goals Reference
|
|
243
|
+
|
|
244
|
+
| Aspect | Target | Signal of Problem |
|
|
245
|
+
|--------|--------|-------------------|
|
|
246
|
+
| File size | 100-400 lines | 500+ lines (must split) |
|
|
247
|
+
| Function size | 20-50 lines | 100+ lines |
|
|
248
|
+
| Function parameters | 3-4 max | 5+ parameters |
|
|
249
|
+
| Nesting depth | 2-3 levels | 4+ levels |
|
|
250
|
+
| Directory depth | 2-4 levels | 6+ levels |
|
|
251
|
+
| Cyclomatic complexity | <10 | 15+ |
|
|
252
|
+
|
|
253
|
+
**Note:** File size is a hard limit (500 max). A 200-line file with mixed concerns still needs splitting. Files approaching 500 lines should be proactively reviewed for split opportunities.
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
## Anti-Patterns Overview
|
|
258
|
+
|
|
259
|
+
### File Organization Anti-Patterns
|
|
260
|
+
- **God files:** Single file with multiple unrelated responsibilities
|
|
261
|
+
- **Over-splitting:** One-liner files that fragment logic unnecessarily
|
|
262
|
+
- **Type-based grouping:** All controllers in one folder, all services in another (prefer feature-based)
|
|
263
|
+
- **Deep nesting:** 6+ directory levels making navigation difficult
|
|
264
|
+
|
|
265
|
+
### Readability Anti-Patterns
|
|
266
|
+
- **Cryptic names:** Single-letter variables, unclear abbreviations
|
|
267
|
+
- **Comment-dependent code:** Code that requires comments to understand
|
|
268
|
+
- **Deep nesting:** Nested conditionals/loops beyond 3 levels
|
|
269
|
+
- **Long parameter lists:** Functions with 5+ positional parameters
|
|
270
|
+
|
|
271
|
+
### DRY Anti-Patterns
|
|
272
|
+
- **Premature abstraction:** Extracting before pattern is clear
|
|
273
|
+
- **Wrong abstraction:** Abstraction that doesn't match the concept
|
|
274
|
+
- **Copy-paste programming:** Duplicating instead of extracting
|
|
275
|
+
- **Inheritance abuse:** Deep hierarchies for code reuse
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## See Also
|
|
280
|
+
|
|
281
|
+
- [FILE-ORGANIZATION.md](FILE-ORGANIZATION.md) - Detailed file and directory organization principles
|
|
282
|
+
- [READABILITY.md](READABILITY.md) - Naming conventions, function design, comment strategy
|
|
283
|
+
- [DRY-PRINCIPLES.md](DRY-PRINCIPLES.md) - Duplication detection and extraction guidelines
|
|
284
|
+
- [CHECKLISTS.md](CHECKLISTS.md) - Quick reference checklists for review
|
|
285
|
+
|
|
286
|
+
**Related Skills:**
|
|
287
|
+
- `implementing-code` - Implementation process, testing, code review
|
|
288
|
+
- `designing-architecture` - System-level architecture decisions
|
|
289
|
+
- `verifying-quality` - Quality evaluation and anti-patterns
|