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,194 +0,0 @@
|
|
|
1
|
-
# Serena Tool Reference
|
|
2
|
-
|
|
3
|
-
Detailed documentation for Serena MCP semantic tools.
|
|
4
|
-
|
|
5
|
-
## Contents
|
|
6
|
-
- [1. Exploration & Navigation](#1-exploration--navigation-tools)
|
|
7
|
-
- [2. Editing Tools](#2-editing-tools)
|
|
8
|
-
- [3. Memory Management](#3-memory-management-tools)
|
|
9
|
-
- [4. Meta & Thinking](#4-meta--thinking-tools)
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## 1. Exploration & Navigation Tools
|
|
14
|
-
|
|
15
|
-
### `list_dir`
|
|
16
|
-
List files and directories with optional recursion.
|
|
17
|
-
```python
|
|
18
|
-
mcp__serena__list_dir(
|
|
19
|
-
relative_path=".", # or "src/analysis"
|
|
20
|
-
recursive=true,
|
|
21
|
-
skip_ignored_files=true
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
### `find_file`
|
|
26
|
-
Find files by name pattern (wildcards supported).
|
|
27
|
-
```python
|
|
28
|
-
mcp__serena__find_file(
|
|
29
|
-
file_mask="*volatility*.py",
|
|
30
|
-
relative_path="scripts"
|
|
31
|
-
)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### `get_symbols_overview`
|
|
35
|
-
Get high-level code structure (symbol tree) without reading the file body.
|
|
36
|
-
```python
|
|
37
|
-
mcp__serena__get_symbols_overview(
|
|
38
|
-
relative_path="scripts/core/analytics.py",
|
|
39
|
-
depth=1 # 0=top-level, 1=include children (methods)
|
|
40
|
-
)
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### `find_symbol`
|
|
44
|
-
Locate specific symbols (functions, classes, methods) semantically.
|
|
45
|
-
```python
|
|
46
|
-
mcp__serena__find_symbol(
|
|
47
|
-
name_path_pattern="VolatilityCalculator/analyze_rv_trend",
|
|
48
|
-
relative_path="scripts/core/volatility_suite.py",
|
|
49
|
-
depth=1,
|
|
50
|
-
include_body=true, # Set true only when needing source code
|
|
51
|
-
substring_matching=true,
|
|
52
|
-
include_kinds=[5, 6, 12] # 5=Class, 6=Method, 12=Function
|
|
53
|
-
)
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
**LSP Symbol Kinds Reference**:
|
|
57
|
-
```
|
|
58
|
-
1=file, 2=module, 3=namespace, 4=package, 5=class, 6=method,
|
|
59
|
-
7=property, 8=field, 9=constructor, 10=enum, 11=interface,
|
|
60
|
-
12=function, 13=variable, 14=constant, 15=string, 16=number,
|
|
61
|
-
17=boolean, 18=array, 19=object, 20=key, 21=null,
|
|
62
|
-
22=enum member, 23=struct, 24=event, 25=operator, 26=type parameter
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### `find_referencing_symbols`
|
|
66
|
-
Find all places that reference a symbol. Essential before editing.
|
|
67
|
-
```python
|
|
68
|
-
mcp__serena__find_referencing_symbols(
|
|
69
|
-
name_path="calculate_volatility",
|
|
70
|
-
relative_path="scripts/core/analytics.py"
|
|
71
|
-
)
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### `search_for_pattern`
|
|
75
|
-
Flexible regex/substring search in code.
|
|
76
|
-
```python
|
|
77
|
-
mcp__serena__search_for_pattern(
|
|
78
|
-
substring_pattern="def.*volatility", # Regex (DOTALL enabled)
|
|
79
|
-
relative_path="scripts/core",
|
|
80
|
-
restrict_search_to_code_files=true,
|
|
81
|
-
context_lines_before=2,
|
|
82
|
-
context_lines_after=2
|
|
83
|
-
)
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
---
|
|
87
|
-
|
|
88
|
-
## 2. Editing Tools
|
|
89
|
-
|
|
90
|
-
### `replace_symbol_body`
|
|
91
|
-
Replace entire symbol definition atomically.
|
|
92
|
-
```python
|
|
93
|
-
mcp__serena__replace_symbol_body(
|
|
94
|
-
name_path="get_db_engine",
|
|
95
|
-
relative_path="scripts/core/volatility_suite.py",
|
|
96
|
-
body="def get_db_engine(): ..."
|
|
97
|
-
)
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### `insert_after_symbol`
|
|
101
|
-
Insert code after a symbol's definition ends.
|
|
102
|
-
```python
|
|
103
|
-
mcp__serena__insert_after_symbol(
|
|
104
|
-
name_path="VolatilityCalculator",
|
|
105
|
-
relative_path="scripts/core/analytics.py",
|
|
106
|
-
body="
|
|
107
|
-
|
|
108
|
-
class RiskCalculator: ..."
|
|
109
|
-
)
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
### `insert_before_symbol`
|
|
113
|
-
Insert code before a symbol's definition starts (e.g., imports).
|
|
114
|
-
```python
|
|
115
|
-
mcp__serena__insert_before_symbol(
|
|
116
|
-
name_path="VolatilityCalculator",
|
|
117
|
-
relative_path="scripts/core/analytics.py",
|
|
118
|
-
body="from typing import Protocol
|
|
119
|
-
|
|
120
|
-
"
|
|
121
|
-
)
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
### `rename_symbol`
|
|
125
|
-
Rename symbol across entire codebase using LSP.
|
|
126
|
-
```python
|
|
127
|
-
mcp__serena__rename_symbol(
|
|
128
|
-
name_path="calculate_volatility",
|
|
129
|
-
relative_path="scripts/core/analytics.py",
|
|
130
|
-
new_name="compute_volatility"
|
|
131
|
-
)
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
---
|
|
135
|
-
|
|
136
|
-
## 3. Memory Management Tools
|
|
137
|
-
|
|
138
|
-
### `write_memory`
|
|
139
|
-
Store project decisions, patterns, architecture notes.
|
|
140
|
-
```python
|
|
141
|
-
mcp__serena__write_memory(
|
|
142
|
-
memory_file_name="architecture_decision_auth",
|
|
143
|
-
content="# Auth Pattern
|
|
144
|
-
..."
|
|
145
|
-
)
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
### `read_memory`
|
|
149
|
-
Retrieve stored project knowledge.
|
|
150
|
-
```python
|
|
151
|
-
mcp__serena__read_memory(memory_file_name="architecture_decision_auth")
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
### `list_memories`
|
|
155
|
-
Discover available project knowledge.
|
|
156
|
-
```python
|
|
157
|
-
mcp__serena__list_memories()
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
### `edit_memory`
|
|
161
|
-
Update existing memory files.
|
|
162
|
-
```python
|
|
163
|
-
mcp__serena__edit_memory(
|
|
164
|
-
memory_file_name="architecture_decision_auth",
|
|
165
|
-
mode="regex",
|
|
166
|
-
needle="Old",
|
|
167
|
-
repl="New"
|
|
168
|
-
)
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### `delete_memory`
|
|
172
|
-
Remove obsolete memory files.
|
|
173
|
-
```python
|
|
174
|
-
mcp__serena__delete_memory(memory_file_name="deprecated_pattern")
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
---
|
|
178
|
-
|
|
179
|
-
## 4. Meta & Thinking Tools
|
|
180
|
-
|
|
181
|
-
### `check_onboarding_performed`
|
|
182
|
-
Check if project onboarding was completed.
|
|
183
|
-
|
|
184
|
-
### `onboarding`
|
|
185
|
-
Get instructions for project onboarding.
|
|
186
|
-
|
|
187
|
-
### `think_about_collected_information`
|
|
188
|
-
Reflect after exploration/search operations.
|
|
189
|
-
|
|
190
|
-
### `think_about_task_adherence`
|
|
191
|
-
Verify you're still on track for the task.
|
|
192
|
-
|
|
193
|
-
### `think_about_whether_you_are_done`
|
|
194
|
-
Assess task completion.
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: using-serena-lsp
|
|
3
|
-
description: Explores and edits code using semantic tools and LSP plugins. Use when reading code, understanding structure, finding symbols, or performing surgical edits to functions and classes.
|
|
4
|
-
allowed-tools: mcp__serena__*, Read, Edit, Bash
|
|
5
|
-
priority: high
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Using Serena LSP Workflow
|
|
9
|
-
|
|
10
|
-
**Core Principle**: Use semantic, symbol-level access to understand and edit code without reading entire files. Combine with LSP plugins for real-time analysis.
|
|
11
|
-
|
|
12
|
-
## Tools Reference
|
|
13
|
-
|
|
14
|
-
**Full Tool Documentation**: See [REFERENCE.md](REFERENCE.md)
|
|
15
|
-
|
|
16
|
-
| Tool | Purpose |
|
|
17
|
-
|------|---------|
|
|
18
|
-
| `get_symbols_overview` | **Start here.** See high-level structure of a file. |
|
|
19
|
-
| `find_symbol` | Read specific functions/classes (set `include_body=true`). |
|
|
20
|
-
| `find_referencing_symbols` | Find usages before editing. |
|
|
21
|
-
| `replace_symbol_body` | Surgically replace a function/class. |
|
|
22
|
-
| `insert_after_symbol` | Add new code after an existing symbol. |
|
|
23
|
-
| `search_for_pattern` | Regex search when symbol names are unknown. |
|
|
24
|
-
|
|
25
|
-
## Standard Workflows
|
|
26
|
-
|
|
27
|
-
**🚨 MANDATORY FIRST STEP FOR ALL WORKFLOWS:**
|
|
28
|
-
|
|
29
|
-
Before using ANY Serena semantic tools (`get_symbols_overview`, `find_symbol`, `replace_symbol_body`, etc.), you MUST activate the project:
|
|
30
|
-
|
|
31
|
-
```javascript
|
|
32
|
-
mcp__plugin_serena_serena__activate_project({ project: "/path/to/current/working/directory" })
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
**Why this is critical**: Without project activation, Serena cannot locate code symbols and will fail or loop indefinitely. This step establishes the working context for all symbolic operations.
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
### 1. Explore Code (The "Overview First" Pattern)
|
|
40
|
-
|
|
41
|
-
Avoid reading full files >300 LOC.
|
|
42
|
-
|
|
43
|
-
1. **Activate Project**: `mcp__plugin_serena_serena__activate_project()`
|
|
44
|
-
2. **Understand Structure**: `get_symbols_overview(depth=1)`
|
|
45
|
-
3. **Drill Down**: `find_symbol(name_path="...", include_body=true)`
|
|
46
|
-
4. **Reflect**: `think_about_collected_information()`
|
|
47
|
-
|
|
48
|
-
### 2. Surgical Editing
|
|
49
|
-
|
|
50
|
-
1. **Activate Project**: `mcp__plugin_serena_serena__activate_project()` (if not already done)
|
|
51
|
-
2. **Locate**: `find_symbol(include_body=true)` to get current code.
|
|
52
|
-
3. **Check Impact**: `find_referencing_symbols()` to find usages.
|
|
53
|
-
4. **Edit**: `replace_symbol_body(...)` to update.
|
|
54
|
-
5. **Verify**: Run tests or syntax checks (e.g., `python -m py_compile`).
|
|
55
|
-
|
|
56
|
-
### 3. Adding Features
|
|
57
|
-
|
|
58
|
-
1. **Activate Project**: `mcp__plugin_serena_serena__activate_project()` (if not already done)
|
|
59
|
-
2. **Context**: `read_memory()` or `get_symbols_overview()` to understand patterns.
|
|
60
|
-
3. **Locate Anchor**: `find_symbol()` to find where to insert.
|
|
61
|
-
4. **Insert**: `insert_after_symbol(...)` to add new class/function.
|
|
62
|
-
|
|
63
|
-
## File Size Guidelines
|
|
64
|
-
|
|
65
|
-
| Lines of Code | Recommended Approach |
|
|
66
|
-
|---------------|----------------------|
|
|
67
|
-
| < 100 LOC | `Read` is acceptable. |
|
|
68
|
-
| 100-300 LOC | `get_symbols_overview` → `find_symbol`. |
|
|
69
|
-
| > 300 LOC | **Semantic only.** Do not read full file. |
|
|
70
|
-
|
|
71
|
-
## Quick Tips
|
|
72
|
-
|
|
73
|
-
* **LSP Integration**: `Read()` on a Python file automatically triggers Pyright analysis. Use the feedback to fix type errors surgically.
|
|
74
|
-
* **Symbol Names**: Use `substring_matching=true` if you aren't sure of the exact name.
|
|
75
|
-
* **Safety**: Always find references before renaming or changing signatures.
|
|
76
|
-
|
|
77
|
-
## ⚠️ Critical Constraints
|
|
78
|
-
|
|
79
|
-
1. **NEVER skip project activation** - It must be the first Serena operation in any workflow
|
|
80
|
-
2. **Use the current working directory** - Pass the actual project path, not a placeholder
|
|
81
|
-
3. **Activate once per session** - After activation, all subsequent Serena tools will work correctly
|
|
82
|
-
4. **Check activation status** - If Serena tools fail with "symbol not found" errors, you likely forgot to activate
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: using-service-skills
|
|
3
|
-
description: >-
|
|
4
|
-
Service catalog discovery and expert persona activation.
|
|
5
|
-
At session start, a catalog of registered expert personas is injected
|
|
6
|
-
automatically. Use this skill to discover, understand, and activate
|
|
7
|
-
the right expert for any task.
|
|
8
|
-
allowed-tools: Read, Glob
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Using Service Skills
|
|
12
|
-
|
|
13
|
-
## Role: The Concierge
|
|
14
|
-
|
|
15
|
-
You are the **Service Skills Concierge**. Your job is to help users discover and
|
|
16
|
-
activate expert personas registered in `.claude/skills/service-registry.json`.
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
## How the Catalog Works
|
|
21
|
-
|
|
22
|
-
At session start, the `SessionStart` hook (configured in `.claude/settings.json`)
|
|
23
|
-
runs `cataloger.py` and injects a lightweight XML block into your context:
|
|
24
|
-
|
|
25
|
-
```xml
|
|
26
|
-
<project_service_catalog>
|
|
27
|
-
Available expert personas:
|
|
28
|
-
- db-expert: SQL & schema optimization (Path: .claude/skills/db-expert/SKILL.md)
|
|
29
|
-
- auth-service: JWT authentication expert (Path: .claude/skills/auth-service/SKILL.md)
|
|
30
|
-
</project_service_catalog>
|
|
31
|
-
<instruction>To activate an expert, read its SKILL.md from the provided path.</instruction>
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
This costs ~150 tokens per session regardless of how many experts are registered
|
|
35
|
-
(Progressive Disclosure: full skill bodies are loaded only when needed).
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
## Workflow
|
|
40
|
-
|
|
41
|
-
### 1. Check the Injected Catalog
|
|
42
|
-
|
|
43
|
-
When a user asks about a service or starts a related task, check whether a
|
|
44
|
-
`<project_service_catalog>` block is present in your context.
|
|
45
|
-
|
|
46
|
-
If no catalog was injected (e.g. first run, no services registered), generate one:
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
python3 "$CLAUDE_PROJECT_DIR/.claude/skills/using-service-skills/scripts/cataloger.py"
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### 2. Activate an Expert Persona
|
|
53
|
-
|
|
54
|
-
When a task matches an expert's domain, read that skill's SKILL.md:
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
Read: .claude/skills/<service-id>/SKILL.md
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Then adopt the expert's persona, constraints, and knowledge for the duration
|
|
61
|
-
of the task.
|
|
62
|
-
|
|
63
|
-
**Example:**
|
|
64
|
-
```
|
|
65
|
-
User: "Optimize this database query"
|
|
66
|
-
You: [Catalog shows db-expert matches]
|
|
67
|
-
[Read .claude/skills/db-expert/SKILL.md]
|
|
68
|
-
[Apply Senior Database Engineer persona and expertise]
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
### 3. Handle Missing Experts
|
|
72
|
-
|
|
73
|
-
If no registered expert covers the user's need:
|
|
74
|
-
1. Inform the user no expert exists for this domain
|
|
75
|
-
2. Offer to create one: "I can create a service skill using `/creating-service-skills`"
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## Session Start Hook
|
|
80
|
-
|
|
81
|
-
The catalog injection is not handled by skill frontmatter hooks. Configure it in
|
|
82
|
-
`.claude/settings.json` using `SessionStart`:
|
|
83
|
-
|
|
84
|
-
```json
|
|
85
|
-
{
|
|
86
|
-
"hooks": {
|
|
87
|
-
"SessionStart": [{
|
|
88
|
-
"hooks": [{
|
|
89
|
-
"type": "command",
|
|
90
|
-
"command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/skills/using-service-skills/scripts/cataloger.py\""
|
|
91
|
-
}]
|
|
92
|
-
}]
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
---
|
|
98
|
-
|
|
99
|
-
## Tool Restrictions
|
|
100
|
-
|
|
101
|
-
Read-only — no write access:
|
|
102
|
-
- ✅ `Read` — read SKILL.md files to activate expert personas
|
|
103
|
-
- ✅ `Glob` — browse `.claude/skills/` directory
|
|
104
|
-
|
|
105
|
-
## Related Skills
|
|
106
|
-
|
|
107
|
-
- `/creating-service-skills` — Scaffold new expert personas
|
|
108
|
-
- `/updating-service-skills` — Sync skills when implementation drifts
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""
|
|
3
|
-
Cataloger — SessionStart hook for using-service-skills.
|
|
4
|
-
|
|
5
|
-
Reads .claude/skills/service-registry.json and prints a lightweight XML
|
|
6
|
-
service catalog block (~150 tokens) to stdout. The SessionStart hook
|
|
7
|
-
injects this as additional context so Claude knows which expert personas
|
|
8
|
-
are available without loading full skill bodies (Progressive Disclosure).
|
|
9
|
-
|
|
10
|
-
Configured in .claude/settings.json:
|
|
11
|
-
"SessionStart": [{"hooks": [{"type": "command",
|
|
12
|
-
"command": "python3 \\"$CLAUDE_PROJECT_DIR/.claude/skills/using-service-skills/scripts/cataloger.py\\""}]}]
|
|
13
|
-
|
|
14
|
-
Output format:
|
|
15
|
-
<project_service_catalog>
|
|
16
|
-
Available expert personas:
|
|
17
|
-
- db-expert: SQL & schema expert (Path: .claude/skills/db-expert/SKILL.md)
|
|
18
|
-
</project_service_catalog>
|
|
19
|
-
<instruction>To activate an expert, read its SKILL.md from the provided path.</instruction>
|
|
20
|
-
"""
|
|
21
|
-
|
|
22
|
-
import sys
|
|
23
|
-
from pathlib import Path
|
|
24
|
-
|
|
25
|
-
# Bootstrap lives in creating-service-skills — shared utility
|
|
26
|
-
BOOTSTRAP_DIR = Path(__file__).parent.parent.parent / "creating-service-skills" / "scripts"
|
|
27
|
-
sys.path.insert(0, str(BOOTSTRAP_DIR))
|
|
28
|
-
|
|
29
|
-
from bootstrap import RootResolutionError, list_services # noqa: E402
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
def generate_catalog() -> str:
|
|
33
|
-
"""
|
|
34
|
-
Generate the service catalog XML block.
|
|
35
|
-
|
|
36
|
-
Returns empty string if no services are registered or project root
|
|
37
|
-
cannot be determined (fails gracefully — never breaks session start).
|
|
38
|
-
"""
|
|
39
|
-
try:
|
|
40
|
-
services = list_services()
|
|
41
|
-
except (RootResolutionError, Exception):
|
|
42
|
-
return ""
|
|
43
|
-
|
|
44
|
-
if not services:
|
|
45
|
-
return ""
|
|
46
|
-
|
|
47
|
-
lines = [
|
|
48
|
-
"<project_service_catalog>",
|
|
49
|
-
"Available expert personas:",
|
|
50
|
-
]
|
|
51
|
-
|
|
52
|
-
for service_id, data in sorted(services.items()):
|
|
53
|
-
description = data.get("description", data.get("name", service_id))
|
|
54
|
-
skill_path = data.get("skill_path", f".claude/skills/{service_id}/SKILL.md")
|
|
55
|
-
lines.append(f"- {service_id}: {description} (Path: {skill_path})")
|
|
56
|
-
|
|
57
|
-
lines.append("</project_service_catalog>")
|
|
58
|
-
lines.append(
|
|
59
|
-
"<instruction>To activate an expert, read its SKILL.md from the provided path.</instruction>"
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
return "\n".join(lines)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
def main() -> None:
|
|
66
|
-
"""Print catalog to stdout — injected as SessionStart additional context."""
|
|
67
|
-
catalog = generate_catalog()
|
|
68
|
-
if catalog:
|
|
69
|
-
print(catalog)
|
|
70
|
-
# Silent if no services registered — don't break session start
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
if __name__ == "__main__":
|
|
74
|
-
main()
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""
|
|
3
|
-
PreToolUse hook: skill activator.
|
|
4
|
-
|
|
5
|
-
Fires before Read, Write, Edit, Glob, Grep, or Bash operations.
|
|
6
|
-
Checks whether the operation touches a registered service territory.
|
|
7
|
-
If it does, injects additionalContext telling Claude to load the skill
|
|
8
|
-
before proceeding — ensuring expert knowledge is always applied.
|
|
9
|
-
|
|
10
|
-
Configured in .claude/settings.json PreToolUse hook.
|
|
11
|
-
Must be fast: pure file I/O + string matching, no subprocess.
|
|
12
|
-
"""
|
|
13
|
-
|
|
14
|
-
import fnmatch
|
|
15
|
-
import json
|
|
16
|
-
import sys
|
|
17
|
-
from pathlib import Path
|
|
18
|
-
|
|
19
|
-
BOOTSTRAP_DIR = Path(__file__).parent.parent.parent / "creating-service-skills" / "scripts"
|
|
20
|
-
sys.path.insert(0, str(BOOTSTRAP_DIR))
|
|
21
|
-
|
|
22
|
-
from bootstrap import RootResolutionError, get_project_root, load_registry # noqa: E402 # type: ignore[import-not-found]
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
def match_territory(file_path: str, territory: list[str], project_root: Path) -> bool:
|
|
26
|
-
"""Check if a file path matches any territory glob pattern."""
|
|
27
|
-
# Normalize to relative path
|
|
28
|
-
fp = Path(file_path)
|
|
29
|
-
if fp.is_absolute():
|
|
30
|
-
try:
|
|
31
|
-
fp = fp.relative_to(project_root)
|
|
32
|
-
except ValueError:
|
|
33
|
-
return False
|
|
34
|
-
rel = str(fp)
|
|
35
|
-
|
|
36
|
-
for pattern in territory:
|
|
37
|
-
# fnmatch handles * and ?, but not ** — handle ** manually
|
|
38
|
-
if "**" in pattern:
|
|
39
|
-
# Split on **/ and check prefix + suffix
|
|
40
|
-
parts = pattern.split("**/")
|
|
41
|
-
if len(parts) == 2:
|
|
42
|
-
prefix, suffix = parts
|
|
43
|
-
rel_check = rel[len(prefix) :] if rel.startswith(prefix) else rel
|
|
44
|
-
if fnmatch.fnmatch(rel_check, suffix) or fnmatch.fnmatch(
|
|
45
|
-
rel, f"{prefix}*/{suffix}"
|
|
46
|
-
):
|
|
47
|
-
return True
|
|
48
|
-
# Also check if file is anywhere under the prefix dir
|
|
49
|
-
if prefix and rel.startswith(prefix.rstrip("/")):
|
|
50
|
-
return True
|
|
51
|
-
else:
|
|
52
|
-
if fnmatch.fnmatch(rel, pattern):
|
|
53
|
-
return True
|
|
54
|
-
# Direct prefix match for broad patterns
|
|
55
|
-
base = pattern.split("/*")[0].split("/**")[0]
|
|
56
|
-
if base and (rel.startswith(base + "/") or rel == base):
|
|
57
|
-
return True
|
|
58
|
-
|
|
59
|
-
return False
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
def find_service_for_file(
|
|
63
|
-
file_path: str, services: dict, project_root: Path
|
|
64
|
-
) -> tuple[str, dict] | None:
|
|
65
|
-
"""Return (service_id, service_data) if file is in any territory, else None."""
|
|
66
|
-
for service_id, data in services.items():
|
|
67
|
-
if match_territory(file_path, data.get("territory", []), project_root):
|
|
68
|
-
return service_id, data
|
|
69
|
-
return None
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
def find_service_for_command(command: str, services: dict) -> tuple[str, dict] | None:
|
|
73
|
-
"""Return (service_id, service_data) if command mentions a service name."""
|
|
74
|
-
cmd_lower = command.lower()
|
|
75
|
-
for service_id, data in services.items():
|
|
76
|
-
# Match service_id directly or as a container name in docker commands
|
|
77
|
-
if service_id in cmd_lower:
|
|
78
|
-
return service_id, data
|
|
79
|
-
# Match the container name pattern (service name with dashes/underscores)
|
|
80
|
-
if data.get("name") and data.get("name", "").lower().replace(" ", "-") in cmd_lower:
|
|
81
|
-
return service_id, data
|
|
82
|
-
return None
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
def build_context(service_id: str, data: dict) -> str:
|
|
86
|
-
skill_path = data.get("skill_path", f".claude/skills/{service_id}/SKILL.md")
|
|
87
|
-
desc = data.get("description", "")
|
|
88
|
-
desc_line = f"\n What it covers: {desc}" if desc else ""
|
|
89
|
-
|
|
90
|
-
return (
|
|
91
|
-
f"[Service Skill] You are about to work with the '{service_id}' service territory."
|
|
92
|
-
f"{desc_line}\n"
|
|
93
|
-
f" Load the expert skill before proceeding: Read {skill_path}\n"
|
|
94
|
-
f" The skill contains: operational knowledge, failure modes, diagnostic scripts, "
|
|
95
|
-
f"and the correct methods for managing this service.\n"
|
|
96
|
-
f" Do not use ad-hoc approaches (raw SQL, improvised docker commands) "
|
|
97
|
-
f"when the skill defines the correct method."
|
|
98
|
-
)
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
def main() -> None:
|
|
102
|
-
try:
|
|
103
|
-
data = json.load(sys.stdin)
|
|
104
|
-
except (json.JSONDecodeError, EOFError):
|
|
105
|
-
sys.exit(0)
|
|
106
|
-
|
|
107
|
-
tool_name = data.get("tool_name", "")
|
|
108
|
-
tool_input = data.get("tool_input", {})
|
|
109
|
-
|
|
110
|
-
try:
|
|
111
|
-
project_root = Path(get_project_root())
|
|
112
|
-
services = load_registry().get("services", {})
|
|
113
|
-
except (RootResolutionError, Exception):
|
|
114
|
-
sys.exit(0)
|
|
115
|
-
|
|
116
|
-
if not services:
|
|
117
|
-
sys.exit(0)
|
|
118
|
-
|
|
119
|
-
match = None
|
|
120
|
-
|
|
121
|
-
# File-based tools: check file_path against territory
|
|
122
|
-
if tool_name in ("Read", "Write", "Edit", "Glob", "Grep", "NotebookRead", "NotebookEdit"):
|
|
123
|
-
file_path = (
|
|
124
|
-
tool_input.get("file_path")
|
|
125
|
-
or tool_input.get("path")
|
|
126
|
-
or tool_input.get("notebook_path")
|
|
127
|
-
or ""
|
|
128
|
-
)
|
|
129
|
-
if file_path:
|
|
130
|
-
match = find_service_for_file(file_path, services, project_root)
|
|
131
|
-
|
|
132
|
-
# Bash: check command string for service names
|
|
133
|
-
elif tool_name == "Bash":
|
|
134
|
-
command = tool_input.get("command", "")
|
|
135
|
-
if command:
|
|
136
|
-
match = find_service_for_command(command, services)
|
|
137
|
-
|
|
138
|
-
if match:
|
|
139
|
-
service_id, service_data = match
|
|
140
|
-
output = {
|
|
141
|
-
"hookSpecificOutput": {
|
|
142
|
-
"hookEventName": "PreToolUse",
|
|
143
|
-
"additionalContext": build_context(service_id, service_data),
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
print(json.dumps(output))
|
|
147
|
-
|
|
148
|
-
sys.exit(0)
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
if __name__ == "__main__":
|
|
152
|
-
main()
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"""Tests for skill_activator.py — load_registry integration."""
|
|
2
|
-
import io
|
|
3
|
-
import json
|
|
4
|
-
import sys
|
|
5
|
-
import unittest
|
|
6
|
-
from pathlib import Path
|
|
7
|
-
from unittest.mock import patch
|
|
8
|
-
|
|
9
|
-
scripts_dir = Path(__file__).parent
|
|
10
|
-
sys.path.insert(0, str(scripts_dir))
|
|
11
|
-
sys.path.insert(0, str(scripts_dir.parent.parent / "creating-service-skills" / "scripts"))
|
|
12
|
-
|
|
13
|
-
import skill_activator
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
REGISTRY_WITH_VERSION = {
|
|
17
|
-
"version": "1.0",
|
|
18
|
-
"services": {
|
|
19
|
-
"my-service": {
|
|
20
|
-
"territory": ["src/my-service/**"],
|
|
21
|
-
"name": "My Service",
|
|
22
|
-
"skill_path": ".claude/skills/my-service/SKILL.md",
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
HOOK_INPUT = json.dumps({
|
|
28
|
-
"tool_name": "Write",
|
|
29
|
-
"tool_input": {"file_path": "src/my-service/foo.py"},
|
|
30
|
-
"hook_event_name": "PreToolUse",
|
|
31
|
-
"session_id": "test",
|
|
32
|
-
"cwd": "/fake/project",
|
|
33
|
-
})
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
class TestMainWithVersionedRegistry(unittest.TestCase):
|
|
37
|
-
def test_main_does_not_crash_when_registry_has_version_key(self):
|
|
38
|
-
"""main() must not crash with AttributeError when load_registry returns
|
|
39
|
-
{"version": ..., "services": {...}} — the full registry dict.
|
|
40
|
-
It should output valid JSON context for the matched service.
|
|
41
|
-
"""
|
|
42
|
-
with patch("skill_activator.load_registry", return_value=REGISTRY_WITH_VERSION), \
|
|
43
|
-
patch("skill_activator.get_project_root", return_value="/fake/project"), \
|
|
44
|
-
patch("sys.stdin", io.StringIO(HOOK_INPUT)), \
|
|
45
|
-
patch("sys.stdout", new_callable=io.StringIO) as mock_stdout:
|
|
46
|
-
try:
|
|
47
|
-
skill_activator.main()
|
|
48
|
-
except SystemExit:
|
|
49
|
-
pass
|
|
50
|
-
output = mock_stdout.getvalue()
|
|
51
|
-
|
|
52
|
-
self.assertTrue(output, "Expected JSON output but got nothing")
|
|
53
|
-
result = json.loads(output)
|
|
54
|
-
self.assertIn("hookSpecificOutput", result)
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
if __name__ == "__main__":
|
|
58
|
-
unittest.main()
|