xtrm-tools 0.7.0 → 0.7.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/.xtrm/config/README.md +10 -0
- package/{config/mcp_servers.json → .xtrm/config/claude.mcp.json} +0 -28
- package/{config → .xtrm/config}/instructions/agents-top.md +12 -3
- package/{config → .xtrm/config}/instructions/claude-top.md +12 -3
- package/{config → .xtrm/config}/pi/extensions/beads/index.ts +44 -13
- package/{config → .xtrm/config}/pi/extensions/custom-footer/index.ts +59 -82
- package/{config → .xtrm/config}/pi/extensions/xtrm-ui/index.ts +2 -2
- package/{config → .xtrm/config}/pi/install-schema.json +2 -2
- package/.xtrm/config/pi.mcp.json +39 -0
- package/.xtrm/config/settings.json +41 -0
- package/.xtrm/extensions/auto-session-name/index.ts +29 -0
- package/.xtrm/extensions/auto-session-name/package.json +16 -0
- package/.xtrm/extensions/auto-update/index.ts +71 -0
- package/.xtrm/extensions/auto-update/package.json +16 -0
- package/.xtrm/extensions/beads/index.ts +232 -0
- package/.xtrm/extensions/beads/package.json +19 -0
- package/.xtrm/extensions/compact-header/index.ts +69 -0
- package/.xtrm/extensions/compact-header/package.json +16 -0
- package/.xtrm/extensions/core/adapter.ts +52 -0
- package/.xtrm/extensions/core/guard-rules.ts +100 -0
- package/.xtrm/extensions/core/lib.ts +3 -0
- package/.xtrm/extensions/core/logger.ts +45 -0
- package/.xtrm/extensions/core/package.json +18 -0
- package/.xtrm/extensions/core/runner.ts +71 -0
- package/.xtrm/extensions/core/session-state.ts +59 -0
- package/.xtrm/extensions/custom-footer/index.ts +398 -0
- package/.xtrm/extensions/custom-footer/package.json +19 -0
- package/.xtrm/extensions/custom-provider-qwen-cli/index.ts +363 -0
- package/.xtrm/extensions/custom-provider-qwen-cli/package.json +1 -0
- package/.xtrm/extensions/git-checkpoint/index.ts +53 -0
- package/.xtrm/extensions/git-checkpoint/package.json +16 -0
- package/.xtrm/extensions/lsp-bootstrap/index.ts +134 -0
- package/.xtrm/extensions/lsp-bootstrap/package.json +17 -0
- package/.xtrm/extensions/pi-serena-compact/index.ts +121 -0
- package/.xtrm/extensions/pi-serena-compact/package.json +16 -0
- package/.xtrm/extensions/quality-gates/index.ts +66 -0
- package/.xtrm/extensions/quality-gates/package.json +19 -0
- package/.xtrm/extensions/service-skills/index.ts +108 -0
- package/.xtrm/extensions/service-skills/package.json +19 -0
- package/.xtrm/extensions/session-flow/index.ts +96 -0
- package/.xtrm/extensions/session-flow/package.json +19 -0
- package/.xtrm/extensions/xtrm-loader/index.ts +152 -0
- package/.xtrm/extensions/xtrm-loader/package.json +19 -0
- package/.xtrm/extensions/xtrm-ui/format.ts +93 -0
- package/.xtrm/extensions/xtrm-ui/index.ts +1044 -0
- package/.xtrm/extensions/xtrm-ui/package.json +10 -0
- package/.xtrm/extensions/xtrm-ui/themes/pidex-dark.json +85 -0
- package/.xtrm/extensions/xtrm-ui/themes/pidex-light.json +85 -0
- package/{hooks → .xtrm/hooks}/README.md +2 -1
- package/{hooks → .xtrm/hooks}/beads-commit-gate.mjs +4 -0
- package/.xtrm/hooks/beads-memory-gate.mjs +119 -0
- package/{plugins/xtrm-tools → .xtrm}/hooks/quality-check-env.mjs +1 -4
- package/.xtrm/hooks/statusline.mjs +156 -0
- package/{plugins/xtrm-tools → .xtrm}/hooks/using-xtrm-reminder.mjs +8 -7
- package/.xtrm/registry.json +1323 -0
- package/CHANGELOG.md +27 -0
- package/README.md +3 -1
- package/cli/dist/index.cjs +27158 -31320
- package/cli/dist/index.cjs.map +1 -1
- package/cli/package.json +2 -1
- package/package.json +12 -12
- package/.claude-plugin/marketplace.json +0 -19
- package/.claude-plugin/plugin.json +0 -9
- package/config/hooks.json +0 -83
- package/config/settings.json +0 -70
- package/hooks/beads-memory-gate.mjs +0 -94
- package/hooks/quality-check-env.mjs +0 -79
- package/hooks/statusline.mjs +0 -183
- package/hooks/tsconfig-cache.json +0 -4
- package/hooks/using-xtrm-reminder.mjs +0 -47
- package/plugins/xtrm-tools/.claude-plugin/plugin.json +0 -9
- package/plugins/xtrm-tools/.mcp.json +0 -18
- package/plugins/xtrm-tools/hooks/README.md +0 -61
- package/plugins/xtrm-tools/hooks/beads-claim-sync.mjs +0 -154
- package/plugins/xtrm-tools/hooks/beads-commit-gate.mjs +0 -70
- package/plugins/xtrm-tools/hooks/beads-compact-restore.mjs +0 -77
- package/plugins/xtrm-tools/hooks/beads-compact-save.mjs +0 -63
- package/plugins/xtrm-tools/hooks/beads-edit-gate.mjs +0 -85
- package/plugins/xtrm-tools/hooks/beads-gate-core.mjs +0 -236
- package/plugins/xtrm-tools/hooks/beads-gate-messages.mjs +0 -75
- package/plugins/xtrm-tools/hooks/beads-gate-utils.mjs +0 -176
- package/plugins/xtrm-tools/hooks/beads-memory-gate.mjs +0 -94
- package/plugins/xtrm-tools/hooks/beads-stop-gate.mjs +0 -53
- package/plugins/xtrm-tools/hooks/gitnexus/gitnexus-hook.cjs +0 -222
- package/plugins/xtrm-tools/hooks/hooks.json +0 -129
- package/plugins/xtrm-tools/hooks/quality-check.cjs +0 -1286
- package/plugins/xtrm-tools/hooks/quality-check.py +0 -345
- package/plugins/xtrm-tools/hooks/statusline.mjs +0 -183
- package/plugins/xtrm-tools/hooks/tsconfig-cache.json +0 -4
- package/plugins/xtrm-tools/hooks/worktree-boundary.mjs +0 -33
- package/plugins/xtrm-tools/hooks/xtrm-logger.mjs +0 -123
- package/plugins/xtrm-tools/hooks/xtrm-session-logger.mjs +0 -27
- package/plugins/xtrm-tools/hooks/xtrm-tool-logger.mjs +0 -53
- package/plugins/xtrm-tools/skills/README.txt +0 -31
- package/plugins/xtrm-tools/skills/clean-code/SKILL.md +0 -201
- package/plugins/xtrm-tools/skills/creating-service-skills/SKILL.md +0 -433
- package/plugins/xtrm-tools/skills/creating-service-skills/references/script_quality_standards.md +0 -425
- package/plugins/xtrm-tools/skills/creating-service-skills/references/service_skill_system_guide.md +0 -278
- package/plugins/xtrm-tools/skills/creating-service-skills/scripts/bootstrap.py +0 -326
- package/plugins/xtrm-tools/skills/creating-service-skills/scripts/deep_dive.py +0 -304
- package/plugins/xtrm-tools/skills/creating-service-skills/scripts/scaffolder.py +0 -482
- package/plugins/xtrm-tools/skills/delegating/SKILL.md +0 -196
- package/plugins/xtrm-tools/skills/delegating/config.yaml +0 -210
- package/plugins/xtrm-tools/skills/delegating/references/orchestration-protocols.md +0 -41
- package/plugins/xtrm-tools/skills/docker-expert/SKILL.md +0 -409
- package/plugins/xtrm-tools/skills/documenting/CHANGELOG.md +0 -23
- package/plugins/xtrm-tools/skills/documenting/README.md +0 -148
- package/plugins/xtrm-tools/skills/documenting/SKILL.md +0 -113
- package/plugins/xtrm-tools/skills/documenting/examples/example_pattern.md +0 -70
- package/plugins/xtrm-tools/skills/documenting/examples/example_reference.md +0 -70
- package/plugins/xtrm-tools/skills/documenting/examples/example_ssot_analytics.md +0 -64
- package/plugins/xtrm-tools/skills/documenting/examples/example_workflow.md +0 -141
- package/plugins/xtrm-tools/skills/documenting/references/changelog-format.md +0 -97
- package/plugins/xtrm-tools/skills/documenting/references/metadata-schema.md +0 -136
- package/plugins/xtrm-tools/skills/documenting/references/taxonomy.md +0 -81
- package/plugins/xtrm-tools/skills/documenting/references/versioning-rules.md +0 -78
- package/plugins/xtrm-tools/skills/documenting/scripts/bump_version.sh +0 -60
- package/plugins/xtrm-tools/skills/documenting/scripts/changelog/__init__.py +0 -0
- package/plugins/xtrm-tools/skills/documenting/scripts/changelog/add_entry.py +0 -216
- package/plugins/xtrm-tools/skills/documenting/scripts/changelog/bump_release.py +0 -117
- package/plugins/xtrm-tools/skills/documenting/scripts/changelog/init_changelog.py +0 -54
- package/plugins/xtrm-tools/skills/documenting/scripts/changelog/validate_changelog.py +0 -128
- package/plugins/xtrm-tools/skills/documenting/scripts/drift_detector.py +0 -266
- package/plugins/xtrm-tools/skills/documenting/scripts/generate_template.py +0 -311
- package/plugins/xtrm-tools/skills/documenting/scripts/list_by_category.sh +0 -84
- package/plugins/xtrm-tools/skills/documenting/scripts/orchestrator.py +0 -255
- package/plugins/xtrm-tools/skills/documenting/scripts/validate_metadata.py +0 -242
- package/plugins/xtrm-tools/skills/documenting/templates/CHANGELOG.md.template +0 -13
- package/plugins/xtrm-tools/skills/documenting/tests/integration_test.sh +0 -70
- package/plugins/xtrm-tools/skills/documenting/tests/test_changelog.py +0 -201
- package/plugins/xtrm-tools/skills/documenting/tests/test_drift_detector.py +0 -80
- package/plugins/xtrm-tools/skills/documenting/tests/test_orchestrator.py +0 -52
- package/plugins/xtrm-tools/skills/documenting/tests/test_validate_metadata.py +0 -64
- package/plugins/xtrm-tools/skills/find-skills/SKILL.md +0 -133
- package/plugins/xtrm-tools/skills/gitnexus-exploring/SKILL.md +0 -75
- package/plugins/xtrm-tools/skills/gitnexus-impact-analysis/SKILL.md +0 -94
- package/plugins/xtrm-tools/skills/gitnexus-refactoring/SKILL.md +0 -113
- package/plugins/xtrm-tools/skills/hook-development/SKILL.md +0 -797
- package/plugins/xtrm-tools/skills/hook-development/examples/load-context.sh +0 -55
- package/plugins/xtrm-tools/skills/hook-development/examples/quality-check.js +0 -1168
- package/plugins/xtrm-tools/skills/hook-development/examples/validate-bash.sh +0 -43
- package/plugins/xtrm-tools/skills/hook-development/examples/validate-write.sh +0 -38
- package/plugins/xtrm-tools/skills/hook-development/references/advanced.md +0 -527
- package/plugins/xtrm-tools/skills/hook-development/references/migration.md +0 -369
- package/plugins/xtrm-tools/skills/hook-development/references/patterns.md +0 -412
- package/plugins/xtrm-tools/skills/hook-development/scripts/README.md +0 -164
- package/plugins/xtrm-tools/skills/hook-development/scripts/hook-linter.sh +0 -153
- package/plugins/xtrm-tools/skills/hook-development/scripts/test-hook.sh +0 -252
- package/plugins/xtrm-tools/skills/hook-development/scripts/validate-hook-schema.sh +0 -159
- package/plugins/xtrm-tools/skills/obsidian-cli/SKILL.md +0 -106
- package/plugins/xtrm-tools/skills/orchestrating-agents/SKILL.md +0 -135
- package/plugins/xtrm-tools/skills/orchestrating-agents/config.yaml +0 -45
- package/plugins/xtrm-tools/skills/orchestrating-agents/references/agent-context-integration.md +0 -37
- package/plugins/xtrm-tools/skills/orchestrating-agents/references/examples.md +0 -45
- package/plugins/xtrm-tools/skills/orchestrating-agents/references/handover-protocol.md +0 -31
- package/plugins/xtrm-tools/skills/orchestrating-agents/references/workflows.md +0 -42
- package/plugins/xtrm-tools/skills/orchestrating-agents/scripts/detect_neighbors.py +0 -23
- package/plugins/xtrm-tools/skills/planning/SKILL.md +0 -405
- package/plugins/xtrm-tools/skills/planning/evals/evals.json +0 -19
- package/plugins/xtrm-tools/skills/prompt-improving/README.md +0 -162
- package/plugins/xtrm-tools/skills/prompt-improving/SKILL.md +0 -74
- package/plugins/xtrm-tools/skills/prompt-improving/references/analysis_commands.md +0 -24
- package/plugins/xtrm-tools/skills/prompt-improving/references/chain_of_thought.md +0 -24
- package/plugins/xtrm-tools/skills/prompt-improving/references/mcp_definitions.md +0 -20
- package/plugins/xtrm-tools/skills/prompt-improving/references/multishot.md +0 -23
- package/plugins/xtrm-tools/skills/prompt-improving/references/xml_core.md +0 -60
- package/plugins/xtrm-tools/skills/python-testing/SKILL.md +0 -815
- package/plugins/xtrm-tools/skills/scoping-service-skills/SKILL.md +0 -231
- package/plugins/xtrm-tools/skills/scoping-service-skills/scripts/scope.py +0 -74
- package/plugins/xtrm-tools/skills/senior-backend/SKILL.md +0 -209
- package/plugins/xtrm-tools/skills/senior-backend/references/api_design_patterns.md +0 -103
- package/plugins/xtrm-tools/skills/senior-backend/references/backend_security_practices.md +0 -103
- package/plugins/xtrm-tools/skills/senior-backend/references/database_optimization_guide.md +0 -103
- package/plugins/xtrm-tools/skills/senior-backend/scripts/api_load_tester.py +0 -114
- package/plugins/xtrm-tools/skills/senior-backend/scripts/api_scaffolder.py +0 -114
- package/plugins/xtrm-tools/skills/senior-backend/scripts/database_migration_tool.py +0 -114
- package/plugins/xtrm-tools/skills/senior-data-scientist/SKILL.md +0 -226
- package/plugins/xtrm-tools/skills/senior-data-scientist/references/experiment_design_frameworks.md +0 -80
- package/plugins/xtrm-tools/skills/senior-data-scientist/references/feature_engineering_patterns.md +0 -80
- package/plugins/xtrm-tools/skills/senior-data-scientist/references/statistical_methods_advanced.md +0 -80
- package/plugins/xtrm-tools/skills/senior-data-scientist/scripts/experiment_designer.py +0 -100
- package/plugins/xtrm-tools/skills/senior-data-scientist/scripts/feature_engineering_pipeline.py +0 -100
- package/plugins/xtrm-tools/skills/senior-data-scientist/scripts/model_evaluation_suite.py +0 -100
- package/plugins/xtrm-tools/skills/senior-devops/SKILL.md +0 -209
- package/plugins/xtrm-tools/skills/senior-devops/references/cicd_pipeline_guide.md +0 -103
- package/plugins/xtrm-tools/skills/senior-devops/references/deployment_strategies.md +0 -103
- package/plugins/xtrm-tools/skills/senior-devops/references/infrastructure_as_code.md +0 -103
- package/plugins/xtrm-tools/skills/senior-devops/scripts/deployment_manager.py +0 -114
- package/plugins/xtrm-tools/skills/senior-devops/scripts/pipeline_generator.py +0 -114
- package/plugins/xtrm-tools/skills/senior-devops/scripts/terraform_scaffolder.py +0 -114
- package/plugins/xtrm-tools/skills/senior-security/SKILL.md +0 -209
- package/plugins/xtrm-tools/skills/senior-security/references/cryptography_implementation.md +0 -103
- package/plugins/xtrm-tools/skills/senior-security/references/penetration_testing_guide.md +0 -103
- package/plugins/xtrm-tools/skills/senior-security/references/security_architecture_patterns.md +0 -103
- package/plugins/xtrm-tools/skills/senior-security/scripts/pentest_automator.py +0 -114
- package/plugins/xtrm-tools/skills/senior-security/scripts/security_auditor.py +0 -114
- package/plugins/xtrm-tools/skills/senior-security/scripts/threat_modeler.py +0 -114
- package/plugins/xtrm-tools/skills/skill-creator/LICENSE.txt +0 -202
- package/plugins/xtrm-tools/skills/skill-creator/SKILL.md +0 -479
- package/plugins/xtrm-tools/skills/skill-creator/agents/analyzer.md +0 -274
- package/plugins/xtrm-tools/skills/skill-creator/agents/comparator.md +0 -202
- package/plugins/xtrm-tools/skills/skill-creator/agents/grader.md +0 -223
- package/plugins/xtrm-tools/skills/skill-creator/assets/eval_review.html +0 -146
- package/plugins/xtrm-tools/skills/skill-creator/eval-viewer/generate_review.py +0 -471
- package/plugins/xtrm-tools/skills/skill-creator/eval-viewer/viewer.html +0 -1325
- package/plugins/xtrm-tools/skills/skill-creator/references/schemas.md +0 -430
- package/plugins/xtrm-tools/skills/skill-creator/scripts/__init__.py +0 -0
- package/plugins/xtrm-tools/skills/skill-creator/scripts/aggregate_benchmark.py +0 -401
- package/plugins/xtrm-tools/skills/skill-creator/scripts/generate_report.py +0 -326
- package/plugins/xtrm-tools/skills/skill-creator/scripts/improve_description.py +0 -248
- package/plugins/xtrm-tools/skills/skill-creator/scripts/package_skill.py +0 -136
- package/plugins/xtrm-tools/skills/skill-creator/scripts/quick_validate.py +0 -103
- package/plugins/xtrm-tools/skills/skill-creator/scripts/run_eval.py +0 -310
- package/plugins/xtrm-tools/skills/skill-creator/scripts/run_loop.py +0 -332
- package/plugins/xtrm-tools/skills/skill-creator/scripts/utils.py +0 -47
- package/plugins/xtrm-tools/skills/sync-docs/SKILL.md +0 -286
- package/plugins/xtrm-tools/skills/sync-docs/evals/evals.json +0 -89
- package/plugins/xtrm-tools/skills/sync-docs/references/doc-structure.md +0 -99
- package/plugins/xtrm-tools/skills/sync-docs/references/schema.md +0 -103
- package/plugins/xtrm-tools/skills/sync-docs/scripts/changelog/add_entry.py +0 -216
- package/plugins/xtrm-tools/skills/sync-docs/scripts/context_gatherer.py +0 -240
- package/plugins/xtrm-tools/skills/sync-docs/scripts/doc_structure_analyzer.py +0 -495
- package/plugins/xtrm-tools/skills/sync-docs/scripts/drift_detector.py +0 -563
- package/plugins/xtrm-tools/skills/sync-docs/scripts/validate_doc.py +0 -365
- package/plugins/xtrm-tools/skills/sync-docs/scripts/validate_metadata.py +0 -185
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/benchmark.json +0 -293
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/benchmark.md +0 -13
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-doc-audit/eval_metadata.json +0 -27
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/outputs/result.md +0 -210
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/run-1/grading.json +0 -28
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/run-1/timing.json +0 -1
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/outputs/result.md +0 -101
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/run-1/grading.json +0 -28
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/run-1/timing.json +0 -5
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/timing.json +0 -5
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-fix-mode/eval_metadata.json +0 -27
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/outputs/result.md +0 -198
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/run-1/grading.json +0 -28
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/run-1/timing.json +0 -1
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/outputs/result.md +0 -94
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/run-1/grading.json +0 -28
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/run-1/timing.json +0 -1
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/eval_metadata.json +0 -27
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/outputs/result.md +0 -237
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/run-1/grading.json +0 -28
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/run-1/timing.json +0 -1
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/outputs/result.md +0 -134
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/run-1/grading.json +0 -28
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/run-1/timing.json +0 -1
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/benchmark.json +0 -297
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/benchmark.md +0 -13
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-doc-audit/eval_metadata.json +0 -27
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/outputs/result.md +0 -137
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/run-1/grading.json +0 -92
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/run-1/timing.json +0 -1
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/outputs/result.md +0 -134
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/run-1/grading.json +0 -86
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/run-1/timing.json +0 -1
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-fix-mode/eval_metadata.json +0 -27
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/outputs/result.md +0 -193
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/run-1/grading.json +0 -72
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/run-1/timing.json +0 -1
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/outputs/result.md +0 -211
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/run-1/grading.json +0 -91
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/run-1/timing.json +0 -5
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/eval_metadata.json +0 -27
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/outputs/result.md +0 -182
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/run-1/grading.json +0 -95
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/run-1/timing.json +0 -1
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/outputs/result.md +0 -222
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/run-1/grading.json +0 -88
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/run-1/timing.json +0 -5
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/benchmark.json +0 -298
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/benchmark.md +0 -13
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-doc-audit/eval_metadata.json +0 -27
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/outputs/result.md +0 -125
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/run-1/grading.json +0 -97
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/run-1/timing.json +0 -5
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/outputs/result.md +0 -144
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/run-1/grading.json +0 -78
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/run-1/timing.json +0 -5
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-fix-mode/eval_metadata.json +0 -27
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/outputs/result.md +0 -104
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/run-1/grading.json +0 -91
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/run-1/timing.json +0 -5
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/outputs/result.md +0 -79
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/run-1/grading.json +0 -82
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/run-1/timing.json +0 -5
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/eval_metadata.json +0 -27
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase1_context.json +0 -302
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase2_drift.txt +0 -33
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase3_analysis.json +0 -114
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase4_fix.txt +0 -118
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase5_validate.txt +0 -38
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/result.md +0 -158
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/run-1/grading.json +0 -95
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/run-1/timing.json +0 -5
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/outputs/result.md +0 -71
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/run-1/grading.json +0 -90
- package/plugins/xtrm-tools/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/run-1/timing.json +0 -5
- package/plugins/xtrm-tools/skills/test-planning/SKILL.md +0 -465
- package/plugins/xtrm-tools/skills/test-planning/evals/evals.json +0 -23
- package/plugins/xtrm-tools/skills/updating-service-skills/SKILL.md +0 -136
- package/plugins/xtrm-tools/skills/updating-service-skills/scripts/drift_detector.py +0 -222
- package/plugins/xtrm-tools/skills/using-quality-gates/SKILL.md +0 -254
- package/plugins/xtrm-tools/skills/using-serena-lsp/README.md +0 -8
- package/plugins/xtrm-tools/skills/using-serena-lsp/REFERENCE.md +0 -194
- package/plugins/xtrm-tools/skills/using-serena-lsp/SKILL.md +0 -82
- package/plugins/xtrm-tools/skills/using-service-skills/SKILL.md +0 -108
- package/plugins/xtrm-tools/skills/using-service-skills/scripts/cataloger.py +0 -74
- package/plugins/xtrm-tools/skills/using-service-skills/scripts/skill_activator.py +0 -152
- package/plugins/xtrm-tools/skills/using-service-skills/scripts/test_skill_activator.py +0 -58
- package/plugins/xtrm-tools/skills/using-tdd/SKILL.md +0 -410
- package/plugins/xtrm-tools/skills/using-xtrm/SKILL.md +0 -127
- package/plugins/xtrm-tools/skills/xt-debugging/SKILL.md +0 -149
- package/plugins/xtrm-tools/skills/xt-end/SKILL.md +0 -297
- package/plugins/xtrm-tools/skills/xt-merge/SKILL.md +0 -313
- package/project-skills/quality-gates/.claude/hooks/hook-config.json +0 -66
- package/project-skills/quality-gates/.claude/hooks/quality-check.cjs +0 -1286
- package/project-skills/quality-gates/.claude/hooks/quality-check.py +0 -334
- package/project-skills/quality-gates/.claude/settings.json +0 -3
- package/project-skills/quality-gates/.claude/skills/using-quality-gates/SKILL.md +0 -254
- package/project-skills/quality-gates/README.md +0 -109
- package/project-skills/quality-gates/evals/evals.json +0 -181
- package/project-skills/quality-gates/workspace/iteration-1/FINAL-EVAL-SUMMARY.md +0 -75
- package/project-skills/quality-gates/workspace/iteration-1/edge-case-auto-fix-verification/with_skill/outputs/response.md +0 -59
- package/project-skills/quality-gates/workspace/iteration-1/edge-case-mixed-language-project/with_skill/outputs/response.md +0 -60
- package/project-skills/quality-gates/workspace/iteration-1/eval-summary.md +0 -105
- package/project-skills/quality-gates/workspace/iteration-1/partial-install-python-only/with_skill/outputs/response.md +0 -93
- package/project-skills/quality-gates/workspace/iteration-1/python-refactor-request/with_skill/outputs/response.md +0 -104
- package/project-skills/quality-gates/workspace/iteration-1/quality-gate-error-fix/with_skill/outputs/response.md +0 -74
- package/project-skills/quality-gates/workspace/iteration-1/should-not-trigger-general-chat/with_skill/outputs/response.md +0 -18
- package/project-skills/quality-gates/workspace/iteration-1/should-not-trigger-math-question/with_skill/outputs/response.md +0 -18
- package/project-skills/quality-gates/workspace/iteration-1/should-not-trigger-unrelated-coding/with_skill/outputs/response.md +0 -56
- package/project-skills/quality-gates/workspace/iteration-1/tdd-guard-blocking-confusion/with_skill/outputs/response.md +0 -67
- package/project-skills/quality-gates/workspace/iteration-1/typescript-feature-with-tests/with_skill/outputs/response.md +0 -97
- package/project-skills/service-skills-set/.claude/git-hooks/doc_reminder.py +0 -67
- package/project-skills/service-skills-set/.claude/git-hooks/skill_staleness.py +0 -194
- package/project-skills/service-skills-set/.claude/service-registry.json +0 -4
- package/project-skills/service-skills-set/.claude/settings.json +0 -37
- package/project-skills/service-skills-set/.claude/skills/creating-service-skills/SKILL.md +0 -433
- package/project-skills/service-skills-set/.claude/skills/creating-service-skills/references/script_quality_standards.md +0 -425
- package/project-skills/service-skills-set/.claude/skills/creating-service-skills/references/service_skill_system_guide.md +0 -278
- package/project-skills/service-skills-set/.claude/skills/creating-service-skills/scripts/bootstrap.py +0 -308
- package/project-skills/service-skills-set/.claude/skills/creating-service-skills/scripts/deep_dive.py +0 -304
- package/project-skills/service-skills-set/.claude/skills/creating-service-skills/scripts/scaffolder.py +0 -482
- package/project-skills/service-skills-set/.claude/skills/scoping-service-skills/SKILL.md +0 -231
- package/project-skills/service-skills-set/.claude/skills/scoping-service-skills/scripts/scope.py +0 -74
- package/project-skills/service-skills-set/.claude/skills/updating-service-skills/SKILL.md +0 -136
- package/project-skills/service-skills-set/.claude/skills/updating-service-skills/scripts/drift_detector.py +0 -222
- package/project-skills/service-skills-set/.claude/skills/using-service-skills/SKILL.md +0 -108
- package/project-skills/service-skills-set/.claude/skills/using-service-skills/scripts/cataloger.py +0 -74
- package/project-skills/service-skills-set/.claude/skills/using-service-skills/scripts/skill_activator.py +0 -152
- package/project-skills/service-skills-set/README.md +0 -93
- package/project-skills/service-skills-set/install-service-skills.py +0 -193
- package/project-skills/service-skills-set/service-skills-readme.md +0 -236
- package/skills/README.txt +0 -31
- package/skills/clean-code/SKILL.md +0 -201
- package/skills/creating-service-skills/SKILL.md +0 -433
- package/skills/creating-service-skills/references/script_quality_standards.md +0 -425
- package/skills/creating-service-skills/references/service_skill_system_guide.md +0 -278
- package/skills/creating-service-skills/scripts/bootstrap.py +0 -326
- package/skills/creating-service-skills/scripts/deep_dive.py +0 -304
- package/skills/creating-service-skills/scripts/scaffolder.py +0 -482
- package/skills/delegating/SKILL.md +0 -196
- package/skills/delegating/config.yaml +0 -210
- package/skills/delegating/references/orchestration-protocols.md +0 -41
- package/skills/docker-expert/SKILL.md +0 -409
- package/skills/documenting/CHANGELOG.md +0 -23
- package/skills/documenting/README.md +0 -148
- package/skills/documenting/SKILL.md +0 -113
- package/skills/documenting/examples/example_pattern.md +0 -70
- package/skills/documenting/examples/example_reference.md +0 -70
- package/skills/documenting/examples/example_ssot_analytics.md +0 -64
- package/skills/documenting/examples/example_workflow.md +0 -141
- package/skills/documenting/references/changelog-format.md +0 -97
- package/skills/documenting/references/metadata-schema.md +0 -136
- package/skills/documenting/references/taxonomy.md +0 -81
- package/skills/documenting/references/versioning-rules.md +0 -78
- package/skills/documenting/scripts/bump_version.sh +0 -60
- package/skills/documenting/scripts/changelog/__init__.py +0 -0
- package/skills/documenting/scripts/changelog/add_entry.py +0 -216
- package/skills/documenting/scripts/changelog/bump_release.py +0 -117
- package/skills/documenting/scripts/changelog/init_changelog.py +0 -54
- package/skills/documenting/scripts/changelog/validate_changelog.py +0 -128
- package/skills/documenting/scripts/drift_detector.py +0 -266
- package/skills/documenting/scripts/generate_template.py +0 -311
- package/skills/documenting/scripts/list_by_category.sh +0 -84
- package/skills/documenting/scripts/orchestrator.py +0 -255
- package/skills/documenting/scripts/validate_metadata.py +0 -242
- package/skills/documenting/templates/CHANGELOG.md.template +0 -13
- package/skills/find-skills/SKILL.md +0 -133
- package/skills/gitnexus-exploring/SKILL.md +0 -75
- package/skills/gitnexus-impact-analysis/SKILL.md +0 -94
- package/skills/gitnexus-refactoring/SKILL.md +0 -113
- package/skills/hook-development/SKILL.md +0 -797
- package/skills/hook-development/examples/load-context.sh +0 -55
- package/skills/hook-development/examples/quality-check.js +0 -1168
- package/skills/hook-development/examples/validate-bash.sh +0 -43
- package/skills/hook-development/examples/validate-write.sh +0 -38
- package/skills/hook-development/references/advanced.md +0 -527
- package/skills/hook-development/references/migration.md +0 -369
- package/skills/hook-development/references/patterns.md +0 -412
- package/skills/hook-development/scripts/README.md +0 -164
- package/skills/hook-development/scripts/hook-linter.sh +0 -153
- package/skills/hook-development/scripts/test-hook.sh +0 -252
- package/skills/hook-development/scripts/validate-hook-schema.sh +0 -159
- package/skills/obsidian-cli/SKILL.md +0 -106
- package/skills/orchestrating-agents/SKILL.md +0 -135
- package/skills/orchestrating-agents/config.yaml +0 -45
- package/skills/orchestrating-agents/references/agent-context-integration.md +0 -37
- package/skills/orchestrating-agents/references/examples.md +0 -45
- package/skills/orchestrating-agents/references/handover-protocol.md +0 -31
- package/skills/orchestrating-agents/references/workflows.md +0 -42
- package/skills/orchestrating-agents/scripts/detect_neighbors.py +0 -23
- package/skills/planning/SKILL.md +0 -405
- package/skills/planning/evals/evals.json +0 -19
- package/skills/prompt-improving/README.md +0 -162
- package/skills/prompt-improving/SKILL.md +0 -74
- package/skills/prompt-improving/references/analysis_commands.md +0 -24
- package/skills/prompt-improving/references/chain_of_thought.md +0 -24
- package/skills/prompt-improving/references/mcp_definitions.md +0 -20
- package/skills/prompt-improving/references/multishot.md +0 -23
- package/skills/prompt-improving/references/xml_core.md +0 -60
- package/skills/python-testing/SKILL.md +0 -815
- package/skills/scoping-service-skills/SKILL.md +0 -231
- package/skills/scoping-service-skills/scripts/scope.py +0 -74
- package/skills/senior-backend/SKILL.md +0 -209
- package/skills/senior-backend/references/api_design_patterns.md +0 -103
- package/skills/senior-backend/references/backend_security_practices.md +0 -103
- package/skills/senior-backend/references/database_optimization_guide.md +0 -103
- package/skills/senior-backend/scripts/api_load_tester.py +0 -114
- package/skills/senior-backend/scripts/api_scaffolder.py +0 -114
- package/skills/senior-backend/scripts/database_migration_tool.py +0 -114
- package/skills/senior-data-scientist/SKILL.md +0 -226
- package/skills/senior-data-scientist/references/experiment_design_frameworks.md +0 -80
- package/skills/senior-data-scientist/references/feature_engineering_patterns.md +0 -80
- package/skills/senior-data-scientist/references/statistical_methods_advanced.md +0 -80
- package/skills/senior-data-scientist/scripts/experiment_designer.py +0 -100
- package/skills/senior-data-scientist/scripts/feature_engineering_pipeline.py +0 -100
- package/skills/senior-data-scientist/scripts/model_evaluation_suite.py +0 -100
- package/skills/senior-devops/SKILL.md +0 -209
- package/skills/senior-devops/references/cicd_pipeline_guide.md +0 -103
- package/skills/senior-devops/references/deployment_strategies.md +0 -103
- package/skills/senior-devops/references/infrastructure_as_code.md +0 -103
- package/skills/senior-devops/scripts/deployment_manager.py +0 -114
- package/skills/senior-devops/scripts/pipeline_generator.py +0 -114
- package/skills/senior-devops/scripts/terraform_scaffolder.py +0 -114
- package/skills/senior-security/SKILL.md +0 -209
- package/skills/senior-security/references/cryptography_implementation.md +0 -103
- package/skills/senior-security/references/penetration_testing_guide.md +0 -103
- package/skills/senior-security/references/security_architecture_patterns.md +0 -103
- package/skills/senior-security/scripts/pentest_automator.py +0 -114
- package/skills/senior-security/scripts/security_auditor.py +0 -114
- package/skills/senior-security/scripts/threat_modeler.py +0 -114
- package/skills/skill-creator/LICENSE.txt +0 -202
- package/skills/skill-creator/SKILL.md +0 -479
- package/skills/skill-creator/agents/analyzer.md +0 -274
- package/skills/skill-creator/agents/comparator.md +0 -202
- package/skills/skill-creator/agents/grader.md +0 -223
- package/skills/skill-creator/assets/eval_review.html +0 -146
- package/skills/skill-creator/eval-viewer/generate_review.py +0 -471
- package/skills/skill-creator/eval-viewer/viewer.html +0 -1325
- package/skills/skill-creator/references/schemas.md +0 -430
- package/skills/skill-creator/scripts/__init__.py +0 -0
- package/skills/skill-creator/scripts/aggregate_benchmark.py +0 -401
- package/skills/skill-creator/scripts/generate_report.py +0 -326
- package/skills/skill-creator/scripts/improve_description.py +0 -248
- package/skills/skill-creator/scripts/package_skill.py +0 -136
- package/skills/skill-creator/scripts/quick_validate.py +0 -103
- package/skills/skill-creator/scripts/run_eval.py +0 -310
- package/skills/skill-creator/scripts/run_loop.py +0 -332
- package/skills/skill-creator/scripts/utils.py +0 -47
- package/skills/sync-docs/SKILL.md +0 -286
- package/skills/sync-docs/evals/evals.json +0 -89
- package/skills/sync-docs/references/doc-structure.md +0 -99
- package/skills/sync-docs/references/schema.md +0 -103
- package/skills/sync-docs/scripts/changelog/add_entry.py +0 -216
- package/skills/sync-docs/scripts/context_gatherer.py +0 -240
- package/skills/sync-docs/scripts/doc_structure_analyzer.py +0 -495
- package/skills/sync-docs/scripts/drift_detector.py +0 -563
- package/skills/sync-docs/scripts/validate_doc.py +0 -365
- package/skills/sync-docs/scripts/validate_metadata.py +0 -185
- package/skills/sync-docs-workspace/iteration-1/benchmark.json +0 -293
- package/skills/sync-docs-workspace/iteration-1/benchmark.md +0 -13
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/eval_metadata.json +0 -27
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/outputs/result.md +0 -210
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/run-1/grading.json +0 -28
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/run-1/timing.json +0 -1
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/outputs/result.md +0 -101
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/run-1/grading.json +0 -28
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/run-1/timing.json +0 -5
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/timing.json +0 -5
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/eval_metadata.json +0 -27
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/outputs/result.md +0 -198
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/run-1/grading.json +0 -28
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/run-1/timing.json +0 -1
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/outputs/result.md +0 -94
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/run-1/grading.json +0 -28
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/run-1/timing.json +0 -1
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/eval_metadata.json +0 -27
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/outputs/result.md +0 -237
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/run-1/grading.json +0 -28
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/run-1/timing.json +0 -1
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/outputs/result.md +0 -134
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/run-1/grading.json +0 -28
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/run-1/timing.json +0 -1
- package/skills/sync-docs-workspace/iteration-2/benchmark.json +0 -297
- package/skills/sync-docs-workspace/iteration-2/benchmark.md +0 -13
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/eval_metadata.json +0 -27
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/outputs/result.md +0 -137
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/run-1/grading.json +0 -92
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/run-1/timing.json +0 -1
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/outputs/result.md +0 -134
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/run-1/grading.json +0 -86
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/run-1/timing.json +0 -1
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/eval_metadata.json +0 -27
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/outputs/result.md +0 -193
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/run-1/grading.json +0 -72
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/run-1/timing.json +0 -1
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/outputs/result.md +0 -211
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/run-1/grading.json +0 -91
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/run-1/timing.json +0 -5
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/eval_metadata.json +0 -27
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/outputs/result.md +0 -182
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/run-1/grading.json +0 -95
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/run-1/timing.json +0 -1
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/outputs/result.md +0 -222
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/run-1/grading.json +0 -88
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/run-1/timing.json +0 -5
- package/skills/sync-docs-workspace/iteration-3/benchmark.json +0 -298
- package/skills/sync-docs-workspace/iteration-3/benchmark.md +0 -13
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/eval_metadata.json +0 -27
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/outputs/result.md +0 -125
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/run-1/grading.json +0 -97
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/run-1/timing.json +0 -5
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/outputs/result.md +0 -144
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/run-1/grading.json +0 -78
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/run-1/timing.json +0 -5
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/eval_metadata.json +0 -27
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/outputs/result.md +0 -104
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/run-1/grading.json +0 -91
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/run-1/timing.json +0 -5
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/outputs/result.md +0 -79
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/run-1/grading.json +0 -82
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/run-1/timing.json +0 -5
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/eval_metadata.json +0 -27
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase1_context.json +0 -302
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase2_drift.txt +0 -33
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase3_analysis.json +0 -114
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase4_fix.txt +0 -118
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase5_validate.txt +0 -38
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/result.md +0 -158
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/run-1/grading.json +0 -95
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/run-1/timing.json +0 -5
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/outputs/result.md +0 -71
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/run-1/grading.json +0 -90
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/run-1/timing.json +0 -5
- package/skills/test-planning/SKILL.md +0 -465
- package/skills/test-planning/evals/evals.json +0 -23
- package/skills/updating-service-skills/SKILL.md +0 -136
- package/skills/updating-service-skills/scripts/drift_detector.py +0 -222
- package/skills/using-quality-gates/SKILL.md +0 -254
- package/skills/using-serena-lsp/README.md +0 -8
- package/skills/using-serena-lsp/REFERENCE.md +0 -194
- package/skills/using-serena-lsp/SKILL.md +0 -82
- package/skills/using-service-skills/SKILL.md +0 -108
- package/skills/using-service-skills/scripts/cataloger.py +0 -74
- package/skills/using-service-skills/scripts/skill_activator.py +0 -152
- package/skills/using-service-skills/scripts/test_skill_activator.py +0 -58
- package/skills/using-tdd/SKILL.md +0 -410
- package/skills/using-xtrm/SKILL.md +0 -127
- package/skills/xt-debugging/SKILL.md +0 -149
- package/skills/xt-end/SKILL.md +0 -297
- package/skills/xt-merge/SKILL.md +0 -313
- /package/{config → .xtrm/config}/.env.example +0 -0
- /package/{config/mcp_servers_optional.json → .xtrm/config/claude.mcp.optional.json} +0 -0
- /package/{hooks → .xtrm/config}/hooks.json +0 -0
- /package/{config → .xtrm/config}/pi/auth.json.template +0 -0
- /package/{config → .xtrm/config}/pi/extensions/auto-session-name/index.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/auto-session-name/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/auto-update/index.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/auto-update/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/beads/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/compact-header/index.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/compact-header/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/core/adapter.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/core/guard-rules.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/core/lib.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/core/logger.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/core/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/core/runner.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/core/session-state.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/custom-footer/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/custom-provider-qwen-cli/index.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/custom-provider-qwen-cli/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/git-checkpoint/index.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/git-checkpoint/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/lsp-bootstrap/index.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/lsp-bootstrap/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/pi-serena-compact/index.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/pi-serena-compact/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/quality-gates/index.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/quality-gates/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/service-skills/index.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/service-skills/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/session-flow/index.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/session-flow/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/xtrm-loader/index.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/xtrm-loader/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/xtrm-ui/format.ts +0 -0
- /package/{config → .xtrm/config}/pi/extensions/xtrm-ui/package.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/xtrm-ui/themes/pidex-dark.json +0 -0
- /package/{config → .xtrm/config}/pi/extensions/xtrm-ui/themes/pidex-light.json +0 -0
- /package/{config → .xtrm/config}/pi/models.json.template +0 -0
- /package/{config → .xtrm/config}/pi/pi-worktrees-settings.json +0 -0
- /package/{config → .xtrm/config}/pi/settings.json.template +0 -0
- /package/{hooks → .xtrm/hooks}/beads-claim-sync.mjs +0 -0
- /package/{hooks → .xtrm/hooks}/beads-compact-restore.mjs +0 -0
- /package/{hooks → .xtrm/hooks}/beads-compact-save.mjs +0 -0
- /package/{hooks → .xtrm/hooks}/beads-edit-gate.mjs +0 -0
- /package/{hooks → .xtrm/hooks}/beads-gate-core.mjs +0 -0
- /package/{hooks → .xtrm/hooks}/beads-gate-messages.mjs +0 -0
- /package/{hooks → .xtrm/hooks}/beads-gate-utils.mjs +0 -0
- /package/{hooks → .xtrm/hooks}/beads-stop-gate.mjs +0 -0
- /package/{hooks → .xtrm/hooks}/gitnexus/gitnexus-hook.cjs +0 -0
- /package/{hooks → .xtrm/hooks}/quality-check.cjs +0 -0
- /package/{hooks → .xtrm/hooks}/quality-check.py +0 -0
- /package/{hooks → .xtrm/hooks}/worktree-boundary.mjs +0 -0
- /package/{hooks → .xtrm/hooks}/xtrm-logger.mjs +0 -0
- /package/{hooks → .xtrm/hooks}/xtrm-session-logger.mjs +0 -0
- /package/{hooks → .xtrm/hooks}/xtrm-tool-logger.mjs +0 -0
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# AgentContext Integration
|
|
2
|
-
|
|
3
|
-
To ensure the response from another agent is correctly ingested by the primary agent, use the `AgentContext` pattern.
|
|
4
|
-
|
|
5
|
-
## Using `AgentContext`
|
|
6
|
-
|
|
7
|
-
The `AgentContext` class (located in `hooks/agent_context.py`) provides a unified way to inject `additionalContext` into the agent's reasoning.
|
|
8
|
-
|
|
9
|
-
### Workflow
|
|
10
|
-
|
|
11
|
-
1. **Capture Output:** Run the target agent's command and capture stdout to a temporary file.
|
|
12
|
-
```bash
|
|
13
|
-
gemini -p "Analyze this code..." > agent_review.log
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
2. **Inject via Hook:** A hook script can then use `AgentContext` to read this log and provide it back to the primary agent.
|
|
17
|
-
|
|
18
|
-
### Python Example
|
|
19
|
-
|
|
20
|
-
```python
|
|
21
|
-
from hooks.agent_context import AgentContext
|
|
22
|
-
|
|
23
|
-
ctx = AgentContext()
|
|
24
|
-
with open("agent_review.log", "r") as f:
|
|
25
|
-
review_content = f.read()
|
|
26
|
-
|
|
27
|
-
ctx.allow(
|
|
28
|
-
system_message="Review from Gemini agent ingested.",
|
|
29
|
-
additional_context=f"The other agent provided the following review:
|
|
30
|
-
|
|
31
|
-
{review_content}"
|
|
32
|
-
)
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## Progressive Disclosure
|
|
36
|
-
|
|
37
|
-
Do not load this entire reference unless the agent is actively setting up a hook or needs detailed implementation specifics for `AgentContext`.
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# Handshake Examples
|
|
2
|
-
|
|
3
|
-
These examples demonstrate the correct syntax and flow for orchestrating handshakes between agents.
|
|
4
|
-
|
|
5
|
-
## Example 1: Code Review Handshake (Qwen)
|
|
6
|
-
|
|
7
|
-
**Phase 1: Initial Proposal**
|
|
8
|
-
```bash
|
|
9
|
-
qwen "Review the security of this session handling logic: $(cat lib/auth.js)" > review_proposal.txt
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
**Phase 2: Refinement (Handshake)**
|
|
13
|
-
```bash
|
|
14
|
-
qwen -c "The previous review mentioned a potential race condition. Can you provide a specific code fix for that?" > review_fix.txt
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Example 2: Architecture Discussion (Gemini)
|
|
18
|
-
|
|
19
|
-
**Phase 1: Initial Proposal**
|
|
20
|
-
```bash
|
|
21
|
-
gemini -p "Analyze the dependency graph for our new 'orchestrating-agents' skill." > arch_proposal.txt
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
**Phase 2: Refinement (Handshake)**
|
|
25
|
-
```bash
|
|
26
|
-
gemini --resume latest -p "Now, suggest how we could integrate this with the 'delegating' skill without creating a circular dependency." > arch_refinement.txt
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Example 3: Integration via AgentContext
|
|
30
|
-
|
|
31
|
-
**Ingestion Workflow**
|
|
32
|
-
```python
|
|
33
|
-
from hooks.agent_context import AgentContext
|
|
34
|
-
|
|
35
|
-
ctx = AgentContext()
|
|
36
|
-
with open("review_fix.txt", "r") as f:
|
|
37
|
-
content = f.read()
|
|
38
|
-
|
|
39
|
-
ctx.allow(
|
|
40
|
-
system_message="Qwen's suggested fix ingested.",
|
|
41
|
-
additional_context=f"Qwen provided this specific fix:
|
|
42
|
-
|
|
43
|
-
{content}"
|
|
44
|
-
)
|
|
45
|
-
```
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Handover Protocol
|
|
2
|
-
|
|
3
|
-
This protocol defines how to "hand off" a task to another agent for a second opinion or specialized review.
|
|
4
|
-
|
|
5
|
-
## Headless Execution
|
|
6
|
-
|
|
7
|
-
To interact with other agents without blocking the current session, use headless commands.
|
|
8
|
-
|
|
9
|
-
### Gemini
|
|
10
|
-
- **Initial Query:** `gemini -p "Your prompt here"`
|
|
11
|
-
- **Follow-up (Resume):** `gemini -r latest -p "Your follow-up here"`
|
|
12
|
-
- `-r latest` resumes the most recent session
|
|
13
|
-
- `-r 5` resumes session index 5 (use `gemini --list-sessions` to see available sessions)
|
|
14
|
-
|
|
15
|
-
### Qwen
|
|
16
|
-
- **Initial Query:** `qwen "Your prompt here"`
|
|
17
|
-
- **Follow-up (Continue):** `qwen -c "Your follow-up here"`
|
|
18
|
-
- **Note:** Qwen uses positional prompts. The `-c` flag automatically resumes the most recent session for the current project.
|
|
19
|
-
|
|
20
|
-
## Handshaking Strategies
|
|
21
|
-
|
|
22
|
-
### 1. Standard (2-Phase)
|
|
23
|
-
1. **Proposal**: Send initial context and question to the target agent.
|
|
24
|
-
2. **Refinement**: Use `-r latest` (Gemini) or `-c` (Qwen) to ask for specific corrections or clarifications.
|
|
25
|
-
|
|
26
|
-
### 2. Deep (Multi-Turn)
|
|
27
|
-
Used for "Design," "Bug Hunt," and "Troubleshoot" workflows.
|
|
28
|
-
1. **Agent A (Draft)**: Request an initial solution or hypothesis.
|
|
29
|
-
2. **Agent B (Audit)**: Pass Agent A's output to Agent B for critique.
|
|
30
|
-
3. **Agent A (Iterate)**: Resume Agent A's session with Agent B's critique using `-r latest` or `-c`.
|
|
31
|
-
4. **Final Synthesis**: Ingest the final result using `AgentContext`.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Multi-Turn Orchestration Workflows
|
|
2
|
-
|
|
3
|
-
These workflows define deep, multi-turn interactions between agents for complex scenarios.
|
|
4
|
-
|
|
5
|
-
## 1. Collaborative Design (`collaborative-design`)
|
|
6
|
-
**Scenario**: Building a new feature or architecting a component.
|
|
7
|
-
|
|
8
|
-
| Turn | Agent | Action |
|
|
9
|
-
| :--- | :--- | :--- |
|
|
10
|
-
| **1** | **Primary** | Send requirements and initial constraints to Agent A. |
|
|
11
|
-
| **2** | **Agent A** | Propose a high-level design. |
|
|
12
|
-
| **3** | **Primary** | Pipe Agent A's proposal to Agent B. |
|
|
13
|
-
| **4** | **Agent B** | Critique the design for edge cases and complexity. |
|
|
14
|
-
| **5** | **Primary** | Return Agent B's critique to Agent A via `-r latest` (Gemini) or `-c` (Qwen). |
|
|
15
|
-
| **6** | **Agent A** | Refine the design to address critiques. |
|
|
16
|
-
|
|
17
|
-
## 2. Adversarial Review (`adversarial-review`)
|
|
18
|
-
**Scenario**: Security audits, "red teaming," or finding hidden flaws.
|
|
19
|
-
|
|
20
|
-
| Turn | Agent | Action |
|
|
21
|
-
| :--- | :--- | :--- |
|
|
22
|
-
| **1** | **Primary** | Send the code/logic to Agent A for a "safe" review. |
|
|
23
|
-
| **2** | **Agent B** | Act as a "Skeptic/Attacker": "Find 3 ways to break this logic." |
|
|
24
|
-
| **3** | **Primary** | Pipe "attacks" to Agent A via `-r latest` (Gemini) or `-c` (Qwen). |
|
|
25
|
-
| **4** | **Agent A** | Defend the logic or provide patches for the identified flaws. |
|
|
26
|
-
|
|
27
|
-
## 3. Troubleshoot Session (`troubleshoot-session`)
|
|
28
|
-
**Scenario**: "Getting out of trouble," emergency production errors, or ghost bugs.
|
|
29
|
-
|
|
30
|
-
| Turn | Agent | Action |
|
|
31
|
-
| :--- | :--- | :--- |
|
|
32
|
-
| **1** | **Primary** | Provide symptoms to Agent A and ask for 3 hypotheses. |
|
|
33
|
-
| **2** | **Agent A** | Propose hypotheses and verification steps. |
|
|
34
|
-
| **3** | **Primary** | Ask Agent B to verify Hypothesis #1 using current logs/code. |
|
|
35
|
-
| **4** | **Agent B** | Provide verification result (Confirmed/Refuted). |
|
|
36
|
-
| **5** | **Primary** | Update Agent A with the findings and ask for the final root cause. |
|
|
37
|
-
|
|
38
|
-
## Automatic Triggering
|
|
39
|
-
The primary agent should suggest these workflows when:
|
|
40
|
-
- **Complexity is high**: Changes affecting >3 files or core infrastructure.
|
|
41
|
-
- **Risk is high**: Security, authentication, or payment logic.
|
|
42
|
-
- **Agent is "stuck"**: When a single-agent approach fails to find a bug.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
import shutil
|
|
3
|
-
import json
|
|
4
|
-
import sys
|
|
5
|
-
|
|
6
|
-
def check_command(cmd):
|
|
7
|
-
return shutil.which(cmd) is not None
|
|
8
|
-
|
|
9
|
-
def main():
|
|
10
|
-
agents = ["gemini", "qwen"]
|
|
11
|
-
found = {agent: check_command(agent) for agent in agents}
|
|
12
|
-
|
|
13
|
-
if any(found.values()):
|
|
14
|
-
print("Available Agents:")
|
|
15
|
-
for agent, is_available in found.items():
|
|
16
|
-
status = "AVAILABLE" if is_available else "NOT FOUND"
|
|
17
|
-
print(f"- {agent}: {status}")
|
|
18
|
-
else:
|
|
19
|
-
print("No neighboring agents (gemini, qwen) found in PATH.")
|
|
20
|
-
sys.exit(1)
|
|
21
|
-
|
|
22
|
-
if __name__ == "__main__":
|
|
23
|
-
main()
|
package/skills/planning/SKILL.md
DELETED
|
@@ -1,405 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: planning
|
|
3
|
-
description: >
|
|
4
|
-
Structured planning skill for xtrm ecosystem projects. Creates a well-documented
|
|
5
|
-
bd issue board from any task, feature, spec, or idea — with phases, dependencies,
|
|
6
|
-
rich descriptions, and integrated test coverage via test-planning. MUST activate
|
|
7
|
-
whenever the user wants to "plan", "design", "architect", "break down", "structure",
|
|
8
|
-
"scope out", or "start" a feature or epic. Also activate when: the user describes
|
|
9
|
-
a complex task without existing issues, pastes a spec or PRD to decompose, asks
|
|
10
|
-
"how should I approach X" or "where do I start", mentions wanting to create
|
|
11
|
-
implementation issues, or starts a new worktree session without a claimed issue.
|
|
12
|
-
Activate even when the user says something like "I want to implement X" — if there's
|
|
13
|
-
no existing issue board for X, planning comes first. Never skip planning when a
|
|
14
|
-
task spans more than 2 files or 3 steps — that's when a structured board saves hours.
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
# Planning
|
|
18
|
-
|
|
19
|
-
Transform intent into a bd issue board: each issue self-contained, documented
|
|
20
|
-
enough for any agent or human to work independently.
|
|
21
|
-
|
|
22
|
-
## When This Fires
|
|
23
|
-
|
|
24
|
-
- `plan`, `design`, `architect`, `scope out`, `break down`, `how should I approach`
|
|
25
|
-
- Starting a new feature/epic from scratch
|
|
26
|
-
- Decomposing a spec, PRD, or long description into tasks
|
|
27
|
-
- Reviewing existing issues that lack documentation or structure
|
|
28
|
-
- Before `bd update --claim` — plan first, then claim
|
|
29
|
-
|
|
30
|
-
---
|
|
31
|
-
|
|
32
|
-
## Workflow
|
|
33
|
-
|
|
34
|
-
```
|
|
35
|
-
Phase 1 Clarify intent → understand what, why, constraints
|
|
36
|
-
Phase 2 Explore codebase → GitNexus + Serena, read-only
|
|
37
|
-
Phase 3 Structure the plan → phases, deps, CoT reasoning
|
|
38
|
-
Phase 4 Create bd issues → epic + tasks, rich descriptions
|
|
39
|
-
Phase 5 test-planning → companion test issues per layer
|
|
40
|
-
Phase 6 Handoff → claim first issue, ready to build
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
## Phase 1 — Clarify Intent
|
|
46
|
-
|
|
47
|
-
Before touching any code, nail down:
|
|
48
|
-
|
|
49
|
-
<clarification_checklist>
|
|
50
|
-
<item>What is being built? (feature, fix, refactor, migration)</item>
|
|
51
|
-
<item>Why — what problem does it solve?</item>
|
|
52
|
-
<item>Constraints (must not break X, must use pattern Y, deadline)</item>
|
|
53
|
-
<item>Known unknowns — what needs investigation?</item>
|
|
54
|
-
<item>Priority (P0 critical → P4 backlog)</item>
|
|
55
|
-
</clarification_checklist>
|
|
56
|
-
|
|
57
|
-
If the request is under 8 words or the scope is unclear, ask **one** clarifying question before exploring. Don't ask two.
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
## Phase 2 — Explore Codebase (Read-Only)
|
|
62
|
-
|
|
63
|
-
Use GitNexus and Serena to understand the landscape. No file edits.
|
|
64
|
-
|
|
65
|
-
### GitNexus-first protocol (mandatory when available)
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
# 1) Find relevant execution flows by concept
|
|
69
|
-
gitnexus_query({query: "<concept related to task>"})
|
|
70
|
-
|
|
71
|
-
# 2) Get full caller/callee/process context for likely symbols
|
|
72
|
-
gitnexus_context({name: "<affected symbol>"})
|
|
73
|
-
|
|
74
|
-
# 3) Assess blast radius before locking the implementation plan
|
|
75
|
-
gitnexus_impact({target: "<symbol to change>", direction: "upstream"})
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
### Refactor planning checks (when rename/extract/move is in scope)
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
# Preview safe multi-file rename plan first
|
|
82
|
-
gitnexus_rename({symbol_name: "<old>", new_name: "<new>", dry_run: true})
|
|
83
|
-
|
|
84
|
-
# Confirm context before extraction/split plans
|
|
85
|
-
gitnexus_context({name: "<symbol to extract/split>"})
|
|
86
|
-
gitnexus_impact({target: "<symbol to extract/split>", direction: "upstream"})
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
### Serena symbol-level inspection (targeted reads)
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
# Map a file without reading all of it
|
|
93
|
-
get_symbols_overview("path/to/relevant/file.ts")
|
|
94
|
-
|
|
95
|
-
# Read just the relevant function
|
|
96
|
-
find_symbol("SymbolName", include_body=true)
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### Fallback when GitNexus MCP tools are unavailable
|
|
100
|
-
|
|
101
|
-
If MCP GitNexus tools are unavailable, use the GitNexus CLI first, then Serena symbol exploration if needed.
|
|
102
|
-
|
|
103
|
-
```bash
|
|
104
|
-
# Verify index freshness / repository indexing
|
|
105
|
-
npx gitnexus status
|
|
106
|
-
npx gitnexus list
|
|
107
|
-
|
|
108
|
-
# Concept and architecture exploration
|
|
109
|
-
npx gitnexus query "<concept or symptom>" --limit 5
|
|
110
|
-
npx gitnexus context "<symbolName>"
|
|
111
|
-
|
|
112
|
-
# Blast radius before committing to a plan
|
|
113
|
-
npx gitnexus impact "<symbolName>" --direction upstream --depth 3
|
|
114
|
-
|
|
115
|
-
# If index is stale
|
|
116
|
-
npx gitnexus analyze
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
Notes:
|
|
120
|
-
- In this environment, `detect_changes` and `rename` are available via MCP tools, not GitNexus CLI subcommands.
|
|
121
|
-
- If both MCP and CLI are unavailable, fall back to Serena search + symbols and state this explicitly in your plan output.
|
|
122
|
-
|
|
123
|
-
```bash
|
|
124
|
-
search_for_pattern("<concept or symbol>")
|
|
125
|
-
get_symbols_overview("path/to/relevant/file.ts")
|
|
126
|
-
find_symbol("<candidate symbol>", include_body=true)
|
|
127
|
-
find_referencing_symbols("<symbol>", "path/to/file.ts")
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
**Capture from exploration:**
|
|
131
|
-
- Which files/symbols will be affected
|
|
132
|
-
- Which execution flows/processes are involved (from `gitnexus_query`/`gitnexus_context`)
|
|
133
|
-
- What existing patterns to follow (naming, structure, error handling)
|
|
134
|
-
- Any d=1 dependents that require updates when you change a symbol
|
|
135
|
-
- Risk level from impact analysis: if CRITICAL or HIGH → warn user before proceeding
|
|
136
|
-
- If GitNexus fallback path was used, explicitly call it out in the handoff
|
|
137
|
-
|
|
138
|
-
---
|
|
139
|
-
|
|
140
|
-
## Phase 3 — Structure the Plan
|
|
141
|
-
|
|
142
|
-
Think through the plan before writing any bd commands. Use structured CoT:
|
|
143
|
-
|
|
144
|
-
<thinking>
|
|
145
|
-
1. What are the distinct units of work? (group by: what can change together without breaking other things)
|
|
146
|
-
2. What phases make sense?
|
|
147
|
-
- P0: Scaffold (types, interfaces, file structure) — others depend on this
|
|
148
|
-
- P1: Core (pure logic, no I/O) — depends on scaffold
|
|
149
|
-
- P2: Boundary/Integration (HTTP, DB, CLI wiring) — depends on core
|
|
150
|
-
- P3: Tests — companion issues, see Phase 5
|
|
151
|
-
3. What are the dependencies? (what must be done before X can start?)
|
|
152
|
-
4. What can run in parallel? (independent tasks → no deps between them)
|
|
153
|
-
5. What are the risks? (complex areas, unclear spec, risky refactors)
|
|
154
|
-
6. What is the blast-radius summary from GitNexus? (direct callers, affected processes, risk level)
|
|
155
|
-
</thinking>
|
|
156
|
-
|
|
157
|
-
<plan>
|
|
158
|
-
<phase name="P0: Scaffold" issues="N">
|
|
159
|
-
Setup that unblocks all other work
|
|
160
|
-
</phase>
|
|
161
|
-
<phase name="P1: Core" issues="N">
|
|
162
|
-
Pure logic, data transforms, parsers
|
|
163
|
-
</phase>
|
|
164
|
-
<phase name="P2: Integration" issues="N">
|
|
165
|
-
CLI wiring, API clients, I/O
|
|
166
|
-
</phase>
|
|
167
|
-
</plan>
|
|
168
|
-
|
|
169
|
-
**Sizing guidance:**
|
|
170
|
-
- Prefer tasks completable in one session (1-4 hours of focused work)
|
|
171
|
-
- If a task has 5+ unrelated deliverables → split it
|
|
172
|
-
- If two tasks always ship together → merge them
|
|
173
|
-
|
|
174
|
-
---
|
|
175
|
-
|
|
176
|
-
## Phase 4 — Create bd Issues
|
|
177
|
-
|
|
178
|
-
### Determine epic scope
|
|
179
|
-
|
|
180
|
-
If the work fits under an **existing open epic** (`bd ready` to check), create tasks
|
|
181
|
-
under it with `--parent=<existing-epic-id>` and skip creating a new epic.
|
|
182
|
-
|
|
183
|
-
If this is genuinely new work with no parent, create the epic first.
|
|
184
|
-
|
|
185
|
-
### Create the epic (new work only)
|
|
186
|
-
|
|
187
|
-
```bash
|
|
188
|
-
bd create \
|
|
189
|
-
--title="<Feature name — concise verb phrase>" \
|
|
190
|
-
--description="$(cat <<'EOF'
|
|
191
|
-
## Overview
|
|
192
|
-
|
|
193
|
-
<2-3 sentences: what this is and why it exists>
|
|
194
|
-
|
|
195
|
-
## Goals
|
|
196
|
-
|
|
197
|
-
- Goal 1: measurable outcome
|
|
198
|
-
- Goal 2: measurable outcome
|
|
199
|
-
|
|
200
|
-
## Non-goals
|
|
201
|
-
|
|
202
|
-
- What we are explicitly NOT doing
|
|
203
|
-
|
|
204
|
-
## Success criteria
|
|
205
|
-
|
|
206
|
-
- [ ] Criteria 1 (observable, testable)
|
|
207
|
-
- [ ] Criteria 2
|
|
208
|
-
|
|
209
|
-
## Context / background
|
|
210
|
-
|
|
211
|
-
<Links to specs, related issues, existing code paths>
|
|
212
|
-
EOF
|
|
213
|
-
)" \
|
|
214
|
-
--type=epic \
|
|
215
|
-
--priority=<0-4>
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
### Create child task issues
|
|
219
|
-
|
|
220
|
-
```bash
|
|
221
|
-
bd create \
|
|
222
|
-
--title="<Action phrase — what gets built>" \
|
|
223
|
-
--description="$(cat <<'EOF'
|
|
224
|
-
## Context
|
|
225
|
-
|
|
226
|
-
<Why does this task exist? What does it enable? What comes before/after?>
|
|
227
|
-
|
|
228
|
-
## What to build
|
|
229
|
-
|
|
230
|
-
<Specific deliverables. Not "implement X" — "X that does Y when Z">
|
|
231
|
-
|
|
232
|
-
## Acceptance criteria
|
|
233
|
-
|
|
234
|
-
- [ ] Criterion 1
|
|
235
|
-
- [ ] Criterion 2
|
|
236
|
-
- [ ] Tests pass / lint clean
|
|
237
|
-
|
|
238
|
-
## Approach notes
|
|
239
|
-
|
|
240
|
-
<Relevant code paths (file:line), patterns to follow, discovered risks>
|
|
241
|
-
EOF
|
|
242
|
-
)" \
|
|
243
|
-
--type=task \
|
|
244
|
-
--priority=<same or +1 from epic> \
|
|
245
|
-
--parent=<epic-id>
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
### Wire dependencies
|
|
249
|
-
|
|
250
|
-
```bash
|
|
251
|
-
# B depends on A (A blocks B)
|
|
252
|
-
bd dep add <B-id> <A-id>
|
|
253
|
-
|
|
254
|
-
# Non-blocking relationship
|
|
255
|
-
bd dep relate <issue-a> <issue-b>
|
|
256
|
-
```
|
|
257
|
-
|
|
258
|
-
### Issue description quality bar
|
|
259
|
-
|
|
260
|
-
Every task issue description must answer:
|
|
261
|
-
1. **Why** — why does this exist? (not obvious from the title)
|
|
262
|
-
2. **What** — specific deliverables (not vague)
|
|
263
|
-
3. **When done** — acceptance criteria as checkboxes
|
|
264
|
-
4. **How** — approach hints, relevant code paths, patterns to follow
|
|
265
|
-
|
|
266
|
-
If you can't fill in all four, the scope is still unclear — go back to Phase 1.
|
|
267
|
-
|
|
268
|
-
---
|
|
269
|
-
|
|
270
|
-
## Phase 5 — Test Planning Integration
|
|
271
|
-
|
|
272
|
-
After the implementation issues are created, invoke **test-planning**:
|
|
273
|
-
|
|
274
|
-
```
|
|
275
|
-
/test-planning
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
test-planning will:
|
|
279
|
-
1. Classify each implementation issue by layer (core / boundary / shell)
|
|
280
|
-
2. Pick the right testing strategy per layer
|
|
281
|
-
3. Create companion test issues batched by layer and phase
|
|
282
|
-
4. Gate next-phase issues on test completion
|
|
283
|
-
|
|
284
|
-
**When to call it:**
|
|
285
|
-
- Always after creating an epic with 3+ implementation tasks
|
|
286
|
-
- When closing an implementation issue (test-planning checks for gaps)
|
|
287
|
-
- When you realize tests weren't planned upfront
|
|
288
|
-
|
|
289
|
-
**Layer signals to include in your issue descriptions** (helps test-planning classify correctly):
|
|
290
|
-
- Core layer: "transforms", "computes", "parses", "validates", no HTTP/DB/filesystem
|
|
291
|
-
- Boundary layer: "API", "endpoint", "client", "query", "fetch", URLs, ports
|
|
292
|
-
- Shell layer: "CLI command", "subcommand", "orchestrates", "wires together"
|
|
293
|
-
|
|
294
|
-
---
|
|
295
|
-
|
|
296
|
-
## Phase 6 — Handoff
|
|
297
|
-
|
|
298
|
-
Present the board and transition to implementation.
|
|
299
|
-
|
|
300
|
-
Include a short **Architecture & Impact Summary** in your handoff message:
|
|
301
|
-
- Key execution flows/processes involved
|
|
302
|
-
- Top d=1 dependents to watch
|
|
303
|
-
- Highest observed risk (LOW/MEDIUM/HIGH/CRITICAL)
|
|
304
|
-
- Whether GitNexus-first or fallback exploration was used
|
|
305
|
-
|
|
306
|
-
```bash
|
|
307
|
-
# Show the full board
|
|
308
|
-
bd show <epic-id>
|
|
309
|
-
|
|
310
|
-
# Claim the first implementation issue
|
|
311
|
-
bd update <first-task-id> --claim
|
|
312
|
-
```
|
|
313
|
-
|
|
314
|
-
Then begin work on the first task. The planning phase is complete.
|
|
315
|
-
|
|
316
|
-
---
|
|
317
|
-
|
|
318
|
-
## Examples
|
|
319
|
-
|
|
320
|
-
### Example 1 — New CLI command
|
|
321
|
-
|
|
322
|
-
<example>
|
|
323
|
-
<scenario>User: "add a `xtrm audit` command that checks for stale hooks"</scenario>
|
|
324
|
-
|
|
325
|
-
<exploration>
|
|
326
|
-
gitnexus_query({query: "hook wiring audit clean"})
|
|
327
|
-
→ finds: cleanOrphanedHookEntries, pruneStaleWrappers in clean.ts
|
|
328
|
-
gitnexus_impact({target: "cleanOrphanedHookEntries", direction: "upstream"})
|
|
329
|
-
→ 2 callers, LOW risk
|
|
330
|
-
</exploration>
|
|
331
|
-
|
|
332
|
-
<plan>
|
|
333
|
-
Phase 1: Add audit command skeleton (new file, register in index.ts)
|
|
334
|
-
Phase 2: Implement hook validation logic (read config/hooks.json, compare installed)
|
|
335
|
-
Phase 3: Add --fix flag to auto-remediate drift
|
|
336
|
-
Phase 4: Tests — CLI integration test (shell layer)
|
|
337
|
-
</plan>
|
|
338
|
-
|
|
339
|
-
<bd_commands>
|
|
340
|
-
bd create --title="xtrm audit: detect and report stale hook wiring" --type=epic
|
|
341
|
-
bd create --title="Scaffold xtrm audit command" --description="Context: ..." --type=task
|
|
342
|
-
bd create --title="Implement hook validation — compare config/hooks.json to settings.json" ...
|
|
343
|
-
bd create --title="Add --fix flag for auto-remediation" ...
|
|
344
|
-
bd dep add <wiring-id> <scaffold-id> # wiring depends on scaffold
|
|
345
|
-
bd dep add <fix-id> <wiring-id> # fix depends on wiring
|
|
346
|
-
</bd_commands>
|
|
347
|
-
</example>
|
|
348
|
-
|
|
349
|
-
### Example 2 — Bug fix with investigation
|
|
350
|
-
|
|
351
|
-
<example>
|
|
352
|
-
<scenario>User: "bd close doesn't commit my changes"</scenario>
|
|
353
|
-
|
|
354
|
-
<exploration>
|
|
355
|
-
gitnexus_query({query: "bd close commit workflow"})
|
|
356
|
-
→ finds: beads-claim-sync.mjs, close event handler
|
|
357
|
-
find_symbol("main", include_body=true)
|
|
358
|
-
→ discovers: bd close sets closed-this-session KV only; no git commit
|
|
359
|
-
</exploration>
|
|
360
|
-
|
|
361
|
-
<thinking>
|
|
362
|
-
bd close does NOT auto-commit (removed in xtrm-wr0o).
|
|
363
|
-
Correct workflow: bd close <id>, then git add + git commit separately, then xt end.
|
|
364
|
-
No issue needed — this is expected behavior.
|
|
365
|
-
</thinking>
|
|
366
|
-
|
|
367
|
-
<bd_command>
|
|
368
|
-
# No issue needed — explain the correct workflow to the user:
|
|
369
|
-
# 1. bd close <id> --reason="..." ← closes issue
|
|
370
|
-
# 2. git add . && git commit -m "..." ← commit changes manually
|
|
371
|
-
# 3. xt end ← push, PR, merge, worktree cleanup
|
|
372
|
-
</bd_command>
|
|
373
|
-
</example>
|
|
374
|
-
|
|
375
|
-
### Example 3 — Greenfield feature from spec
|
|
376
|
-
|
|
377
|
-
<example>
|
|
378
|
-
<scenario>User provides a 3-paragraph spec for a new xtrm status command</scenario>
|
|
379
|
-
|
|
380
|
-
<approach>
|
|
381
|
-
Phase 0: Define TypeScript interfaces (StatusReport, HealthCheck)
|
|
382
|
-
Phase 1: Implement each health check function (hooks, settings, bd, mcp)
|
|
383
|
-
Phase 2: Implement CLI command, output formatting, --json flag
|
|
384
|
-
Phase 3: Tests — unit for each check fn (core), integration for CLI (shell)
|
|
385
|
-
|
|
386
|
-
Create epic first, then 4 implementation tasks, then call /test-planning.
|
|
387
|
-
</approach>
|
|
388
|
-
</example>
|
|
389
|
-
|
|
390
|
-
---
|
|
391
|
-
|
|
392
|
-
## Self-Check Before Finishing
|
|
393
|
-
|
|
394
|
-
Before presenting the plan to the user:
|
|
395
|
-
|
|
396
|
-
- [ ] Every issue has context / what / AC / notes
|
|
397
|
-
- [ ] Dependencies are correct (A blocks B when B needs A's output)
|
|
398
|
-
- [ ] No task is more than "one session" of work (split if needed)
|
|
399
|
-
- [ ] GitNexus evidence captured (query/context/impact) or fallback path explicitly stated
|
|
400
|
-
- [ ] If refactor scope exists, rename/extract safety checks were included in plan
|
|
401
|
-
- [ ] test-planning was invoked (or scheduled as next step)
|
|
402
|
-
- [ ] First implementation issue is ready to claim
|
|
403
|
-
|
|
404
|
-
If any issue description is empty or just restates the title — it's not ready.
|
|
405
|
-
The test of a good issue: could another agent pick it up cold and succeed?
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"skill_name": "planning",
|
|
3
|
-
"evals": [
|
|
4
|
-
{
|
|
5
|
-
"id": 1,
|
|
6
|
-
"eval_name": "docs-list-command",
|
|
7
|
-
"prompt": "Plan the implementation of the `xtrm docs list` command (xtrm-vwp0). The command should list all project docs with metadata, support filtering, table output, and JSON mode. It needs to be a subcommand of the existing `xtrm docs` CLI group in cli/src/. There's already a partially-implemented docs.ts somewhere. Break this into a proper phased issue board.",
|
|
8
|
-
"expected_output": "An epic with phased child tasks (scaffold/core/integration), each with rich descriptions containing context, what to build, AC, and approach notes. test-planning invoked after issue board created. Dependencies wired between phases.",
|
|
9
|
-
"files": []
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"id": 2,
|
|
13
|
-
"eval_name": "docs-crosscheck-command",
|
|
14
|
-
"prompt": "Plan the implementation of the `xtrm docs cross-check` command (xtrm-uc0e). This validates docs against PRs and bd issues — detects stale docs, coverage gaps, open issue references. Uses gh CLI for GitHub data. Needs to be a subcommand of `xtrm docs`. Break this into a well-structured bd issue board with proper phasing.",
|
|
15
|
-
"expected_output": "An epic with phased child tasks covering: GitHub data fetching (boundary layer), cross-check logic (core layer), CLI command wiring (shell layer). test-planning invoked. High-quality issue descriptions that another agent could work from independently.",
|
|
16
|
-
"files": []
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|