claude-flow 2.7.0-alpha.9 → 2.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/.claude/settings.reasoningbank-example.json +124 -0
- package/.claude/settings.reasoningbank-minimal.json +40 -0
- package/.claude/skills/agentdb-advanced/SKILL.md +550 -0
- package/.claude/skills/agentdb-learning/SKILL.md +545 -0
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +339 -0
- package/.claude/skills/agentdb-optimization/SKILL.md +509 -0
- package/.claude/skills/agentdb-vector-search/SKILL.md +339 -0
- package/.claude/skills/flow-nexus-neural/SKILL.md +738 -0
- package/.claude/skills/flow-nexus-platform/SKILL.md +1157 -0
- package/.claude/skills/flow-nexus-swarm/SKILL.md +610 -0
- package/.claude/skills/github-code-review/SKILL.md +1140 -0
- package/.claude/skills/github-multi-repo/SKILL.md +874 -0
- package/.claude/skills/github-project-management/SKILL.md +1277 -0
- package/.claude/skills/github-release-management/SKILL.md +1081 -0
- package/.claude/skills/github-workflow-automation/SKILL.md +1065 -0
- package/.claude/skills/hive-mind-advanced/SKILL.md +712 -0
- package/.claude/skills/hooks-automation/SKILL.md +1201 -0
- package/.claude/skills/pair-programming/SKILL.md +1202 -0
- package/.claude/skills/performance-analysis/SKILL.md +563 -0
- package/.claude/skills/reasoningbank-agentdb/SKILL.md +446 -0
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +201 -0
- package/.claude/skills/skill-builder/SKILL.md +910 -0
- package/.claude/skills/sparc-methodology/SKILL.md +1115 -0
- package/.claude/skills/stream-chain/SKILL.md +563 -0
- package/.claude/skills/swarm-advanced/SKILL.md +973 -0
- package/.claude/skills/swarm-orchestration/SKILL.md +179 -0
- package/.claude/skills/verification-quality/SKILL.md +649 -0
- package/.claude/statusline-command.sh +175 -0
- package/.claude/test-reasoningbank-hooks.sh +99 -0
- package/CHANGELOG.md +460 -0
- package/README.md +254 -188
- package/bin/claude-flow +1 -1
- package/dist/src/cli/simple-cli.js +182 -172
- package/dist/src/cli/simple-cli.js.map +1 -1
- package/dist/src/cli/simple-commands/config.js +115 -257
- package/dist/src/cli/simple-commands/config.js.map +1 -1
- package/dist/src/cli/simple-commands/init/index.js +36 -22
- package/dist/src/cli/simple-commands/init/index.js.map +1 -1
- package/dist/src/cli/simple-commands/init/skills-copier.js +186 -0
- package/dist/src/cli/simple-commands/init/skills-copier.js.map +1 -0
- package/dist/src/cli/simple-commands/memory.js +12 -1
- package/dist/src/cli/simple-commands/memory.js.map +1 -1
- package/dist/src/cli/simple-commands/process-ui-enhanced.js +1 -1
- package/dist/src/cli/simple-commands/process-ui-enhanced.js.map +1 -1
- package/dist/src/cli/simple-commands/status.js +1 -1
- package/dist/src/cli/simple-commands/status.js.map +1 -1
- package/dist/src/core/version.js +1 -1
- package/dist/src/mcp/mcp-server.js +261 -3
- package/dist/src/mcp/mcp-server.js.map +1 -1
- package/dist/src/reasoningbank/reasoningbank-adapter.js +152 -99
- package/dist/src/reasoningbank/reasoningbank-adapter.js.map +1 -1
- package/dist/src/utils/metrics-reader.js +39 -37
- package/dist/src/utils/metrics-reader.js.map +1 -1
- package/docker-test/.claude-flow/metrics/performance.json +3 -3
- package/docker-test/.claude-flow/metrics/task-metrics.json +3 -3
- package/docker-test/Dockerfile.alpha11-test +26 -0
- package/docker-test/Dockerfile.alpha12-test +47 -0
- package/docker-test/Dockerfile.local-test +42 -0
- package/docker-test/test-alpha11.sh +244 -0
- package/docker-test/test-local-fix.sh +235 -0
- package/docs/COMMANDS_TO_SKILLS_MIGRATION.md +382 -0
- package/docs/FINAL_INIT_STRUCTURE.md +320 -0
- package/docs/PATTERN_PERSISTENCE_FIX.md +328 -0
- package/docs/RELEASE-NOTES-v2.7.0-alpha.10.md +309 -0
- package/docs/RELEASE-NOTES-v2.7.0-alpha.9.md +208 -0
- package/docs/RELEASE_v2.7.1.md +244 -0
- package/docs/integrations/reasoningbank/MIGRATION-v1.5.13.md +1 -1
- package/docs/reasoningbank/CLAUDE-CODE-INTEGRATION.md +563 -0
- package/docs/reasoningbank/EXAMPLES.md +611 -0
- package/docs/reasoningbank/README.md +1139 -0
- package/docs/reasoningbank/agentic-flow-integration.md +800 -0
- package/docs/reasoningbank/architecture.md +680 -0
- package/docs/reasoningbank/google-research.md +1017 -0
- package/docs/reasoningbank/models/.claude-flow/metrics/agent-metrics.json +1 -0
- package/docs/reasoningbank/models/.claude-flow/metrics/performance.json +87 -0
- package/docs/reasoningbank/models/.claude-flow/metrics/task-metrics.json +10 -0
- package/docs/reasoningbank/models/HOW-TO-TRAIN.md +537 -0
- package/docs/reasoningbank/models/HOW-TO-USE.md +655 -0
- package/docs/reasoningbank/models/INDEX.md +276 -0
- package/docs/reasoningbank/models/README.md +345 -0
- package/docs/reasoningbank/models/_docs/COMPATIBILITY.md +448 -0
- package/docs/reasoningbank/models/_docs/COMPLETION-SUMMARY.md +478 -0
- package/docs/reasoningbank/models/_docs/README.md +80 -0
- package/docs/reasoningbank/models/_docs/SCHEMA-UPDATE-SUMMARY.md +376 -0
- package/docs/reasoningbank/models/_docs/VERIFICATION-COMPLETE.md +370 -0
- package/docs/reasoningbank/models/_scripts/README.md +270 -0
- package/docs/reasoningbank/models/_scripts/benchmark-all.cjs +407 -0
- package/docs/reasoningbank/models/_scripts/fix-schema-compatibility.cjs +300 -0
- package/docs/reasoningbank/models/_scripts/schema-validator.cjs +360 -0
- package/docs/reasoningbank/models/_scripts/training-coordinator.cjs +85 -0
- package/docs/reasoningbank/models/_scripts/validation-suite.cjs +239 -0
- package/docs/reasoningbank/models/benchmark-output.log +41 -0
- package/docs/reasoningbank/models/code-reasoning/.claude-flow/metrics/agent-metrics.json +1 -0
- package/docs/reasoningbank/models/code-reasoning/.claude-flow/metrics/performance.json +87 -0
- package/docs/reasoningbank/models/code-reasoning/.claude-flow/metrics/task-metrics.json +18 -0
- package/docs/reasoningbank/models/code-reasoning/.swarm/SCHEMA-FIX-REPORT.md +69 -0
- package/docs/reasoningbank/models/code-reasoning/.swarm/memory.db +0 -0
- package/docs/reasoningbank/models/code-reasoning/.swarm/memory.db.backup +0 -0
- package/docs/reasoningbank/models/code-reasoning/README.md +451 -0
- package/docs/reasoningbank/models/code-reasoning/TRAINING-SUMMARY.md +416 -0
- package/docs/reasoningbank/models/code-reasoning/train-code.js +2059 -0
- package/docs/reasoningbank/models/code-reasoning/training.log +18 -0
- package/docs/reasoningbank/models/code-reasoning/validation-report.md +349 -0
- package/docs/reasoningbank/models/domain-expert/.claude-flow/metrics/agent-metrics.json +1 -0
- package/docs/reasoningbank/models/domain-expert/.claude-flow/metrics/performance.json +87 -0
- package/docs/reasoningbank/models/domain-expert/.claude-flow/metrics/task-metrics.json +18 -0
- package/docs/reasoningbank/models/domain-expert/COMPLETION-REPORT.md +451 -0
- package/docs/reasoningbank/models/domain-expert/INDEX.md +182 -0
- package/docs/reasoningbank/models/domain-expert/README.md +215 -0
- package/docs/reasoningbank/models/domain-expert/SCHEMA-FIX-REPORT.md +65 -0
- package/docs/reasoningbank/models/domain-expert/SUMMARY.md +286 -0
- package/docs/reasoningbank/models/domain-expert/USAGE.md +394 -0
- package/docs/reasoningbank/models/domain-expert/demo-queries.sh +42 -0
- package/docs/reasoningbank/models/domain-expert/memory.db +0 -0
- package/docs/reasoningbank/models/domain-expert/train-domain.js +1324 -0
- package/docs/reasoningbank/models/domain-expert/validate.js +218 -0
- package/docs/reasoningbank/models/domain-expert/validation-report.md +89 -0
- package/docs/reasoningbank/models/google-research/README.md +455 -0
- package/docs/reasoningbank/models/google-research/SCHEMA-FIX-REPORT.md +65 -0
- package/docs/reasoningbank/models/google-research/memory.db +0 -0
- package/docs/reasoningbank/models/google-research/memory.db.backup +0 -0
- package/docs/reasoningbank/models/google-research/train-google.js +697 -0
- package/docs/reasoningbank/models/google-research/validation-report.md +99 -0
- package/docs/reasoningbank/models/google-research/validation-suite.js +323 -0
- package/docs/reasoningbank/models/problem-solving/.claude-flow/metrics/agent-metrics.json +1 -0
- package/docs/reasoningbank/models/problem-solving/.claude-flow/metrics/performance.json +87 -0
- package/docs/reasoningbank/models/problem-solving/.claude-flow/metrics/task-metrics.json +10 -0
- package/docs/reasoningbank/models/problem-solving/.swarm/memory.db +0 -0
- package/docs/reasoningbank/models/problem-solving/README.md +629 -0
- package/docs/reasoningbank/models/problem-solving/SCHEMA-FIX-REPORT.md +66 -0
- package/docs/reasoningbank/models/problem-solving/TRAINING_SUMMARY.md +524 -0
- package/docs/reasoningbank/models/problem-solving/memory.db +0 -0
- package/docs/reasoningbank/models/problem-solving/memory.db.backup +0 -0
- package/docs/reasoningbank/models/problem-solving/train-problem.js +1319 -0
- package/docs/reasoningbank/models/problem-solving/validation-report.md +300 -0
- package/docs/reasoningbank/models/safla/.claude-flow/metrics/agent-metrics.json +1 -0
- package/docs/reasoningbank/models/safla/.claude-flow/metrics/performance.json +87 -0
- package/docs/reasoningbank/models/safla/.claude-flow/metrics/task-metrics.json +10 -0
- package/docs/reasoningbank/models/safla/CHEATSHEET.md +277 -0
- package/docs/reasoningbank/models/safla/COMPLETION_REPORT.txt +108 -0
- package/docs/reasoningbank/models/safla/MANIFEST.txt +104 -0
- package/docs/reasoningbank/models/safla/QUICKSTART.md +349 -0
- package/docs/reasoningbank/models/safla/README.md +457 -0
- package/docs/reasoningbank/models/safla/SCHEMA-FIX-REPORT.md +68 -0
- package/docs/reasoningbank/models/safla/TRAINING_SUMMARY.md +383 -0
- package/docs/reasoningbank/models/safla/memory/memory-store.json +11 -0
- package/docs/reasoningbank/models/safla/memory.db +0 -0
- package/docs/reasoningbank/models/safla/memory.db.backup +0 -0
- package/docs/reasoningbank/models/safla/node_modules/.package-lock.json +456 -0
- package/docs/reasoningbank/models/safla/node_modules/base64-js/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/base64-js/README.md +34 -0
- package/docs/reasoningbank/models/safla/node_modules/base64-js/base64js.min.js +1 -0
- package/docs/reasoningbank/models/safla/node_modules/base64-js/index.d.ts +3 -0
- package/docs/reasoningbank/models/safla/node_modules/base64-js/index.js +150 -0
- package/docs/reasoningbank/models/safla/node_modules/base64-js/package.json +47 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/README.md +99 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/binding.gyp +38 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/deps/common.gypi +68 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/deps/copy.js +31 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/deps/defines.gypi +41 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/deps/download.sh +122 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/deps/patches/1208.patch +15 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +261480 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +13715 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/deps/sqlite3/sqlite3ext.h +719 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/deps/sqlite3.gyp +80 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/deps/test_extension.c +21 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/database.js +90 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/index.js +3 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/methods/function.js +31 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/methods/table.js +189 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/lib/util.js +12 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/package.json +54 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/src/better_sqlite3.cpp +2186 -0
- package/docs/reasoningbank/models/safla/node_modules/better-sqlite3/src/better_sqlite3.hpp +1036 -0
- package/docs/reasoningbank/models/safla/node_modules/bindings/LICENSE.md +22 -0
- package/docs/reasoningbank/models/safla/node_modules/bindings/README.md +98 -0
- package/docs/reasoningbank/models/safla/node_modules/bindings/bindings.js +221 -0
- package/docs/reasoningbank/models/safla/node_modules/bindings/package.json +28 -0
- package/docs/reasoningbank/models/safla/node_modules/bl/.travis.yml +17 -0
- package/docs/reasoningbank/models/safla/node_modules/bl/BufferList.js +396 -0
- package/docs/reasoningbank/models/safla/node_modules/bl/LICENSE.md +13 -0
- package/docs/reasoningbank/models/safla/node_modules/bl/README.md +247 -0
- package/docs/reasoningbank/models/safla/node_modules/bl/bl.js +84 -0
- package/docs/reasoningbank/models/safla/node_modules/bl/package.json +37 -0
- package/docs/reasoningbank/models/safla/node_modules/bl/test/convert.js +21 -0
- package/docs/reasoningbank/models/safla/node_modules/bl/test/indexOf.js +492 -0
- package/docs/reasoningbank/models/safla/node_modules/bl/test/isBufferList.js +32 -0
- package/docs/reasoningbank/models/safla/node_modules/bl/test/test.js +869 -0
- package/docs/reasoningbank/models/safla/node_modules/buffer/AUTHORS.md +70 -0
- package/docs/reasoningbank/models/safla/node_modules/buffer/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/buffer/README.md +410 -0
- package/docs/reasoningbank/models/safla/node_modules/buffer/index.d.ts +186 -0
- package/docs/reasoningbank/models/safla/node_modules/buffer/index.js +1817 -0
- package/docs/reasoningbank/models/safla/node_modules/buffer/package.json +96 -0
- package/docs/reasoningbank/models/safla/node_modules/chownr/LICENSE +15 -0
- package/docs/reasoningbank/models/safla/node_modules/chownr/README.md +3 -0
- package/docs/reasoningbank/models/safla/node_modules/chownr/chownr.js +167 -0
- package/docs/reasoningbank/models/safla/node_modules/chownr/package.json +29 -0
- package/docs/reasoningbank/models/safla/node_modules/decompress-response/index.d.ts +22 -0
- package/docs/reasoningbank/models/safla/node_modules/decompress-response/index.js +58 -0
- package/docs/reasoningbank/models/safla/node_modules/decompress-response/license +9 -0
- package/docs/reasoningbank/models/safla/node_modules/decompress-response/package.json +56 -0
- package/docs/reasoningbank/models/safla/node_modules/decompress-response/readme.md +48 -0
- package/docs/reasoningbank/models/safla/node_modules/deep-extend/CHANGELOG.md +46 -0
- package/docs/reasoningbank/models/safla/node_modules/deep-extend/LICENSE +20 -0
- package/docs/reasoningbank/models/safla/node_modules/deep-extend/README.md +91 -0
- package/docs/reasoningbank/models/safla/node_modules/deep-extend/index.js +1 -0
- package/docs/reasoningbank/models/safla/node_modules/deep-extend/lib/deep-extend.js +150 -0
- package/docs/reasoningbank/models/safla/node_modules/deep-extend/package.json +62 -0
- package/docs/reasoningbank/models/safla/node_modules/detect-libc/LICENSE +201 -0
- package/docs/reasoningbank/models/safla/node_modules/detect-libc/README.md +163 -0
- package/docs/reasoningbank/models/safla/node_modules/detect-libc/index.d.ts +14 -0
- package/docs/reasoningbank/models/safla/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/docs/reasoningbank/models/safla/node_modules/detect-libc/lib/elf.js +39 -0
- package/docs/reasoningbank/models/safla/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/docs/reasoningbank/models/safla/node_modules/detect-libc/lib/process.js +24 -0
- package/docs/reasoningbank/models/safla/node_modules/detect-libc/package.json +44 -0
- package/docs/reasoningbank/models/safla/node_modules/end-of-stream/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/end-of-stream/README.md +54 -0
- package/docs/reasoningbank/models/safla/node_modules/end-of-stream/index.js +96 -0
- package/docs/reasoningbank/models/safla/node_modules/end-of-stream/package.json +37 -0
- package/docs/reasoningbank/models/safla/node_modules/expand-template/.travis.yml +6 -0
- package/docs/reasoningbank/models/safla/node_modules/expand-template/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/expand-template/README.md +43 -0
- package/docs/reasoningbank/models/safla/node_modules/expand-template/index.js +26 -0
- package/docs/reasoningbank/models/safla/node_modules/expand-template/package.json +29 -0
- package/docs/reasoningbank/models/safla/node_modules/expand-template/test.js +67 -0
- package/docs/reasoningbank/models/safla/node_modules/file-uri-to-path/.travis.yml +30 -0
- package/docs/reasoningbank/models/safla/node_modules/file-uri-to-path/History.md +21 -0
- package/docs/reasoningbank/models/safla/node_modules/file-uri-to-path/LICENSE +20 -0
- package/docs/reasoningbank/models/safla/node_modules/file-uri-to-path/README.md +74 -0
- package/docs/reasoningbank/models/safla/node_modules/file-uri-to-path/index.d.ts +2 -0
- package/docs/reasoningbank/models/safla/node_modules/file-uri-to-path/index.js +66 -0
- package/docs/reasoningbank/models/safla/node_modules/file-uri-to-path/package.json +32 -0
- package/docs/reasoningbank/models/safla/node_modules/file-uri-to-path/test/test.js +24 -0
- package/docs/reasoningbank/models/safla/node_modules/file-uri-to-path/test/tests.json +13 -0
- package/docs/reasoningbank/models/safla/node_modules/fs-constants/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/fs-constants/README.md +26 -0
- package/docs/reasoningbank/models/safla/node_modules/fs-constants/browser.js +1 -0
- package/docs/reasoningbank/models/safla/node_modules/fs-constants/index.js +1 -0
- package/docs/reasoningbank/models/safla/node_modules/fs-constants/package.json +19 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/.travis.yml +4 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/LICENSE +18 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/example/package.json +8 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/example/url.js +3 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/index.js +17 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/package.json +30 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/readme.markdown +53 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/test/a.json +8 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/test/b.json +5 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/test/c.json +5 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/test/d.json +7 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/test/e.json +5 -0
- package/docs/reasoningbank/models/safla/node_modules/github-from-package/test/url.js +19 -0
- package/docs/reasoningbank/models/safla/node_modules/ieee754/LICENSE +11 -0
- package/docs/reasoningbank/models/safla/node_modules/ieee754/README.md +51 -0
- package/docs/reasoningbank/models/safla/node_modules/ieee754/index.d.ts +10 -0
- package/docs/reasoningbank/models/safla/node_modules/ieee754/index.js +85 -0
- package/docs/reasoningbank/models/safla/node_modules/ieee754/package.json +52 -0
- package/docs/reasoningbank/models/safla/node_modules/inherits/LICENSE +16 -0
- package/docs/reasoningbank/models/safla/node_modules/inherits/README.md +42 -0
- package/docs/reasoningbank/models/safla/node_modules/inherits/inherits.js +9 -0
- package/docs/reasoningbank/models/safla/node_modules/inherits/inherits_browser.js +27 -0
- package/docs/reasoningbank/models/safla/node_modules/inherits/package.json +29 -0
- package/docs/reasoningbank/models/safla/node_modules/ini/LICENSE +15 -0
- package/docs/reasoningbank/models/safla/node_modules/ini/README.md +102 -0
- package/docs/reasoningbank/models/safla/node_modules/ini/ini.js +206 -0
- package/docs/reasoningbank/models/safla/node_modules/ini/package.json +33 -0
- package/docs/reasoningbank/models/safla/node_modules/mimic-response/index.d.ts +17 -0
- package/docs/reasoningbank/models/safla/node_modules/mimic-response/index.js +77 -0
- package/docs/reasoningbank/models/safla/node_modules/mimic-response/license +9 -0
- package/docs/reasoningbank/models/safla/node_modules/mimic-response/package.json +42 -0
- package/docs/reasoningbank/models/safla/node_modules/mimic-response/readme.md +78 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/.eslintrc +29 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/.github/FUNDING.yml +12 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/.nycrc +14 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/CHANGELOG.md +298 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/LICENSE +18 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/README.md +121 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/example/parse.js +4 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/index.js +263 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/package.json +75 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/all_bool.js +34 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/bool.js +177 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/dash.js +43 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/default_bool.js +37 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/dotted.js +24 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/kv_short.js +32 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/long.js +33 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/num.js +38 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/parse.js +209 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/parse_modified.js +11 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/proto.js +64 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/short.js +69 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/stop_early.js +17 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/unknown.js +104 -0
- package/docs/reasoningbank/models/safla/node_modules/minimist/test/whitespace.js +10 -0
- package/docs/reasoningbank/models/safla/node_modules/mkdirp-classic/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/mkdirp-classic/README.md +18 -0
- package/docs/reasoningbank/models/safla/node_modules/mkdirp-classic/index.js +98 -0
- package/docs/reasoningbank/models/safla/node_modules/mkdirp-classic/package.json +18 -0
- package/docs/reasoningbank/models/safla/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +31 -0
- package/docs/reasoningbank/models/safla/node_modules/napi-build-utils/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/napi-build-utils/README.md +52 -0
- package/docs/reasoningbank/models/safla/node_modules/napi-build-utils/index.js +214 -0
- package/docs/reasoningbank/models/safla/node_modules/napi-build-utils/index.md +0 -0
- package/docs/reasoningbank/models/safla/node_modules/napi-build-utils/package.json +42 -0
- package/docs/reasoningbank/models/safla/node_modules/node-abi/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/node-abi/README.md +54 -0
- package/docs/reasoningbank/models/safla/node_modules/node-abi/abi_registry.json +408 -0
- package/docs/reasoningbank/models/safla/node_modules/node-abi/index.js +179 -0
- package/docs/reasoningbank/models/safla/node_modules/node-abi/package.json +45 -0
- package/docs/reasoningbank/models/safla/node_modules/once/LICENSE +15 -0
- package/docs/reasoningbank/models/safla/node_modules/once/README.md +79 -0
- package/docs/reasoningbank/models/safla/node_modules/once/once.js +42 -0
- package/docs/reasoningbank/models/safla/node_modules/once/package.json +33 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/CHANGELOG.md +131 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/CONTRIBUTING.md +6 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/README.md +163 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/asset.js +44 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/bin.js +78 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/download.js +142 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/error.js +14 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/help.txt +16 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/index.js +1 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/log.js +33 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/package.json +67 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/proxy.js +35 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/rc.js +64 -0
- package/docs/reasoningbank/models/safla/node_modules/prebuild-install/util.js +143 -0
- package/docs/reasoningbank/models/safla/node_modules/pump/.github/FUNDING.yml +2 -0
- package/docs/reasoningbank/models/safla/node_modules/pump/.travis.yml +5 -0
- package/docs/reasoningbank/models/safla/node_modules/pump/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/pump/README.md +74 -0
- package/docs/reasoningbank/models/safla/node_modules/pump/SECURITY.md +5 -0
- package/docs/reasoningbank/models/safla/node_modules/pump/index.js +86 -0
- package/docs/reasoningbank/models/safla/node_modules/pump/package.json +24 -0
- package/docs/reasoningbank/models/safla/node_modules/pump/test-browser.js +66 -0
- package/docs/reasoningbank/models/safla/node_modules/pump/test-node.js +53 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/LICENSE.APACHE2 +15 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/LICENSE.BSD +26 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/LICENSE.MIT +24 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/README.md +227 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/browser.js +7 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/cli.js +4 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/index.js +53 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/lib/utils.js +104 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/package.json +29 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/test/ini.js +16 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/test/nested-env-vars.js +50 -0
- package/docs/reasoningbank/models/safla/node_modules/rc/test/test.js +59 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/LICENSE +47 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/README.md +106 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/errors-browser.js +127 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/errors.js +116 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/_stream_transform.js +190 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/_stream_writable.js +641 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/package.json +68 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/readable-browser.js +9 -0
- package/docs/reasoningbank/models/safla/node_modules/readable-stream/readable.js +16 -0
- package/docs/reasoningbank/models/safla/node_modules/safe-buffer/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/safe-buffer/README.md +584 -0
- package/docs/reasoningbank/models/safla/node_modules/safe-buffer/index.d.ts +187 -0
- package/docs/reasoningbank/models/safla/node_modules/safe-buffer/index.js +65 -0
- package/docs/reasoningbank/models/safla/node_modules/safe-buffer/package.json +51 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/LICENSE +15 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/README.md +664 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/bin/semver.js +191 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/classes/comparator.js +143 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/classes/index.js +7 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/classes/range.js +557 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/classes/semver.js +333 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/clean.js +8 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/cmp.js +54 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/coerce.js +62 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/compare-build.js +9 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/compare-loose.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/compare.js +7 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/diff.js +60 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/eq.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/gt.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/gte.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/inc.js +21 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/lt.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/lte.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/major.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/minor.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/neq.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/parse.js +18 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/patch.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/prerelease.js +8 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/rcompare.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/rsort.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/satisfies.js +12 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/sort.js +5 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/functions/valid.js +8 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/index.js +91 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/internal/constants.js +37 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/internal/debug.js +11 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/internal/identifiers.js +29 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/internal/lrucache.js +42 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/internal/parse-options.js +17 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/internal/re.js +223 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/package.json +78 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/preload.js +4 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/range.bnf +16 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/ranges/gtr.js +6 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/ranges/intersects.js +9 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/ranges/ltr.js +6 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/ranges/min-version.js +63 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/ranges/outside.js +82 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/ranges/simplify.js +49 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/ranges/subset.js +249 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/ranges/to-comparators.js +10 -0
- package/docs/reasoningbank/models/safla/node_modules/semver/ranges/valid.js +13 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-concat/.travis.yml +3 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-concat/LICENSE +20 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-concat/README.md +44 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-concat/index.js +15 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-concat/package.json +47 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-concat/test/basic.js +41 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-get/.github/dependabot.yml +15 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-get/.github/workflows/ci.yml +23 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-get/LICENSE +20 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-get/README.md +333 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-get/index.js +108 -0
- package/docs/reasoningbank/models/safla/node_modules/simple-get/package.json +67 -0
- package/docs/reasoningbank/models/safla/node_modules/string_decoder/LICENSE +48 -0
- package/docs/reasoningbank/models/safla/node_modules/string_decoder/README.md +47 -0
- package/docs/reasoningbank/models/safla/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/docs/reasoningbank/models/safla/node_modules/string_decoder/package.json +34 -0
- package/docs/reasoningbank/models/safla/node_modules/strip-json-comments/index.js +70 -0
- package/docs/reasoningbank/models/safla/node_modules/strip-json-comments/license +21 -0
- package/docs/reasoningbank/models/safla/node_modules/strip-json-comments/package.json +42 -0
- package/docs/reasoningbank/models/safla/node_modules/strip-json-comments/readme.md +64 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/.travis.yml +6 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/README.md +165 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/index.js +363 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/package.json +41 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-fs/test/index.js +346 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-stream/LICENSE +21 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-stream/README.md +168 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-stream/extract.js +257 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-stream/headers.js +295 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-stream/index.js +2 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-stream/pack.js +255 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-stream/package.json +58 -0
- package/docs/reasoningbank/models/safla/node_modules/tar-stream/sandbox.js +11 -0
- package/docs/reasoningbank/models/safla/node_modules/tunnel-agent/LICENSE +55 -0
- package/docs/reasoningbank/models/safla/node_modules/tunnel-agent/README.md +4 -0
- package/docs/reasoningbank/models/safla/node_modules/tunnel-agent/index.js +244 -0
- package/docs/reasoningbank/models/safla/node_modules/tunnel-agent/package.json +22 -0
- package/docs/reasoningbank/models/safla/node_modules/util-deprecate/History.md +16 -0
- package/docs/reasoningbank/models/safla/node_modules/util-deprecate/LICENSE +24 -0
- package/docs/reasoningbank/models/safla/node_modules/util-deprecate/README.md +53 -0
- package/docs/reasoningbank/models/safla/node_modules/util-deprecate/browser.js +67 -0
- package/docs/reasoningbank/models/safla/node_modules/util-deprecate/node.js +6 -0
- package/docs/reasoningbank/models/safla/node_modules/util-deprecate/package.json +27 -0
- package/docs/reasoningbank/models/safla/node_modules/wrappy/LICENSE +15 -0
- package/docs/reasoningbank/models/safla/node_modules/wrappy/README.md +36 -0
- package/docs/reasoningbank/models/safla/node_modules/wrappy/package.json +29 -0
- package/docs/reasoningbank/models/safla/node_modules/wrappy/wrappy.js +33 -0
- package/docs/reasoningbank/models/safla/package-lock.json +463 -0
- package/docs/reasoningbank/models/safla/package.json +14 -0
- package/docs/reasoningbank/models/safla/train-safla.js +524 -0
- package/docs/reasoningbank/models/safla/training.log +64 -0
- package/docs/reasoningbank/models/safla/validate-safla.js +449 -0
- package/docs/reasoningbank/models/safla/validation-report.md +115 -0
- package/docs/reasoningbank/models/safla/validation-results.json +189 -0
- package/docs/reasoningbank/tutorial-advanced.md +869 -0
- package/docs/reasoningbank/tutorial-basic.md +626 -0
- package/docs/reports/validation/PROCESS-EXIT-FIX-v2.7.0-alpha.9.md +154 -0
- package/docs/reports/validation/REASONINGBANK-v1.5.13-VALIDATION.md +1 -1
- package/docs/skills/skills-tutorial.md +2910 -0
- package/docs/skills-tutorial.md +1251 -0
- package/package.json +4 -3
- package/src/cli/simple-commands/init/index.js +32 -14
- package/src/cli/simple-commands/init/skills-copier.js +215 -0
- package/src/cli/simple-commands/process-ui-enhanced.js +1 -1
- package/src/cli/simple-commands/status.js +1 -1
- package/src/mcp/mcp-server.js +302 -2
- package/src/reasoningbank/reasoningbank-adapter.js +8 -6
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
- package/.claude/commands/analysis/bottleneck-detect.md +0 -162
- package/.claude/commands/analysis/performance-bottlenecks.md +0 -59
- package/.claude/commands/analysis/performance-report.md +0 -25
- package/.claude/commands/flow-nexus/app-store.md +0 -124
- package/.claude/commands/flow-nexus/challenges.md +0 -120
- package/.claude/commands/flow-nexus/login-registration.md +0 -65
- package/.claude/commands/flow-nexus/neural-network.md +0 -134
- package/.claude/commands/flow-nexus/payments.md +0 -116
- package/.claude/commands/flow-nexus/sandbox.md +0 -83
- package/.claude/commands/flow-nexus/swarm.md +0 -87
- package/.claude/commands/flow-nexus/user-tools.md +0 -152
- package/.claude/commands/flow-nexus/workflow.md +0 -115
- package/.claude/commands/github/code-review-swarm.md +0 -514
- package/.claude/commands/github/github-modes.md +0 -147
- package/.claude/commands/github/issue-tracker.md +0 -292
- package/.claude/commands/github/multi-repo-swarm.md +0 -519
- package/.claude/commands/github/pr-manager.md +0 -170
- package/.claude/commands/github/project-board-sync.md +0 -471
- package/.claude/commands/github/release-manager.md +0 -338
- package/.claude/commands/github/release-swarm.md +0 -544
- package/.claude/commands/github/repo-architect.md +0 -367
- package/.claude/commands/github/swarm-issue.md +0 -482
- package/.claude/commands/github/swarm-pr.md +0 -285
- package/.claude/commands/github/sync-coordinator.md +0 -301
- package/.claude/commands/github/workflow-automation.md +0 -442
- package/.claude/commands/hive-mind/hive-mind-resume.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-sessions.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-stop.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-wizard.md +0 -8
- package/.claude/commands/hive-mind/hive-mind.md +0 -27
- package/.claude/commands/hooks/overview.md +0 -132
- package/.claude/commands/memory/usage.md +0 -46
- package/.claude/commands/pair/commands.md +0 -546
- package/.claude/commands/pair/config.md +0 -510
- package/.claude/commands/pair/examples.md +0 -512
- package/.claude/commands/pair/modes.md +0 -348
- package/.claude/commands/pair/session.md +0 -407
- package/.claude/commands/pair/start.md +0 -209
- package/.claude/commands/sparc/orchestrator.md +0 -132
- package/.claude/commands/sparc/sparc-modes.md +0 -174
- package/.claude/commands/stream-chain/pipeline.md +0 -121
- package/.claude/commands/stream-chain/run.md +0 -70
- package/.claude/commands/swarm/analysis.md +0 -95
- package/.claude/commands/swarm/development.md +0 -96
- package/.claude/commands/swarm/examples.md +0 -168
- package/.claude/commands/swarm/maintenance.md +0 -102
- package/.claude/commands/swarm/optimization.md +0 -117
- package/.claude/commands/swarm/research.md +0 -136
- package/.claude/commands/swarm/swarm-analysis.md +0 -8
- package/.claude/commands/swarm/swarm-spawn.md +0 -19
- package/.claude/commands/swarm/swarm-strategies.md +0 -8
- package/.claude/commands/swarm/testing.md +0 -131
- package/.claude/commands/truth/start.md +0 -143
- package/.claude/commands/verify/check.md +0 -50
- package/.claude/commands/verify/start.md +0 -128
- /package/{.claude/agents → docs}/reasoning/README.md +0 -0
- /package/{.claude/agents → docs}/reasoning/example-reasoning-agent-template.md +0 -0
|
@@ -0,0 +1,2910 @@
|
|
|
1
|
+
# 🎓 Claude Code Skills Capabilities Guide
|
|
2
|
+
|
|
3
|
+
**Version**: 2.0.0
|
|
4
|
+
**Last Updated**: October 19, 2025
|
|
5
|
+
|
|
6
|
+
> **21 built-in skills + unlimited custom skills.** Discover what each skill does, when to use it, and how to combine skills for complex workflows.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 📖 Table of Contents
|
|
11
|
+
|
|
12
|
+
1. [What Are Skills?](#-what-are-skills)
|
|
13
|
+
2. [Quick Start](#-quick-start)
|
|
14
|
+
3. [Built-In Skills Catalog](#-built-in-skills-catalog-21-total)
|
|
15
|
+
- [AI & Memory](#-ai--memory-3-skills)
|
|
16
|
+
- [GitHub Integration](#-github-integration-5-skills)
|
|
17
|
+
- [Swarm Orchestration](#-swarm-orchestration-4-skills)
|
|
18
|
+
- [Development & Quality](#-development--quality-3-skills)
|
|
19
|
+
- [Cloud Platform](#-cloud-platform-3-skills)
|
|
20
|
+
- [Automation & Tools](#-automation--tools-2-skills)
|
|
21
|
+
- [Performance](#-performance-1-skill)
|
|
22
|
+
4. [Skills in Action](#-skills-in-action)
|
|
23
|
+
5. [Combining Skills](#-combining-skills-for-complex-workflows)
|
|
24
|
+
6. [Creating Custom Skills](#-creating-custom-skills)
|
|
25
|
+
7. [Skill Selection Guide](#-skill-selection-guide)
|
|
26
|
+
8. [Best Practices](#-best-practices)
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 🌟 What Are Skills?
|
|
31
|
+
|
|
32
|
+
Skills are **modular capabilities** that Claude Code discovers and uses automatically. Think of them as expert knowledge modules that Claude activates when needed.
|
|
33
|
+
|
|
34
|
+
**How it works:**
|
|
35
|
+
1. **You ask Claude** to do something ("Implement semantic search")
|
|
36
|
+
2. **Claude finds relevant skills** (agentdb-vector-search)
|
|
37
|
+
3. **Claude loads skill instructions** (how to implement it)
|
|
38
|
+
4. **Claude executes** using the skill's expertise
|
|
39
|
+
5. **Claude learns** and gets faster next time (46% improvement)
|
|
40
|
+
|
|
41
|
+
**Two types of skills available:**
|
|
42
|
+
- ✅ **21 Built-In Skills** (automatic via claude-flow MCP)
|
|
43
|
+
- ✅ **Custom Skills** (create your own with agentic-flow)
|
|
44
|
+
|
|
45
|
+
A skill is simply a directory with a `SKILL.md` file containing instructions:
|
|
46
|
+
|
|
47
|
+
### Skill Structure
|
|
48
|
+
|
|
49
|
+
```yaml
|
|
50
|
+
---
|
|
51
|
+
name: "AgentDB Vector Search"
|
|
52
|
+
description: "Implement semantic search with 150x-12,500x performance.
|
|
53
|
+
Use for RAG systems, documentation search, similarity matching."
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
# Instructions
|
|
57
|
+
[Detailed step-by-step guidance...]
|
|
58
|
+
|
|
59
|
+
# Examples
|
|
60
|
+
[Code examples and use cases...]
|
|
61
|
+
|
|
62
|
+
# Best Practices
|
|
63
|
+
[What works well, what to avoid...]
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
**Key features:**
|
|
67
|
+
- 📝 **YAML frontmatter**: Name and description (max 1024 chars)
|
|
68
|
+
- 🎯 **Progressive disclosure**: Claude only loads when relevant
|
|
69
|
+
- 🧠 **Context persistence**: Learns from usage (46% faster over time)
|
|
70
|
+
- 🔄 **Composable**: Skills work together for complex tasks
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## 🚀 Quick Start
|
|
75
|
+
|
|
76
|
+
### Installation (30 seconds)
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
# Install claude-flow for 21 built-in skills
|
|
80
|
+
npm install -g claude-flow@alpha
|
|
81
|
+
|
|
82
|
+
# Add MCP server (makes skills available)
|
|
83
|
+
claude mcp add claude-flow npx claude-flow@alpha mcp start
|
|
84
|
+
|
|
85
|
+
# Verify it's running
|
|
86
|
+
claude mcp list
|
|
87
|
+
# ✓ claude-flow@alpha npx claude-flow@alpha mcp start ✓ Running
|
|
88
|
+
|
|
89
|
+
# That's it! All 21 skills are now available.
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Using Skills (No Setup Required)
|
|
93
|
+
|
|
94
|
+
Skills activate automatically when relevant:
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
You: "I need semantic search for my documentation"
|
|
98
|
+
|
|
99
|
+
Claude: I'll use the agentdb-vector-search skill to implement this.
|
|
100
|
+
[Automatically loads skill instructions and implements solution]
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### Creating Custom Skills (Optional)
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
# Install agentic-flow for custom skill creation
|
|
107
|
+
npm install -g agentic-flow@latest
|
|
108
|
+
|
|
109
|
+
# Initialize skill directories
|
|
110
|
+
npx agentic-flow skills init
|
|
111
|
+
|
|
112
|
+
# Create sample skills
|
|
113
|
+
npx agentic-flow skills create
|
|
114
|
+
|
|
115
|
+
# Install skill builder
|
|
116
|
+
npx agentic-flow skills init-builder
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## 📚 Built-In Skills Catalog (21 Total)
|
|
122
|
+
|
|
123
|
+
All 21 skills are **automatically available** with claude-flow MCP server. No setup required - just use them!
|
|
124
|
+
|
|
125
|
+
### 🧠 AI & Memory (3 skills)
|
|
126
|
+
|
|
127
|
+
#### 1. **agentdb-memory-patterns**
|
|
128
|
+
```yaml
|
|
129
|
+
description: "Implement persistent memory patterns for AI agents using AgentDB.
|
|
130
|
+
Includes session memory, long-term storage, pattern learning, and context management.
|
|
131
|
+
Use when building stateful agents, chat systems, or intelligent assistants."
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**Key capabilities:**
|
|
135
|
+
- Session memory across conversations
|
|
136
|
+
- Long-term pattern storage
|
|
137
|
+
- Context management with AgentDB
|
|
138
|
+
- Cross-agent memory sharing
|
|
139
|
+
|
|
140
|
+
**When to use:**
|
|
141
|
+
- Building chatbots with memory
|
|
142
|
+
- Creating stateful AI assistants
|
|
143
|
+
- Implementing conversation history
|
|
144
|
+
- Pattern recognition tasks
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
#### 2. **agentdb-vector-search**
|
|
149
|
+
```yaml
|
|
150
|
+
description: "Implement semantic vector search with AgentDB for intelligent
|
|
151
|
+
document retrieval, similarity matching, and context-aware querying. Use when
|
|
152
|
+
building RAG systems, semantic search engines, or intelligent knowledge bases."
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**Key capabilities:**
|
|
156
|
+
- 150x-12,500x faster than traditional search
|
|
157
|
+
- Semantic similarity matching
|
|
158
|
+
- Vector embeddings with AgentDB
|
|
159
|
+
- Intelligent document retrieval
|
|
160
|
+
|
|
161
|
+
**When to use:**
|
|
162
|
+
- RAG (Retrieval Augmented Generation) systems
|
|
163
|
+
- Documentation search
|
|
164
|
+
- Code similarity detection
|
|
165
|
+
- Recommendation engines
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
#### 3. **reasoningbank-intelligence**
|
|
170
|
+
```yaml
|
|
171
|
+
description: "Implement adaptive learning with ReasoningBank for pattern recognition,
|
|
172
|
+
strategy optimization, and continuous improvement. Use when building self-learning
|
|
173
|
+
agents, optimizing workflows, or implementing meta-cognitive systems."
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**Key capabilities:**
|
|
177
|
+
- Pattern learning from execution
|
|
178
|
+
- Strategy optimization
|
|
179
|
+
- 46% performance improvement over time
|
|
180
|
+
- Meta-cognitive capabilities
|
|
181
|
+
|
|
182
|
+
**When to use:**
|
|
183
|
+
- Self-improving agents
|
|
184
|
+
- Workflow optimization
|
|
185
|
+
- Pattern-based decision making
|
|
186
|
+
- Continuous improvement systems
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
### ☁️ Flow Nexus Platform (3 skills)
|
|
191
|
+
|
|
192
|
+
#### 4. **flow-nexus-platform**
|
|
193
|
+
```yaml
|
|
194
|
+
description: "Comprehensive Flow Nexus platform management - authentication,
|
|
195
|
+
sandboxes, app deployment, payments, and challenges."
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
**Key capabilities:**
|
|
199
|
+
- User authentication and management
|
|
200
|
+
- E2B sandbox deployment
|
|
201
|
+
- Application marketplace
|
|
202
|
+
- Payment and credit systems
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
#### 5. **flow-nexus-neural**
|
|
207
|
+
```yaml
|
|
208
|
+
description: "Train and deploy neural networks in distributed E2B sandboxes
|
|
209
|
+
with Flow Nexus."
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
**Key capabilities:**
|
|
213
|
+
- Distributed neural network training
|
|
214
|
+
- Cloud-based model deployment
|
|
215
|
+
- WASM acceleration
|
|
216
|
+
- Multi-node coordination
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
#### 6. **flow-nexus-swarm**
|
|
221
|
+
```yaml
|
|
222
|
+
description: "Cloud-based AI swarm deployment and event-driven workflow
|
|
223
|
+
automation with Flow Nexus platform."
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
**Key capabilities:**
|
|
227
|
+
- Cloud swarm deployment
|
|
228
|
+
- Event-driven workflows
|
|
229
|
+
- Message queue processing
|
|
230
|
+
- Scalable agent coordination
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
### 🐙 GitHub Integration (5 skills)
|
|
235
|
+
|
|
236
|
+
**When to use GitHub skills:**
|
|
237
|
+
- Automated code reviews
|
|
238
|
+
- Multi-repo synchronization
|
|
239
|
+
- Release management
|
|
240
|
+
- CI/CD pipeline creation
|
|
241
|
+
- Project board automation
|
|
242
|
+
|
|
243
|
+
#### 7. **github-code-review**
|
|
244
|
+
```yaml
|
|
245
|
+
description: "Comprehensive GitHub code review with AI-powered swarm coordination."
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
**Key capabilities:**
|
|
249
|
+
- Multi-agent code analysis
|
|
250
|
+
- Security vulnerability detection
|
|
251
|
+
- Performance bottleneck identification
|
|
252
|
+
- Automated PR reviews
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
#### 8. **github-multi-repo**
|
|
257
|
+
```yaml
|
|
258
|
+
description: "Multi-repository coordination, synchronization, and architecture
|
|
259
|
+
management with AI swarm orchestration."
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
**Key capabilities:**
|
|
263
|
+
- Cross-repo synchronization
|
|
264
|
+
- Version alignment
|
|
265
|
+
- Dependency management
|
|
266
|
+
- Organization-wide automation
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
#### 9. **github-project-management**
|
|
271
|
+
```yaml
|
|
272
|
+
description: "Comprehensive GitHub project management with swarm-coordinated
|
|
273
|
+
issue tracking, project board automation, and sprint planning."
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
**Key capabilities:**
|
|
277
|
+
- Intelligent issue tracking
|
|
278
|
+
- Project board automation
|
|
279
|
+
- Sprint planning
|
|
280
|
+
- Team coordination
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
#### 10. **github-release-management**
|
|
285
|
+
```yaml
|
|
286
|
+
description: "Comprehensive GitHub release orchestration with AI swarm coordination
|
|
287
|
+
for automated versioning, testing, deployment, and rollback management."
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
**Key capabilities:**
|
|
291
|
+
- Automated versioning
|
|
292
|
+
- Release orchestration
|
|
293
|
+
- Testing coordination
|
|
294
|
+
- Rollback management
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
#### 11. **github-workflow-automation**
|
|
299
|
+
```yaml
|
|
300
|
+
description: "Advanced GitHub Actions workflow automation with AI swarm coordination,
|
|
301
|
+
intelligent CI/CD pipelines, and comprehensive repository management."
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
**Key capabilities:**
|
|
305
|
+
- CI/CD pipeline automation
|
|
306
|
+
- Workflow optimization
|
|
307
|
+
- Intelligent build coordination
|
|
308
|
+
- Repository automation
|
|
309
|
+
|
|
310
|
+
---
|
|
311
|
+
|
|
312
|
+
### 🤖 Swarm & Orchestration (4 skills)
|
|
313
|
+
|
|
314
|
+
#### 12. **swarm-orchestration**
|
|
315
|
+
```yaml
|
|
316
|
+
description: "Orchestrate multi-agent swarms with agentic-flow for parallel task
|
|
317
|
+
execution, dynamic topology, and intelligent coordination. Use when scaling beyond
|
|
318
|
+
single agents, implementing complex workflows, or building distributed AI systems."
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
**Key capabilities:**
|
|
322
|
+
- Multi-agent coordination
|
|
323
|
+
- Dynamic topology selection
|
|
324
|
+
- Parallel task execution
|
|
325
|
+
- Distributed decision making
|
|
326
|
+
|
|
327
|
+
**When to use:**
|
|
328
|
+
- Complex multi-step tasks
|
|
329
|
+
- Parallel code generation
|
|
330
|
+
- Distributed code reviews
|
|
331
|
+
- Large-scale refactoring
|
|
332
|
+
|
|
333
|
+
---
|
|
334
|
+
|
|
335
|
+
#### 13. **swarm-advanced**
|
|
336
|
+
```yaml
|
|
337
|
+
description: "Advanced swarm orchestration patterns for research, development,
|
|
338
|
+
testing, and complex distributed workflows."
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
**Key capabilities:**
|
|
342
|
+
- Research swarms
|
|
343
|
+
- Development coordination
|
|
344
|
+
- Testing automation
|
|
345
|
+
- Complex workflow patterns
|
|
346
|
+
|
|
347
|
+
---
|
|
348
|
+
|
|
349
|
+
#### 14. **hive-mind-advanced**
|
|
350
|
+
```yaml
|
|
351
|
+
description: "Advanced Hive Mind collective intelligence system for queen-led
|
|
352
|
+
multi-agent coordination with consensus mechanisms and persistent memory."
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
**Key capabilities:**
|
|
356
|
+
- Queen-led coordination
|
|
357
|
+
- Consensus mechanisms
|
|
358
|
+
- Collective intelligence
|
|
359
|
+
- Hierarchical decision making
|
|
360
|
+
|
|
361
|
+
---
|
|
362
|
+
|
|
363
|
+
#### 15. **stream-chain**
|
|
364
|
+
```yaml
|
|
365
|
+
description: "Stream-JSON chaining for multi-agent pipelines, data transformation,
|
|
366
|
+
and sequential workflows."
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
**Key capabilities:**
|
|
370
|
+
- Pipeline processing
|
|
371
|
+
- Data transformation
|
|
372
|
+
- Sequential workflows
|
|
373
|
+
- Stream processing
|
|
374
|
+
|
|
375
|
+
---
|
|
376
|
+
|
|
377
|
+
### 📊 Development & Quality (3 skills)
|
|
378
|
+
|
|
379
|
+
#### 16. **sparc-methodology**
|
|
380
|
+
```yaml
|
|
381
|
+
description: "SPARC (Specification, Pseudocode, Architecture, Refinement, Completion)
|
|
382
|
+
comprehensive development methodology with multi-agent orchestration."
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
**Key capabilities:**
|
|
386
|
+
- Systematic development phases
|
|
387
|
+
- Specification-driven design
|
|
388
|
+
- Test-driven development
|
|
389
|
+
- Multi-agent coordination
|
|
390
|
+
|
|
391
|
+
**When to use:**
|
|
392
|
+
- Complex feature development
|
|
393
|
+
- Architecture design
|
|
394
|
+
- Systematic refactoring
|
|
395
|
+
- Team development workflows
|
|
396
|
+
|
|
397
|
+
---
|
|
398
|
+
|
|
399
|
+
#### 17. **pair-programming**
|
|
400
|
+
```yaml
|
|
401
|
+
description: "AI-assisted pair programming with multiple modes (driver/navigator/switch),
|
|
402
|
+
real-time verification, quality monitoring, and comprehensive testing. Supports TDD,
|
|
403
|
+
debugging, refactoring, and learning sessions."
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
**Key capabilities:**
|
|
407
|
+
- Driver/Navigator modes
|
|
408
|
+
- Real-time verification
|
|
409
|
+
- TDD workflows
|
|
410
|
+
- Quality monitoring
|
|
411
|
+
|
|
412
|
+
---
|
|
413
|
+
|
|
414
|
+
#### 18. **verification-quality**
|
|
415
|
+
```yaml
|
|
416
|
+
description: "Comprehensive truth scoring, code quality verification, and automatic
|
|
417
|
+
rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs
|
|
418
|
+
and codebase reliability."
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
**Key capabilities:**
|
|
422
|
+
- Truth scoring
|
|
423
|
+
- Quality verification
|
|
424
|
+
- Automatic rollback
|
|
425
|
+
- Reliability assurance
|
|
426
|
+
|
|
427
|
+
---
|
|
428
|
+
|
|
429
|
+
### 🔧 Automation & Tools (2 skills)
|
|
430
|
+
|
|
431
|
+
#### 19. **hooks-automation**
|
|
432
|
+
```yaml
|
|
433
|
+
description: "Automated coordination, formatting, and learning from Claude Code
|
|
434
|
+
operations using intelligent hooks with MCP integration. Includes pre/post task
|
|
435
|
+
hooks, session management, Git integration, memory coordination, and neural pattern
|
|
436
|
+
training for enhanced development workflows."
|
|
437
|
+
```
|
|
438
|
+
|
|
439
|
+
**Key capabilities:**
|
|
440
|
+
- Pre/post task automation
|
|
441
|
+
- Session management
|
|
442
|
+
- Git integration
|
|
443
|
+
- Neural pattern training
|
|
444
|
+
|
|
445
|
+
---
|
|
446
|
+
|
|
447
|
+
#### 20. **skill-builder**
|
|
448
|
+
```yaml
|
|
449
|
+
description: "Create new Claude Code Skills with proper YAML frontmatter, progressive
|
|
450
|
+
disclosure structure, and complete directory organization. Use when you need to build
|
|
451
|
+
custom skills for specific workflows, generate skill templates, or understand the
|
|
452
|
+
Claude Skills specification."
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
**Key capabilities:**
|
|
456
|
+
- Interactive skill generation
|
|
457
|
+
- YAML validation
|
|
458
|
+
- Template system
|
|
459
|
+
- Best practices
|
|
460
|
+
|
|
461
|
+
---
|
|
462
|
+
|
|
463
|
+
### ⚡ Performance & Analysis (1 skill)
|
|
464
|
+
|
|
465
|
+
#### 21. **performance-analysis**
|
|
466
|
+
```yaml
|
|
467
|
+
description: "Comprehensive performance analysis, bottleneck detection, and
|
|
468
|
+
optimization recommendations for Claude Flow swarms."
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
**Key capabilities:**
|
|
472
|
+
- Bottleneck detection
|
|
473
|
+
- Performance profiling
|
|
474
|
+
- Optimization recommendations
|
|
475
|
+
- Metrics collection
|
|
476
|
+
|
|
477
|
+
---
|
|
478
|
+
|
|
479
|
+
---
|
|
480
|
+
|
|
481
|
+
## 🎬 Skills in Action
|
|
482
|
+
|
|
483
|
+
### Single Skill Examples
|
|
484
|
+
|
|
485
|
+
#### Example 1: Semantic Search (agentdb-vector-search)
|
|
486
|
+
|
|
487
|
+
```
|
|
488
|
+
You: "Add semantic search to our documentation site"
|
|
489
|
+
|
|
490
|
+
Claude (using agentdb-vector-search skill):
|
|
491
|
+
├─ Analyzes your documentation structure
|
|
492
|
+
├─ Sets up AgentDB vector database
|
|
493
|
+
├─ Generates embeddings for all docs
|
|
494
|
+
├─ Implements search API endpoint
|
|
495
|
+
├─ Creates search UI component
|
|
496
|
+
└─ Adds relevance scoring
|
|
497
|
+
|
|
498
|
+
Result: Working semantic search in minutes
|
|
499
|
+
Performance: 150x faster than traditional search
|
|
500
|
+
Learning: Pattern stored for 46% faster next time
|
|
501
|
+
```
|
|
502
|
+
|
|
503
|
+
---
|
|
504
|
+
|
|
505
|
+
#### Example 2: Code Review (github-code-review)
|
|
506
|
+
|
|
507
|
+
```
|
|
508
|
+
You: "Review PR #123 for security and performance"
|
|
509
|
+
|
|
510
|
+
Claude (using github-code-review skill):
|
|
511
|
+
├─ Spawns security auditor agent
|
|
512
|
+
├─ Spawns performance analyzer agent
|
|
513
|
+
├─ Spawns code quality reviewer agent
|
|
514
|
+
├─ Coordinates findings via shared memory
|
|
515
|
+
└─ Generates unified review report
|
|
516
|
+
|
|
517
|
+
Result: Comprehensive multi-angle review
|
|
518
|
+
Agents: 3 specialized reviewers in parallel
|
|
519
|
+
Time: 3.2 seconds for 2,847 files
|
|
520
|
+
```
|
|
521
|
+
|
|
522
|
+
---
|
|
523
|
+
|
|
524
|
+
#### Example 3: SPARC Development (sparc-methodology)
|
|
525
|
+
|
|
526
|
+
```
|
|
527
|
+
You: "Build user authentication system"
|
|
528
|
+
|
|
529
|
+
Claude (using sparc-methodology skill):
|
|
530
|
+
├─ Specification: Requirements analysis
|
|
531
|
+
├─ Pseudocode: Algorithm design
|
|
532
|
+
├─ Architecture: System design
|
|
533
|
+
├─ Refinement: TDD implementation
|
|
534
|
+
└─ Completion: Integration & testing
|
|
535
|
+
|
|
536
|
+
Result: Complete auth system with tests
|
|
537
|
+
Process: Systematic, test-driven approach
|
|
538
|
+
Quality: 90%+ code coverage
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
---
|
|
542
|
+
|
|
543
|
+
### Combined Skills Workflows
|
|
544
|
+
|
|
545
|
+
#### Workflow 1: Full-Stack Development
|
|
546
|
+
|
|
547
|
+
```
|
|
548
|
+
Task: "Build REST API with tests and deploy to GitHub"
|
|
549
|
+
|
|
550
|
+
Skills activated:
|
|
551
|
+
┌─────────────────────────────────────────┐
|
|
552
|
+
│ 1. sparc-methodology │
|
|
553
|
+
│ Plans development phases │
|
|
554
|
+
├─────────────────────────────────────────┤
|
|
555
|
+
│ 2. swarm-orchestration │
|
|
556
|
+
│ Spawns parallel agents: │
|
|
557
|
+
│ ├─ backend-dev (API) │
|
|
558
|
+
│ ├─ tester (tests) │
|
|
559
|
+
│ └─ reviewer (quality) │
|
|
560
|
+
├─────────────────────────────────────────┤
|
|
561
|
+
│ 3. agentdb-memory-patterns │
|
|
562
|
+
│ Coordinates agents via shared memory │
|
|
563
|
+
├─────────────────────────────────────────┤
|
|
564
|
+
│ 4. github-workflow-automation │
|
|
565
|
+
│ Creates CI/CD pipeline │
|
|
566
|
+
├─────────────────────────────────────────┤
|
|
567
|
+
│ 5. verification-quality │
|
|
568
|
+
│ Validates output (0.95 threshold) │
|
|
569
|
+
├─────────────────────────────────────────┤
|
|
570
|
+
│ 6. reasoningbank-intelligence │
|
|
571
|
+
│ Stores patterns for next time │
|
|
572
|
+
└─────────────────────────────────────────┘
|
|
573
|
+
|
|
574
|
+
Result: Production-ready API + CI/CD
|
|
575
|
+
Time: Minutes instead of hours
|
|
576
|
+
Learning: 46% faster on next similar project
|
|
577
|
+
```
|
|
578
|
+
|
|
579
|
+
---
|
|
580
|
+
|
|
581
|
+
#### Workflow 2: Multi-Repo Release
|
|
582
|
+
|
|
583
|
+
```
|
|
584
|
+
Task: "Coordinate release across 5 microservices"
|
|
585
|
+
|
|
586
|
+
Skills activated:
|
|
587
|
+
┌─────────────────────────────────────────┐
|
|
588
|
+
│ 1. github-multi-repo │
|
|
589
|
+
│ Syncs versions across repos │
|
|
590
|
+
├─────────────────────────────────────────┤
|
|
591
|
+
│ 2. github-release-management │
|
|
592
|
+
│ Orchestrates release process │
|
|
593
|
+
├─────────────────────────────────────────┤
|
|
594
|
+
│ 3. swarm-orchestration │
|
|
595
|
+
│ Parallel testing across services │
|
|
596
|
+
├─────────────────────────────────────────┤
|
|
597
|
+
│ 4. verification-quality │
|
|
598
|
+
│ Validates each service │
|
|
599
|
+
└─────────────────────────────────────────┘
|
|
600
|
+
|
|
601
|
+
Result: Coordinated multi-repo release
|
|
602
|
+
Services: 5 microservices in sync
|
|
603
|
+
Safety: Rollback on any failure
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
---
|
|
607
|
+
|
|
608
|
+
#### Workflow 3: Performance Optimization
|
|
609
|
+
|
|
610
|
+
```
|
|
611
|
+
Task: "Optimize slow React application"
|
|
612
|
+
|
|
613
|
+
Skills activated:
|
|
614
|
+
┌─────────────────────────────────────────┐
|
|
615
|
+
│ 1. performance-analysis │
|
|
616
|
+
│ Identifies bottlenecks │
|
|
617
|
+
├─────────────────────────────────────────┤
|
|
618
|
+
│ 2. agentdb-vector-search │
|
|
619
|
+
│ Finds similar optimization patterns │
|
|
620
|
+
├─────────────────────────────────────────┤
|
|
621
|
+
│ 3. reasoningbank-intelligence │
|
|
622
|
+
│ Applies learned optimizations │
|
|
623
|
+
├─────────────────────────────────────────┤
|
|
624
|
+
│ 4. pair-programming │
|
|
625
|
+
│ Guides implementation step-by-step │
|
|
626
|
+
└─────────────────────────────────────────┘
|
|
627
|
+
|
|
628
|
+
Result: 4x performance improvement
|
|
629
|
+
Approach: Data-driven + pattern-based
|
|
630
|
+
Validation: Before/after metrics
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
---
|
|
634
|
+
|
|
635
|
+
## 🔗 Combining Skills for Complex Workflows
|
|
636
|
+
|
|
637
|
+
### How the Systems Work Together
|
|
638
|
+
|
|
639
|
+
```
|
|
640
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
641
|
+
│ Claude Code (User) │
|
|
642
|
+
└────────────────┬───────────────────────┬────────────────────┘
|
|
643
|
+
│ │
|
|
644
|
+
┌────────────▼─────────┐ ┌────────▼──────────┐
|
|
645
|
+
│ claude-flow Skills │ │ agentic-flow Skills│
|
|
646
|
+
│ (21 Built-In) │ │ (Custom Created) │
|
|
647
|
+
└────────────┬─────────┘ └────────┬──────────┘
|
|
648
|
+
│ │
|
|
649
|
+
│ ┌──────────────────┘
|
|
650
|
+
│ │
|
|
651
|
+
┌────────────▼────▼──────────────────────────────┐
|
|
652
|
+
│ MCP Integration Layer │
|
|
653
|
+
│ • claude-flow: 213+ coordination tools │
|
|
654
|
+
│ • ruv-swarm: Enhanced coordination │
|
|
655
|
+
│ • flow-nexus: Cloud capabilities │
|
|
656
|
+
│ • agentic-flow: Multi-provider agent runtime │
|
|
657
|
+
└────────────┬───────────────────────────────────┘
|
|
658
|
+
│
|
|
659
|
+
┌────────────▼───────────────────────────────────┐
|
|
660
|
+
│ Execution & Memory Layer │
|
|
661
|
+
│ • AgentDB: Vector search + memory │
|
|
662
|
+
│ • ReasoningBank: Pattern learning │
|
|
663
|
+
│ • 54 Specialized Agents │
|
|
664
|
+
│ • SPARC Methodology │
|
|
665
|
+
└────────────────────────────────────────────────┘
|
|
666
|
+
```
|
|
667
|
+
|
|
668
|
+
### Skill Discovery Process
|
|
669
|
+
|
|
670
|
+
**When Claude Code starts:**
|
|
671
|
+
|
|
672
|
+
1. **Personal Skills** (`~/.claude/skills/`)
|
|
673
|
+
- Loads custom skills you've created
|
|
674
|
+
- Available across all projects
|
|
675
|
+
|
|
676
|
+
2. **Project Skills** (`.claude/skills/`)
|
|
677
|
+
- Loads team-shared skills
|
|
678
|
+
- Version-controlled with git
|
|
679
|
+
|
|
680
|
+
3. **Built-In Skills** (from claude-flow MCP)
|
|
681
|
+
- 21 pre-configured skills
|
|
682
|
+
- Automatically loaded via MCP
|
|
683
|
+
|
|
684
|
+
4. **Skill Activation**
|
|
685
|
+
- Claude matches task description to skill descriptions
|
|
686
|
+
- Loads full skill content when matched
|
|
687
|
+
- Can use multiple skills simultaneously
|
|
688
|
+
|
|
689
|
+
### Example: Full Integration
|
|
690
|
+
|
|
691
|
+
```
|
|
692
|
+
User Request: "Build a REST API with comprehensive tests and deploy to GitHub"
|
|
693
|
+
|
|
694
|
+
Claude Code coordinates:
|
|
695
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
696
|
+
│ 1. sparc-methodology skill │
|
|
697
|
+
│ └─> Plans systematic development phases │
|
|
698
|
+
├─────────────────────────────────────────────────────────────┤
|
|
699
|
+
│ 2. swarm-orchestration skill │
|
|
700
|
+
│ ├─> Spawns backend-dev agent (API implementation) │
|
|
701
|
+
│ ├─> Spawns tester agent (test creation) │
|
|
702
|
+
│ └─> Spawns reviewer agent (code review) │
|
|
703
|
+
├─────────────────────────────────────────────────────────────┤
|
|
704
|
+
│ 3. agentdb-memory-patterns skill │
|
|
705
|
+
│ └─> Coordinates agents via shared memory │
|
|
706
|
+
├─────────────────────────────────────────────────────────────┤
|
|
707
|
+
│ 4. github-workflow-automation skill │
|
|
708
|
+
│ └─> Creates CI/CD pipeline │
|
|
709
|
+
├─────────────────────────────────────────────────────────────┤
|
|
710
|
+
│ 5. verification-quality skill │
|
|
711
|
+
│ └─> Validates output quality (0.95 threshold) │
|
|
712
|
+
├─────────────────────────────────────────────────────────────┤
|
|
713
|
+
│ 6. reasoningbank-intelligence skill │
|
|
714
|
+
│ └─> Stores successful patterns for future use │
|
|
715
|
+
└─────────────────────────────────────────────────────────────┘
|
|
716
|
+
|
|
717
|
+
MCP Tools Used:
|
|
718
|
+
- mcp__claude-flow__swarm_init (topology setup)
|
|
719
|
+
- mcp__claude-flow__agent_spawn (create agents)
|
|
720
|
+
- mcp__claude-flow__memory_usage (coordination)
|
|
721
|
+
- mcp__claude-flow__github_workflow_auto (CI/CD)
|
|
722
|
+
|
|
723
|
+
Result: Complete REST API with tests, deployed to GitHub,
|
|
724
|
+
patterns stored for 46% faster next execution
|
|
725
|
+
```
|
|
726
|
+
|
|
727
|
+
---
|
|
728
|
+
|
|
729
|
+
## 💡 Benefits
|
|
730
|
+
|
|
731
|
+
### 1. **Context Persistence** 🧠
|
|
732
|
+
Unlike prompts that reset every session, Skills maintain context through AgentDB:
|
|
733
|
+
```javascript
|
|
734
|
+
// Traditional: Context lost every time
|
|
735
|
+
"Please analyze this API design" // Forgets previous analyses
|
|
736
|
+
|
|
737
|
+
// With Skills: Context accumulates
|
|
738
|
+
AgentDB stores: [previous API patterns, success metrics, failure cases]
|
|
739
|
+
Skill applies: Learned best practices from 100+ prior analyses
|
|
740
|
+
```
|
|
741
|
+
|
|
742
|
+
### 2. **Adaptive Intelligence** 🎯
|
|
743
|
+
Skills learn and improve through feedback loops:
|
|
744
|
+
- **First run**: 70% success rate, generic approach
|
|
745
|
+
- **After 10 runs**: 90% success rate, optimized patterns
|
|
746
|
+
- **After 100 runs**: Domain expertise encoded in memory graph
|
|
747
|
+
|
|
748
|
+
### 3. **Modular Reusability** 🔧
|
|
749
|
+
Build once, use everywhere:
|
|
750
|
+
```bash
|
|
751
|
+
# Personal project
|
|
752
|
+
~/.claude/skills/api-design/
|
|
753
|
+
|
|
754
|
+
# Team repository
|
|
755
|
+
.claude/skills/api-design/
|
|
756
|
+
|
|
757
|
+
# Organization-wide
|
|
758
|
+
Shared across all Claude Code instances
|
|
759
|
+
```
|
|
760
|
+
|
|
761
|
+
### 4. **Multi-Agent Coordination** 🤝
|
|
762
|
+
Skills orchestrate complex workflows automatically:
|
|
763
|
+
```
|
|
764
|
+
Swarm Orchestration Skill:
|
|
765
|
+
1. Spawn coder agent (write implementation)
|
|
766
|
+
2. Spawn tester agent (write tests)
|
|
767
|
+
3. Spawn reviewer agent (code review)
|
|
768
|
+
4. Coordinate via shared AgentDB memory
|
|
769
|
+
5. Synthesize final output
|
|
770
|
+
```
|
|
771
|
+
|
|
772
|
+
### 5. **Traceable Reasoning** 📊
|
|
773
|
+
Every decision leaves an audit trail:
|
|
774
|
+
- What skill was activated?
|
|
775
|
+
- What reasoning pattern was applied?
|
|
776
|
+
- What memory was retrieved from AgentDB?
|
|
777
|
+
- What was the confidence score?
|
|
778
|
+
- What feedback was recorded?
|
|
779
|
+
|
|
780
|
+
### 6. **Zero Configuration** ⚡
|
|
781
|
+
Skills auto-discover and self-organize:
|
|
782
|
+
```bash
|
|
783
|
+
# Create skill directory
|
|
784
|
+
npx agentic-flow skills init
|
|
785
|
+
|
|
786
|
+
# Create example skills
|
|
787
|
+
npx agentic-flow skills create
|
|
788
|
+
|
|
789
|
+
# That's it! Claude Code finds them automatically
|
|
790
|
+
```
|
|
791
|
+
|
|
792
|
+
---
|
|
793
|
+
|
|
794
|
+
## 🚀 Quick Start
|
|
795
|
+
|
|
796
|
+
### Prerequisites
|
|
797
|
+
|
|
798
|
+
```bash
|
|
799
|
+
# Verify Node.js installation
|
|
800
|
+
node --version # v18.0.0 or higher
|
|
801
|
+
npm --version # v9.0.0 or higher
|
|
802
|
+
|
|
803
|
+
# Option 1: Install claude-flow (includes 21 built-in skills + 213+ MCP tools)
|
|
804
|
+
npm install -g claude-flow@alpha
|
|
805
|
+
npx claude-flow --version # Should show 2.7.0 or higher
|
|
806
|
+
|
|
807
|
+
# Option 2: Install agentic-flow (for custom skill creation)
|
|
808
|
+
npm install -g agentic-flow@latest
|
|
809
|
+
npx agentic-flow --version # Should show 1.7.3 or higher
|
|
810
|
+
|
|
811
|
+
# Recommended: Install both for full capabilities
|
|
812
|
+
npm install -g claude-flow@alpha agentic-flow@latest
|
|
813
|
+
```
|
|
814
|
+
|
|
815
|
+
### Setup MCP Servers
|
|
816
|
+
|
|
817
|
+
```bash
|
|
818
|
+
# Add claude-flow MCP server (required for 21 built-in skills)
|
|
819
|
+
claude mcp add claude-flow npx claude-flow@alpha mcp start
|
|
820
|
+
|
|
821
|
+
# Optional: Add additional MCP servers for enhanced capabilities
|
|
822
|
+
claude mcp add ruv-swarm npx ruv-swarm mcp start # Enhanced coordination
|
|
823
|
+
claude mcp add flow-nexus npx flow-nexus@latest mcp start # Cloud features
|
|
824
|
+
claude mcp add agentic-flow npx agentic-flow@latest mcp start # Multi-provider agents
|
|
825
|
+
|
|
826
|
+
# Verify MCP servers are running
|
|
827
|
+
claude mcp list
|
|
828
|
+
|
|
829
|
+
# Should show:
|
|
830
|
+
# claude-flow@alpha npx claude-flow@alpha mcp start ✓ Running
|
|
831
|
+
```
|
|
832
|
+
|
|
833
|
+
### Step 1: Initialize Skills Directories
|
|
834
|
+
|
|
835
|
+
```bash
|
|
836
|
+
# Initialize both personal and project skills
|
|
837
|
+
npx agentic-flow skills init
|
|
838
|
+
```
|
|
839
|
+
|
|
840
|
+
**What this does:**
|
|
841
|
+
- ✅ Creates `~/.claude/skills/` (personal, global)
|
|
842
|
+
- ✅ Creates `.claude/skills/` (project, version-controlled)
|
|
843
|
+
|
|
844
|
+
**Output:**
|
|
845
|
+
```
|
|
846
|
+
🎨 Initializing agentic-flow Skills
|
|
847
|
+
═══════════════════════════════════════════════════════════════
|
|
848
|
+
|
|
849
|
+
✓ Created personal skills directory: /home/user/.claude/skills
|
|
850
|
+
✓ Created project skills directory: /workspace/.claude/skills
|
|
851
|
+
|
|
852
|
+
✓ Skills directories initialized!
|
|
853
|
+
```
|
|
854
|
+
|
|
855
|
+
> 💡 **Pro Tip**: Personal skills are available across ALL projects. Project skills are team-shared via git.
|
|
856
|
+
|
|
857
|
+
---
|
|
858
|
+
|
|
859
|
+
### Step 2: Create Example Skills
|
|
860
|
+
|
|
861
|
+
```bash
|
|
862
|
+
# Create 4 built-in agentic-flow skills
|
|
863
|
+
npx agentic-flow skills create
|
|
864
|
+
```
|
|
865
|
+
|
|
866
|
+
**What you get:**
|
|
867
|
+
```
|
|
868
|
+
✓ Created 4 agentic-flow skills!
|
|
869
|
+
|
|
870
|
+
Skills installed:
|
|
871
|
+
• AgentDB Vector Search - Semantic search with vector embeddings
|
|
872
|
+
• AgentDB Memory Patterns - Memory management & persistence
|
|
873
|
+
• Swarm Orchestration - Multi-agent coordination
|
|
874
|
+
• ReasoningBank Intelligence - Pattern learning & adaptation
|
|
875
|
+
```
|
|
876
|
+
|
|
877
|
+
**File structure:**
|
|
878
|
+
```
|
|
879
|
+
.claude/skills/
|
|
880
|
+
├── agentdb-vector-search/
|
|
881
|
+
│ └── SKILL.md
|
|
882
|
+
├── agentdb-memory-patterns/
|
|
883
|
+
│ └── SKILL.md
|
|
884
|
+
├── swarm-orchestration/
|
|
885
|
+
│ └── SKILL.md
|
|
886
|
+
└── reasoningbank-intelligence/
|
|
887
|
+
└── SKILL.md
|
|
888
|
+
```
|
|
889
|
+
|
|
890
|
+
---
|
|
891
|
+
|
|
892
|
+
### Step 3: Install Skill Builder Framework
|
|
893
|
+
|
|
894
|
+
```bash
|
|
895
|
+
# Install the comprehensive skill creation framework
|
|
896
|
+
npx agentic-flow skills init-builder
|
|
897
|
+
```
|
|
898
|
+
|
|
899
|
+
**What this provides:**
|
|
900
|
+
- ✅ **Interactive skill generator** - Build skills through guided prompts
|
|
901
|
+
- ✅ **3 skill templates** - Minimal, full-featured, and advanced patterns
|
|
902
|
+
- ✅ **YAML validation** - Automatic frontmatter verification
|
|
903
|
+
- ✅ **Generation scripts** - Automated skill scaffolding
|
|
904
|
+
- ✅ **Best practices guide** - Industry-standard patterns
|
|
905
|
+
- ✅ **Example skills** - Real-world implementations
|
|
906
|
+
|
|
907
|
+
**File structure:**
|
|
908
|
+
```
|
|
909
|
+
.claude/skills/skill-builder/
|
|
910
|
+
├── SKILL.md # Main skill-builder skill
|
|
911
|
+
├── README.md # Quick reference guide
|
|
912
|
+
├── docs/
|
|
913
|
+
│ ├── SPECIFICATION.md # Complete Claude Skills spec
|
|
914
|
+
│ ├── EXAMPLES.md # Real-world examples
|
|
915
|
+
│ └── BEST_PRACTICES.md # Design patterns
|
|
916
|
+
├── scripts/
|
|
917
|
+
│ ├── generate-skill.sh # Interactive skill generator
|
|
918
|
+
│ ├── validate-skill.sh # YAML/structure validator
|
|
919
|
+
│ ├── test-skill.sh # Skill testing utility
|
|
920
|
+
│ └── publish-skill.sh # Team sharing helper
|
|
921
|
+
├── resources/
|
|
922
|
+
│ ├── templates/ # Pre-built skill templates
|
|
923
|
+
│ │ ├── minimal.md # Basic skill structure
|
|
924
|
+
│ │ ├── full-featured.md # Complete with all sections
|
|
925
|
+
│ │ └── advanced.md # Multi-agent coordination
|
|
926
|
+
│ └── schemas/
|
|
927
|
+
│ ├── skill-schema.json # JSON schema for validation
|
|
928
|
+
│ └── frontmatter.yaml # YAML frontmatter spec
|
|
929
|
+
└── templates/ # Working example skills
|
|
930
|
+
├── api-design-pattern.md
|
|
931
|
+
├── testing-framework.md
|
|
932
|
+
└── documentation-generator.md
|
|
933
|
+
```
|
|
934
|
+
|
|
935
|
+
**Why use skill-builder?**
|
|
936
|
+
- 🚀 **10x faster** than manual skill creation
|
|
937
|
+
- ✅ **Guaranteed valid** YAML frontmatter
|
|
938
|
+
- 📝 **Best practices** automatically applied
|
|
939
|
+
- 🎨 **Customizable** templates for your domain
|
|
940
|
+
- 🔧 **Team-ready** sharing and validation tools
|
|
941
|
+
|
|
942
|
+
---
|
|
943
|
+
|
|
944
|
+
### Step 4: List All Available Skills
|
|
945
|
+
|
|
946
|
+
```bash
|
|
947
|
+
# See all installed skills
|
|
948
|
+
npx agentic-flow skills list
|
|
949
|
+
```
|
|
950
|
+
|
|
951
|
+
**Output:**
|
|
952
|
+
```
|
|
953
|
+
📚 Installed Claude Code Skills
|
|
954
|
+
═══════════════════════════════════════════════════════════════
|
|
955
|
+
|
|
956
|
+
Personal Skills (~/.claude/skills/)
|
|
957
|
+
• Skill Builder
|
|
958
|
+
Create new Claude Code Skills with proper YAML frontmatter...
|
|
959
|
+
|
|
960
|
+
Project Skills (.claude/skills/)
|
|
961
|
+
• AgentDB Memory Patterns
|
|
962
|
+
Implement persistent memory patterns for AI agents...
|
|
963
|
+
• AgentDB Vector Search
|
|
964
|
+
Implement semantic vector search with AgentDB...
|
|
965
|
+
• Swarm Orchestration
|
|
966
|
+
Orchestrate multi-agent swarms with agentic-flow...
|
|
967
|
+
• ReasoningBank Intelligence
|
|
968
|
+
Implement adaptive learning with ReasoningBank...
|
|
969
|
+
```
|
|
970
|
+
|
|
971
|
+
---
|
|
972
|
+
|
|
973
|
+
## 📚 Understanding the 4 Built-In Sample Skills
|
|
974
|
+
|
|
975
|
+
When you run `npx agentic-flow skills create`, you get 4 production-ready skills:
|
|
976
|
+
|
|
977
|
+
### 1. AgentDB Vector Search
|
|
978
|
+
|
|
979
|
+
**What it does:** Semantic search with 150x-12,500x performance improvement
|
|
980
|
+
|
|
981
|
+
**When to use:**
|
|
982
|
+
- Building RAG (Retrieval Augmented Generation) systems
|
|
983
|
+
- Implementing intelligent search in documentation
|
|
984
|
+
- Creating recommendation engines
|
|
985
|
+
- Finding similar code/content
|
|
986
|
+
|
|
987
|
+
**Key capabilities:**
|
|
988
|
+
```javascript
|
|
989
|
+
// Vector embeddings with AgentDB
|
|
990
|
+
await db.vectorDB.insert(embedding, {
|
|
991
|
+
id: 'doc-123',
|
|
992
|
+
content: 'React hooks tutorial',
|
|
993
|
+
tags: ['react', 'hooks']
|
|
994
|
+
});
|
|
995
|
+
|
|
996
|
+
// Semantic search (finds similar meaning, not just keywords)
|
|
997
|
+
const results = await db.vectorDB.search(queryEmbedding, {
|
|
998
|
+
k: 10, // Top 10 results
|
|
999
|
+
threshold: 0.7 // 70% similarity minimum
|
|
1000
|
+
});
|
|
1001
|
+
```
|
|
1002
|
+
|
|
1003
|
+
**Example use cases:**
|
|
1004
|
+
- Documentation search (search by meaning)
|
|
1005
|
+
- Code similarity detection
|
|
1006
|
+
- Intelligent autocomplete
|
|
1007
|
+
- Content recommendations
|
|
1008
|
+
|
|
1009
|
+
---
|
|
1010
|
+
|
|
1011
|
+
### 2. AgentDB Memory Patterns
|
|
1012
|
+
|
|
1013
|
+
**What it does:** Persistent memory management across sessions
|
|
1014
|
+
|
|
1015
|
+
**When to use:**
|
|
1016
|
+
- Building stateful agents that remember context
|
|
1017
|
+
- Creating chat systems with conversation history
|
|
1018
|
+
- Implementing pattern learning
|
|
1019
|
+
- Storing user preferences
|
|
1020
|
+
|
|
1021
|
+
**Key capabilities:**
|
|
1022
|
+
```javascript
|
|
1023
|
+
// Session memory - persists across conversations
|
|
1024
|
+
await reasoningbank.storeMemory('user_preference', 'dark mode', {
|
|
1025
|
+
namespace: 'settings',
|
|
1026
|
+
sessionId: 'user-123'
|
|
1027
|
+
});
|
|
1028
|
+
|
|
1029
|
+
// Cross-session retrieval
|
|
1030
|
+
const prefs = await reasoningbank.queryMemories('user preferences', {
|
|
1031
|
+
namespace: 'settings',
|
|
1032
|
+
sessionId: 'user-123'
|
|
1033
|
+
});
|
|
1034
|
+
|
|
1035
|
+
// Pattern learning - remember what works
|
|
1036
|
+
await reasoningbank.storePattern({
|
|
1037
|
+
pattern: 'api-pagination',
|
|
1038
|
+
approach: 'cursor-based',
|
|
1039
|
+
success: true,
|
|
1040
|
+
confidence: 0.95
|
|
1041
|
+
});
|
|
1042
|
+
```
|
|
1043
|
+
|
|
1044
|
+
**Example use cases:**
|
|
1045
|
+
- Chat history management
|
|
1046
|
+
- User preference storage
|
|
1047
|
+
- Pattern recognition
|
|
1048
|
+
- Context persistence
|
|
1049
|
+
|
|
1050
|
+
---
|
|
1051
|
+
|
|
1052
|
+
### 3. Swarm Orchestration
|
|
1053
|
+
|
|
1054
|
+
**What it does:** Multi-agent coordination with intelligent task distribution
|
|
1055
|
+
|
|
1056
|
+
**When to use:**
|
|
1057
|
+
- Complex tasks requiring multiple specialized agents
|
|
1058
|
+
- Parallel code generation (frontend + backend + tests)
|
|
1059
|
+
- Comprehensive code reviews
|
|
1060
|
+
- Large-scale refactoring
|
|
1061
|
+
|
|
1062
|
+
**Key capabilities:**
|
|
1063
|
+
```javascript
|
|
1064
|
+
// Initialize coordinated swarm
|
|
1065
|
+
const swarm = await initializeSwarm({
|
|
1066
|
+
topology: 'mesh', // Agents communicate peer-to-peer
|
|
1067
|
+
agents: [
|
|
1068
|
+
{ type: 'coder', focus: 'implementation' },
|
|
1069
|
+
{ type: 'tester', focus: 'test coverage' },
|
|
1070
|
+
{ type: 'reviewer', focus: 'code quality' }
|
|
1071
|
+
],
|
|
1072
|
+
coordination: 'agentdb' // Shared memory
|
|
1073
|
+
});
|
|
1074
|
+
|
|
1075
|
+
// Agents work in parallel, share context via AgentDB
|
|
1076
|
+
for (const agent of swarm.agents) {
|
|
1077
|
+
await agent.execute(); // Parallel execution
|
|
1078
|
+
await agentDB.store(agent.results); // Share findings
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
// Synthesize collective intelligence
|
|
1082
|
+
const synthesis = await agentDB.synthesize({
|
|
1083
|
+
namespace: 'code-review',
|
|
1084
|
+
strategy: 'consensus'
|
|
1085
|
+
});
|
|
1086
|
+
```
|
|
1087
|
+
|
|
1088
|
+
**Example use cases:**
|
|
1089
|
+
- Multi-agent code generation
|
|
1090
|
+
- Distributed code review
|
|
1091
|
+
- Parallel testing workflows
|
|
1092
|
+
- Complex refactoring
|
|
1093
|
+
|
|
1094
|
+
---
|
|
1095
|
+
|
|
1096
|
+
### 4. ReasoningBank Intelligence
|
|
1097
|
+
|
|
1098
|
+
**What it does:** Adaptive learning with 46% performance improvement
|
|
1099
|
+
|
|
1100
|
+
**When to use:**
|
|
1101
|
+
- Tasks you repeat frequently (API design, testing patterns)
|
|
1102
|
+
- Workflows that benefit from learning
|
|
1103
|
+
- Domain-specific knowledge accumulation
|
|
1104
|
+
- Performance optimization
|
|
1105
|
+
|
|
1106
|
+
**Key capabilities:**
|
|
1107
|
+
```javascript
|
|
1108
|
+
// Store successful patterns
|
|
1109
|
+
await reasoningbank.storePattern({
|
|
1110
|
+
domain: 'api-design',
|
|
1111
|
+
pattern: 'authentication',
|
|
1112
|
+
approach: 'JWT with refresh tokens',
|
|
1113
|
+
metrics: {
|
|
1114
|
+
security: 'excellent',
|
|
1115
|
+
performance: 'optimized',
|
|
1116
|
+
maintainability: 'high'
|
|
1117
|
+
},
|
|
1118
|
+
success: true
|
|
1119
|
+
});
|
|
1120
|
+
|
|
1121
|
+
// Query learned patterns
|
|
1122
|
+
const bestApproach = await reasoningbank.queryPatterns('authentication', {
|
|
1123
|
+
domain: 'api-design',
|
|
1124
|
+
sortBy: 'success_rate'
|
|
1125
|
+
});
|
|
1126
|
+
|
|
1127
|
+
// Continuous improvement - learns from each execution
|
|
1128
|
+
// First time: generic approach
|
|
1129
|
+
// After 10 runs: optimized with learned patterns
|
|
1130
|
+
// After 100 runs: domain expertise
|
|
1131
|
+
```
|
|
1132
|
+
|
|
1133
|
+
**Example use cases:**
|
|
1134
|
+
- API design patterns
|
|
1135
|
+
- Testing strategies
|
|
1136
|
+
- Code architecture decisions
|
|
1137
|
+
- Performance optimization
|
|
1138
|
+
|
|
1139
|
+
---
|
|
1140
|
+
|
|
1141
|
+
## 🎨 Using Skills with Claude Code
|
|
1142
|
+
|
|
1143
|
+
### Concept: Autonomous Skill Discovery
|
|
1144
|
+
|
|
1145
|
+
**Claude Code automatically discovers and uses skills** when they're relevant to your task. You don't need to explicitly invoke them. Claude decides when to apply which skill based on context.
|
|
1146
|
+
|
|
1147
|
+
### Workflow 1: Semantic Search Implementation
|
|
1148
|
+
|
|
1149
|
+
**Scenario**: You need to implement semantic search for a documentation site.
|
|
1150
|
+
|
|
1151
|
+
#### Step 1: Ask Claude Code
|
|
1152
|
+
|
|
1153
|
+
Open Claude Code and type:
|
|
1154
|
+
```
|
|
1155
|
+
I need to implement semantic search for our documentation.
|
|
1156
|
+
The docs are in markdown files and I want users to search by meaning, not keywords.
|
|
1157
|
+
```
|
|
1158
|
+
|
|
1159
|
+
#### Step 2: Claude Discovers the Skill
|
|
1160
|
+
|
|
1161
|
+
Claude Code automatically:
|
|
1162
|
+
1. ✅ Scans `.claude/skills/`
|
|
1163
|
+
2. ✅ Finds `agentdb-vector-search/SKILL.md`
|
|
1164
|
+
3. ✅ Recognizes "semantic search" matches skill description
|
|
1165
|
+
4. ✅ Loads skill instructions
|
|
1166
|
+
|
|
1167
|
+
#### Step 3: Claude Applies the Skill
|
|
1168
|
+
|
|
1169
|
+
Claude responds with:
|
|
1170
|
+
```
|
|
1171
|
+
I'll help you implement semantic search using AgentDB's vector search capabilities.
|
|
1172
|
+
I found the AgentDB Vector Search skill which provides a 150x-12,500x performance
|
|
1173
|
+
improvement over traditional search.
|
|
1174
|
+
|
|
1175
|
+
Here's my implementation plan:
|
|
1176
|
+
[Detailed plan based on skill instructions...]
|
|
1177
|
+
```
|
|
1178
|
+
|
|
1179
|
+
#### Step 4: Skill Execution
|
|
1180
|
+
|
|
1181
|
+
Claude follows the skill's reasoning pattern:
|
|
1182
|
+
```javascript
|
|
1183
|
+
// 1. Initialize AgentDB with vector support
|
|
1184
|
+
import { AgentDB } from 'agentdb';
|
|
1185
|
+
|
|
1186
|
+
const db = new AgentDB({
|
|
1187
|
+
mode: 'node',
|
|
1188
|
+
vectorDimensions: 384, // From skill template
|
|
1189
|
+
enableOptimizations: true
|
|
1190
|
+
});
|
|
1191
|
+
|
|
1192
|
+
// 2. Create vector index (from skill instructions)
|
|
1193
|
+
await db.vectorDB.createIndex({
|
|
1194
|
+
dimension: 384,
|
|
1195
|
+
metric: 'cosine'
|
|
1196
|
+
});
|
|
1197
|
+
|
|
1198
|
+
// 3. Index documents with embeddings
|
|
1199
|
+
const docs = await loadMarkdownFiles('./docs/**/*.md');
|
|
1200
|
+
for (const doc of docs) {
|
|
1201
|
+
const embedding = await generateEmbedding(doc.content);
|
|
1202
|
+
await db.vectorDB.insert(embedding, {
|
|
1203
|
+
id: doc.id,
|
|
1204
|
+
title: doc.title,
|
|
1205
|
+
content: doc.content,
|
|
1206
|
+
url: doc.url
|
|
1207
|
+
});
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
// 4. Implement search function
|
|
1211
|
+
async function searchDocs(query) {
|
|
1212
|
+
const queryEmbedding = await generateEmbedding(query);
|
|
1213
|
+
const results = await db.vectorDB.search(queryEmbedding, {
|
|
1214
|
+
k: 10,
|
|
1215
|
+
includeMetadata: true
|
|
1216
|
+
});
|
|
1217
|
+
return results;
|
|
1218
|
+
}
|
|
1219
|
+
```
|
|
1220
|
+
|
|
1221
|
+
#### Step 5: Learning Loop
|
|
1222
|
+
|
|
1223
|
+
After successful execution:
|
|
1224
|
+
```javascript
|
|
1225
|
+
// AgentDB stores the pattern
|
|
1226
|
+
await db.storePattern({
|
|
1227
|
+
skill: 'agentdb-vector-search',
|
|
1228
|
+
task: 'documentation search',
|
|
1229
|
+
approach: 'markdown indexing with 384-dim embeddings',
|
|
1230
|
+
performance: { searchTime: '2ms', accuracy: '95%' },
|
|
1231
|
+
success: true
|
|
1232
|
+
});
|
|
1233
|
+
```
|
|
1234
|
+
|
|
1235
|
+
**Next time**: Claude remembers this approach and applies it 46% faster.
|
|
1236
|
+
|
|
1237
|
+
---
|
|
1238
|
+
|
|
1239
|
+
### Workflow 2: Multi-Agent Code Review
|
|
1240
|
+
|
|
1241
|
+
**Scenario**: You want to review a large codebase with multiple specialized agents.
|
|
1242
|
+
|
|
1243
|
+
#### Step 1: Ask Claude Code
|
|
1244
|
+
|
|
1245
|
+
```
|
|
1246
|
+
I need a comprehensive code review of our TypeScript backend.
|
|
1247
|
+
Check for bugs, security issues, performance problems, and best practices.
|
|
1248
|
+
```
|
|
1249
|
+
|
|
1250
|
+
#### Step 2: Claude Discovers Swarm Orchestration Skill
|
|
1251
|
+
|
|
1252
|
+
Claude Code:
|
|
1253
|
+
1. ✅ Recognizes "comprehensive review" needs multiple specialized agents
|
|
1254
|
+
2. ✅ Loads `swarm-orchestration/SKILL.md`
|
|
1255
|
+
3. ✅ Plans multi-agent coordination
|
|
1256
|
+
|
|
1257
|
+
#### Step 3: Skill Orchestrates Agents
|
|
1258
|
+
|
|
1259
|
+
```
|
|
1260
|
+
I'll coordinate a swarm of specialized review agents:
|
|
1261
|
+
|
|
1262
|
+
Spawning agents:
|
|
1263
|
+
1. Security Auditor - Scanning for vulnerabilities
|
|
1264
|
+
2. Performance Analyzer - Identifying bottlenecks
|
|
1265
|
+
3. Code Quality Reviewer - Checking best practices
|
|
1266
|
+
4. Type Safety Checker - Verifying TypeScript types
|
|
1267
|
+
|
|
1268
|
+
Coordination mode: Mesh topology with shared AgentDB memory
|
|
1269
|
+
```
|
|
1270
|
+
|
|
1271
|
+
#### Step 4: Agents Execute in Parallel
|
|
1272
|
+
|
|
1273
|
+
```javascript
|
|
1274
|
+
// Behind the scenes (from swarm-orchestration skill)
|
|
1275
|
+
const swarm = await initializeSwarm({
|
|
1276
|
+
topology: 'mesh',
|
|
1277
|
+
agents: [
|
|
1278
|
+
{ type: 'security', focus: 'OWASP Top 10' },
|
|
1279
|
+
{ type: 'performance', focus: 'Big O analysis' },
|
|
1280
|
+
{ type: 'quality', focus: 'SOLID principles' },
|
|
1281
|
+
{ type: 'types', focus: 'TypeScript strictness' }
|
|
1282
|
+
],
|
|
1283
|
+
coordination: 'agentdb' // Shared memory via AgentDB
|
|
1284
|
+
});
|
|
1285
|
+
|
|
1286
|
+
// Each agent stores findings in shared memory
|
|
1287
|
+
for (const agent of swarm.agents) {
|
|
1288
|
+
await agent.execute();
|
|
1289
|
+
await agentDB.store(agent.findings, {
|
|
1290
|
+
namespace: 'code-review',
|
|
1291
|
+
agentId: agent.id
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
// Synthesize final report
|
|
1296
|
+
const allFindings = await agentDB.query({
|
|
1297
|
+
namespace: 'code-review',
|
|
1298
|
+
similarity: 'cluster' // Group related issues
|
|
1299
|
+
});
|
|
1300
|
+
```
|
|
1301
|
+
|
|
1302
|
+
#### Step 5: Synthesized Results
|
|
1303
|
+
|
|
1304
|
+
Claude presents unified findings:
|
|
1305
|
+
```
|
|
1306
|
+
Code Review Complete (4 agents, 2,847 files analyzed in 3.2 seconds)
|
|
1307
|
+
|
|
1308
|
+
🔴 Critical (3):
|
|
1309
|
+
- SQL injection vulnerability in auth.ts:42
|
|
1310
|
+
- Unvalidated user input in api/users.ts:156
|
|
1311
|
+
- Memory leak in websocket handler
|
|
1312
|
+
|
|
1313
|
+
🟡 Warnings (12):
|
|
1314
|
+
- N+1 query pattern in database/posts.ts
|
|
1315
|
+
- Missing error boundaries in React components
|
|
1316
|
+
[...]
|
|
1317
|
+
|
|
1318
|
+
✅ Best Practices (8 suggestions):
|
|
1319
|
+
- Consider using dependency injection
|
|
1320
|
+
- Add JSDoc comments for public APIs
|
|
1321
|
+
[...]
|
|
1322
|
+
|
|
1323
|
+
Performance Analysis:
|
|
1324
|
+
- Average response time: 45ms → could be 12ms with caching
|
|
1325
|
+
- Database queries: 234 → could be 67 with batching
|
|
1326
|
+
```
|
|
1327
|
+
|
|
1328
|
+
---
|
|
1329
|
+
|
|
1330
|
+
### Workflow 3: Adaptive Learning with ReasoningBank
|
|
1331
|
+
|
|
1332
|
+
**Scenario**: You're building a REST API and want Claude to learn your patterns.
|
|
1333
|
+
|
|
1334
|
+
#### Step 1: First API Implementation
|
|
1335
|
+
|
|
1336
|
+
```
|
|
1337
|
+
Create a REST API endpoint for user registration.
|
|
1338
|
+
```
|
|
1339
|
+
|
|
1340
|
+
Claude (first time, generic approach):
|
|
1341
|
+
```javascript
|
|
1342
|
+
// Basic implementation (no prior learning)
|
|
1343
|
+
app.post('/api/users', async (req, res) => {
|
|
1344
|
+
const user = await User.create(req.body);
|
|
1345
|
+
res.json(user);
|
|
1346
|
+
});
|
|
1347
|
+
```
|
|
1348
|
+
|
|
1349
|
+
**Result**: Works but missing validation, error handling, security.
|
|
1350
|
+
|
|
1351
|
+
#### Step 2: Feedback & Learning
|
|
1352
|
+
|
|
1353
|
+
```
|
|
1354
|
+
This needs better error handling, validation, and security.
|
|
1355
|
+
```
|
|
1356
|
+
|
|
1357
|
+
Claude improves and stores the pattern:
|
|
1358
|
+
```javascript
|
|
1359
|
+
// Improved implementation
|
|
1360
|
+
app.post('/api/users', [
|
|
1361
|
+
validateRequest(userSchema), // Added validation
|
|
1362
|
+
sanitizeInput(), // Added sanitization
|
|
1363
|
+
async (req, res, next) => {
|
|
1364
|
+
try {
|
|
1365
|
+
const user = await User.create(req.body);
|
|
1366
|
+
res.status(201).json({
|
|
1367
|
+
success: true,
|
|
1368
|
+
data: user
|
|
1369
|
+
});
|
|
1370
|
+
} catch (error) {
|
|
1371
|
+
next(error); // Proper error handling
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
]);
|
|
1375
|
+
|
|
1376
|
+
// AgentDB stores this pattern via ReasoningBank skill
|
|
1377
|
+
await reasoningbank.storePattern({
|
|
1378
|
+
domain: 'rest-api',
|
|
1379
|
+
pattern: 'user-registration',
|
|
1380
|
+
approach: 'validation + sanitization + try-catch',
|
|
1381
|
+
confidence: 0.95
|
|
1382
|
+
});
|
|
1383
|
+
```
|
|
1384
|
+
|
|
1385
|
+
#### Step 3: Second API Implementation (Learning Applied)
|
|
1386
|
+
|
|
1387
|
+
```
|
|
1388
|
+
Create a REST API endpoint for password reset.
|
|
1389
|
+
```
|
|
1390
|
+
|
|
1391
|
+
Claude (with learned patterns):
|
|
1392
|
+
```javascript
|
|
1393
|
+
// Automatically applies learned patterns!
|
|
1394
|
+
app.post('/api/auth/reset-password', [
|
|
1395
|
+
validateRequest(passwordResetSchema), // ✅ Remembered validation
|
|
1396
|
+
sanitizeInput(), // ✅ Remembered sanitization
|
|
1397
|
+
rateLimiter({ max: 5, window: '15m' }), // ✅ Added security best practice
|
|
1398
|
+
async (req, res, next) => {
|
|
1399
|
+
try {
|
|
1400
|
+
const token = await generateResetToken(req.body.email);
|
|
1401
|
+
await sendResetEmail(req.body.email, token);
|
|
1402
|
+
|
|
1403
|
+
res.status(200).json({
|
|
1404
|
+
success: true,
|
|
1405
|
+
message: 'Reset email sent'
|
|
1406
|
+
});
|
|
1407
|
+
} catch (error) {
|
|
1408
|
+
next(error); // ✅ Proper error handling
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
]);
|
|
1412
|
+
```
|
|
1413
|
+
|
|
1414
|
+
**Result**: 46% faster implementation, 90%+ best practices compliance, zero manual reminders.
|
|
1415
|
+
|
|
1416
|
+
---
|
|
1417
|
+
|
|
1418
|
+
## 🤖 Using Skills with Claude Agent SDK & agentic-flow Agents
|
|
1419
|
+
|
|
1420
|
+
### Concept: Programmatic Skill Execution
|
|
1421
|
+
|
|
1422
|
+
The **Claude Agent SDK** (released October 2025) enables programmatic agent development with Skills support. **agentic-flow** extends the SDK with multi-agent coordination, persistent memory, and vector search.
|
|
1423
|
+
|
|
1424
|
+
### Claude Agent SDK Integration
|
|
1425
|
+
|
|
1426
|
+
**Official SDK usage with Skills:**
|
|
1427
|
+
```typescript
|
|
1428
|
+
import { Agent } from '@anthropic-ai/claude-agent-sdk';
|
|
1429
|
+
|
|
1430
|
+
// Create agent (auto-discovers skills in ~/.claude/skills/)
|
|
1431
|
+
const agent = new Agent({
|
|
1432
|
+
apiKey: process.env.ANTHROPIC_API_KEY,
|
|
1433
|
+
model: 'claude-sonnet-4-5-20250929',
|
|
1434
|
+
skillsDir: './.claude/skills' // Project-specific skills
|
|
1435
|
+
});
|
|
1436
|
+
|
|
1437
|
+
// Agent automatically uses relevant skills
|
|
1438
|
+
const result = await agent.run({
|
|
1439
|
+
task: 'Implement semantic search for our documentation'
|
|
1440
|
+
});
|
|
1441
|
+
|
|
1442
|
+
// Skills are loaded automatically based on task description matching
|
|
1443
|
+
```
|
|
1444
|
+
|
|
1445
|
+
### agentic-flow Enhancement of Claude Agent SDK
|
|
1446
|
+
|
|
1447
|
+
**agentic-flow adds enterprise capabilities:**
|
|
1448
|
+
|
|
1449
|
+
```javascript
|
|
1450
|
+
import * as agenticFlow from 'agentic-flow';
|
|
1451
|
+
import { AgentDB } from 'agentdb';
|
|
1452
|
+
|
|
1453
|
+
// Initialize with AgentDB memory backend
|
|
1454
|
+
const db = new AgentDB({
|
|
1455
|
+
mode: 'node',
|
|
1456
|
+
vectorDimensions: 384,
|
|
1457
|
+
enableOptimizations: true
|
|
1458
|
+
});
|
|
1459
|
+
|
|
1460
|
+
// Initialize ReasoningBank with AgentDB
|
|
1461
|
+
await agenticFlow.reasoningbank.initialize({
|
|
1462
|
+
backend: 'agentdb',
|
|
1463
|
+
db
|
|
1464
|
+
});
|
|
1465
|
+
|
|
1466
|
+
// Run agent with persistent learning
|
|
1467
|
+
const agent = await agenticFlow.createAgent({
|
|
1468
|
+
type: 'coder',
|
|
1469
|
+
model: 'claude-sonnet-4-5-20250929',
|
|
1470
|
+
skillsDir: './.claude/skills',
|
|
1471
|
+
memory: db, // Persistent memory across sessions
|
|
1472
|
+
learning: true // Enable ReasoningBank pattern learning
|
|
1473
|
+
});
|
|
1474
|
+
|
|
1475
|
+
// Execute task - skills auto-discovered + patterns learned
|
|
1476
|
+
const result = await agent.execute({
|
|
1477
|
+
task: 'Implement semantic search for our documentation'
|
|
1478
|
+
});
|
|
1479
|
+
|
|
1480
|
+
// Pattern automatically stored in AgentDB for future use
|
|
1481
|
+
// Next time: 46% faster with learned patterns
|
|
1482
|
+
```
|
|
1483
|
+
|
|
1484
|
+
### Multi-Agent Coordination with Skills
|
|
1485
|
+
|
|
1486
|
+
**agentic-flow swarm orchestration:**
|
|
1487
|
+
|
|
1488
|
+
```javascript
|
|
1489
|
+
import * as agenticFlow from 'agentic-flow';
|
|
1490
|
+
|
|
1491
|
+
// Initialize swarm with shared AgentDB memory
|
|
1492
|
+
const swarm = await agenticFlow.swarm.initialize({
|
|
1493
|
+
topology: 'mesh', // Agents communicate peer-to-peer
|
|
1494
|
+
agents: [
|
|
1495
|
+
{
|
|
1496
|
+
type: 'researcher',
|
|
1497
|
+
skillsDir: './.claude/skills', // All agents share skills
|
|
1498
|
+
memory: 'shared' // Shared AgentDB instance
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
type: 'coder',
|
|
1502
|
+
skillsDir: './.claude/skills',
|
|
1503
|
+
memory: 'shared'
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
type: 'tester',
|
|
1507
|
+
skillsDir: './.claude/skills',
|
|
1508
|
+
memory: 'shared'
|
|
1509
|
+
}
|
|
1510
|
+
],
|
|
1511
|
+
coordination: {
|
|
1512
|
+
backend: 'agentdb', // Coordinate via vector memory
|
|
1513
|
+
consensus: 'majority' // Decision-making strategy
|
|
1514
|
+
}
|
|
1515
|
+
});
|
|
1516
|
+
|
|
1517
|
+
// Orchestrate task across multiple agents
|
|
1518
|
+
// Each agent uses relevant skills + shares learnings via AgentDB
|
|
1519
|
+
const result = await swarm.orchestrate({
|
|
1520
|
+
task: 'Build a REST API with comprehensive tests'
|
|
1521
|
+
});
|
|
1522
|
+
|
|
1523
|
+
// All agents contribute patterns to shared memory
|
|
1524
|
+
// Future executions benefit from collective intelligence
|
|
1525
|
+
```
|
|
1526
|
+
|
|
1527
|
+
### Skills + Claude Agent SDK + agentic-flow Architecture
|
|
1528
|
+
|
|
1529
|
+
```
|
|
1530
|
+
┌─────────────────────────────────────────────────────────┐
|
|
1531
|
+
│ User Application │
|
|
1532
|
+
└────────────────────┬────────────────────────────────────┘
|
|
1533
|
+
│
|
|
1534
|
+
┌────────────▼────────────┐
|
|
1535
|
+
│ Claude Agent SDK │ ← Official Anthropic SDK
|
|
1536
|
+
│ - Agent creation │
|
|
1537
|
+
│ - Skill discovery │
|
|
1538
|
+
│ - Task execution │
|
|
1539
|
+
└────────────┬────────────┘
|
|
1540
|
+
│
|
|
1541
|
+
┌────────────▼────────────┐
|
|
1542
|
+
│ agentic-flow Layer │ ← Enterprise features
|
|
1543
|
+
│ - Multi-agent swarms │
|
|
1544
|
+
│ - AgentDB integration │
|
|
1545
|
+
│ - ReasoningBank │
|
|
1546
|
+
│ - Skill-builder │
|
|
1547
|
+
└────────────┬────────────┘
|
|
1548
|
+
│
|
|
1549
|
+
┌───────────────┼───────────────┐
|
|
1550
|
+
│ │ │
|
|
1551
|
+
┌────▼─────┐ ┌─────▼──────┐ ┌────▼──────┐
|
|
1552
|
+
│ Skills │ │ AgentDB │ │ Reasoning │
|
|
1553
|
+
│ (.claude)│ │ (Memory) │ │ Bank │
|
|
1554
|
+
└──────────┘ └────────────┘ └───────────┘
|
|
1555
|
+
```
|
|
1556
|
+
|
|
1557
|
+
While Claude Code uses skills automatically, you can also invoke them programmatically via the agentic-flow agent system.
|
|
1558
|
+
|
|
1559
|
+
### Agent + Skill Integration
|
|
1560
|
+
|
|
1561
|
+
```bash
|
|
1562
|
+
# Run an agent with specific skill context
|
|
1563
|
+
npx agentic-flow \
|
|
1564
|
+
--agent coder \
|
|
1565
|
+
--task "Implement semantic search" \
|
|
1566
|
+
--skill agentdb-vector-search
|
|
1567
|
+
```
|
|
1568
|
+
|
|
1569
|
+
**What happens:**
|
|
1570
|
+
1. Agent loads with skill's reasoning patterns pre-loaded
|
|
1571
|
+
2. Skill provides domain-specific context
|
|
1572
|
+
3. Agent applies skill patterns to the task
|
|
1573
|
+
4. Results stored in AgentDB for future learning
|
|
1574
|
+
|
|
1575
|
+
### Example: Full-Stack Application with Skills
|
|
1576
|
+
|
|
1577
|
+
```bash
|
|
1578
|
+
# Scenario: Build a complete app with coordinated agents
|
|
1579
|
+
npx agentic-flow \
|
|
1580
|
+
--agent swarm \
|
|
1581
|
+
--task "Build a todo app with React + Node + PostgreSQL" \
|
|
1582
|
+
--skill swarm-orchestration
|
|
1583
|
+
```
|
|
1584
|
+
|
|
1585
|
+
**Behind the scenes:**
|
|
1586
|
+
```javascript
|
|
1587
|
+
// swarm-orchestration skill coordinates multiple agents
|
|
1588
|
+
const swarm = {
|
|
1589
|
+
agents: [
|
|
1590
|
+
{ type: 'backend-dev', task: 'Build Node/Express API', skill: 'api-patterns' },
|
|
1591
|
+
{ type: 'frontend-dev', task: 'Build React UI', skill: 'react-patterns' },
|
|
1592
|
+
{ type: 'database-architect', task: 'Design PostgreSQL schema', skill: 'db-design' },
|
|
1593
|
+
{ type: 'tester', task: 'Write Jest tests', skill: 'testing-patterns' },
|
|
1594
|
+
{ type: 'reviewer', task: 'Code review', skill: 'quality-checks' }
|
|
1595
|
+
],
|
|
1596
|
+
coordination: {
|
|
1597
|
+
memory: 'agentdb', // Shared context
|
|
1598
|
+
topology: 'hierarchical', // Backend → Frontend → Tests
|
|
1599
|
+
feedback: 'continuous' // Real-time learning
|
|
1600
|
+
}
|
|
1601
|
+
};
|
|
1602
|
+
|
|
1603
|
+
// Execute with skill-guided reasoning
|
|
1604
|
+
for (const agent of swarm.agents) {
|
|
1605
|
+
const skillContext = await loadSkill(agent.skill);
|
|
1606
|
+
const result = await agent.execute({
|
|
1607
|
+
task: agent.task,
|
|
1608
|
+
context: skillContext,
|
|
1609
|
+
sharedMemory: agentDB
|
|
1610
|
+
});
|
|
1611
|
+
|
|
1612
|
+
// Store patterns for future use
|
|
1613
|
+
await reasoningbank.learn(result);
|
|
1614
|
+
}
|
|
1615
|
+
```
|
|
1616
|
+
|
|
1617
|
+
**Output**: Complete app in minutes with learned best practices applied.
|
|
1618
|
+
|
|
1619
|
+
---
|
|
1620
|
+
|
|
1621
|
+
## 🛠️ Creating Custom Skills
|
|
1622
|
+
|
|
1623
|
+
### When to Create a Custom Skill
|
|
1624
|
+
|
|
1625
|
+
Create a skill when you have a **repeatable reasoning pattern** that:
|
|
1626
|
+
- ✅ You use frequently across projects
|
|
1627
|
+
- ✅ Requires domain-specific knowledge
|
|
1628
|
+
- ✅ Benefits from learning and adaptation
|
|
1629
|
+
- ✅ Needs coordination with other skills/agents
|
|
1630
|
+
|
|
1631
|
+
### Method 1: Using Skill Builder (Recommended)
|
|
1632
|
+
|
|
1633
|
+
The skill-builder framework provides **3 ways** to create skills:
|
|
1634
|
+
|
|
1635
|
+
#### Option A: Interactive Generation with Claude Code
|
|
1636
|
+
|
|
1637
|
+
**Step 1: Ask Claude Code to use skill-builder**
|
|
1638
|
+
|
|
1639
|
+
```
|
|
1640
|
+
Use the skill-builder to create a custom skill for GraphQL API design.
|
|
1641
|
+
I want it to cover schema design, resolvers, and performance optimization.
|
|
1642
|
+
```
|
|
1643
|
+
|
|
1644
|
+
**Step 2: Claude discovers and uses skill-builder skill**
|
|
1645
|
+
|
|
1646
|
+
Claude (automatically loads skill-builder skill):
|
|
1647
|
+
```
|
|
1648
|
+
I'll help you create a GraphQL API Design skill using the skill-builder framework.
|
|
1649
|
+
|
|
1650
|
+
Following the skill-builder template...
|
|
1651
|
+
✓ Analyzing requirements
|
|
1652
|
+
✓ Selecting template: full-featured (comprehensive with examples)
|
|
1653
|
+
✓ Generating YAML frontmatter
|
|
1654
|
+
✓ Creating progressive disclosure structure
|
|
1655
|
+
✓ Adding code examples
|
|
1656
|
+
✓ Validating skill structure
|
|
1657
|
+
|
|
1658
|
+
Creating: .claude/skills/graphql-api-design/SKILL.md
|
|
1659
|
+
```
|
|
1660
|
+
|
|
1661
|
+
**Step 3: Claude generates a complete skill**
|
|
1662
|
+
|
|
1663
|
+
```yaml
|
|
1664
|
+
---
|
|
1665
|
+
name: "GraphQL API Design"
|
|
1666
|
+
description: "Design GraphQL APIs following best practices for schema design,
|
|
1667
|
+
resolvers, and performance. Use when building or refactoring GraphQL services."
|
|
1668
|
+
---
|
|
1669
|
+
|
|
1670
|
+
# GraphQL API Design
|
|
1671
|
+
|
|
1672
|
+
## What This Skill Does
|
|
1673
|
+
Guides the design of GraphQL APIs with focus on schema-first development,
|
|
1674
|
+
efficient resolvers, and query optimization.
|
|
1675
|
+
|
|
1676
|
+
## When to Use
|
|
1677
|
+
- Designing new GraphQL schemas
|
|
1678
|
+
- Refactoring existing APIs
|
|
1679
|
+
- Optimizing query performance
|
|
1680
|
+
- Implementing federation
|
|
1681
|
+
|
|
1682
|
+
## Prerequisites
|
|
1683
|
+
- Node.js 18+
|
|
1684
|
+
- GraphQL 16+
|
|
1685
|
+
- Apollo Server or similar
|
|
1686
|
+
|
|
1687
|
+
## Quick Start
|
|
1688
|
+
|
|
1689
|
+
### 1. Schema Design
|
|
1690
|
+
\`\`\`graphql
|
|
1691
|
+
# Design schema with clear types
|
|
1692
|
+
type User {
|
|
1693
|
+
id: ID!
|
|
1694
|
+
email: String!
|
|
1695
|
+
posts: [Post!]!
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
type Post {
|
|
1699
|
+
id: ID!
|
|
1700
|
+
title: String!
|
|
1701
|
+
content: String!
|
|
1702
|
+
author: User!
|
|
1703
|
+
}
|
|
1704
|
+
\`\`\`
|
|
1705
|
+
|
|
1706
|
+
### 2. Resolver Pattern
|
|
1707
|
+
\`\`\`javascript
|
|
1708
|
+
const resolvers = {
|
|
1709
|
+
Query: {
|
|
1710
|
+
user: async (_, { id }, { dataSources }) => {
|
|
1711
|
+
return dataSources.userAPI.getUser(id);
|
|
1712
|
+
}
|
|
1713
|
+
},
|
|
1714
|
+
User: {
|
|
1715
|
+
posts: async (user, _, { dataSources }) => {
|
|
1716
|
+
return dataSources.postAPI.getPostsByUserId(user.id);
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
};
|
|
1720
|
+
\`\`\`
|
|
1721
|
+
|
|
1722
|
+
### 3. Performance Optimization
|
|
1723
|
+
- Use DataLoader for N+1 query prevention
|
|
1724
|
+
- Implement query complexity analysis
|
|
1725
|
+
- Add caching layers
|
|
1726
|
+
- Monitor resolver timing
|
|
1727
|
+
|
|
1728
|
+
## Advanced Patterns
|
|
1729
|
+
[Detailed federation, subscriptions, etc...]
|
|
1730
|
+
|
|
1731
|
+
## Learn More
|
|
1732
|
+
- Schema design principles
|
|
1733
|
+
- Resolver best practices
|
|
1734
|
+
- Performance optimization strategies
|
|
1735
|
+
```
|
|
1736
|
+
|
|
1737
|
+
#### Step 3: Skill is Auto-Discovered
|
|
1738
|
+
|
|
1739
|
+
```bash
|
|
1740
|
+
# Verify it's available
|
|
1741
|
+
npx agentic-flow skills list
|
|
1742
|
+
|
|
1743
|
+
# Output includes:
|
|
1744
|
+
# • GraphQL API Design
|
|
1745
|
+
# Design GraphQL APIs following best practices...
|
|
1746
|
+
```
|
|
1747
|
+
|
|
1748
|
+
---
|
|
1749
|
+
|
|
1750
|
+
### Method 2: Manual Creation
|
|
1751
|
+
|
|
1752
|
+
#### Step 1: Create Directory
|
|
1753
|
+
|
|
1754
|
+
```bash
|
|
1755
|
+
mkdir -p .claude/skills/my-custom-skill
|
|
1756
|
+
```
|
|
1757
|
+
|
|
1758
|
+
#### Step 2: Create SKILL.md
|
|
1759
|
+
|
|
1760
|
+
```bash
|
|
1761
|
+
cat > .claude/skills/my-custom-skill/SKILL.md << 'EOF'
|
|
1762
|
+
---
|
|
1763
|
+
name: "My Custom Skill"
|
|
1764
|
+
description: "Brief description of what this skill does and when to use it.
|
|
1765
|
+
Maximum 1024 characters."
|
|
1766
|
+
---
|
|
1767
|
+
|
|
1768
|
+
# My Custom Skill
|
|
1769
|
+
|
|
1770
|
+
## What This Skill Does
|
|
1771
|
+
Explain the skill's purpose clearly.
|
|
1772
|
+
|
|
1773
|
+
## When to Use
|
|
1774
|
+
- Use case 1
|
|
1775
|
+
- Use case 2
|
|
1776
|
+
|
|
1777
|
+
## Prerequisites
|
|
1778
|
+
- Requirement 1
|
|
1779
|
+
- Requirement 2
|
|
1780
|
+
|
|
1781
|
+
## Quick Start
|
|
1782
|
+
Step-by-step instructions...
|
|
1783
|
+
|
|
1784
|
+
EOF
|
|
1785
|
+
```
|
|
1786
|
+
|
|
1787
|
+
#### Step 3: Validate
|
|
1788
|
+
|
|
1789
|
+
```bash
|
|
1790
|
+
# Use skill-builder to validate
|
|
1791
|
+
npx agentic-flow skills validate .claude/skills/my-custom-skill/SKILL.md
|
|
1792
|
+
```
|
|
1793
|
+
|
|
1794
|
+
**Output:**
|
|
1795
|
+
```
|
|
1796
|
+
✓ YAML frontmatter valid
|
|
1797
|
+
✓ Name field present (64 char max)
|
|
1798
|
+
✓ Description field present (1024 char max)
|
|
1799
|
+
✓ Markdown structure valid
|
|
1800
|
+
✓ Skill ready to use
|
|
1801
|
+
```
|
|
1802
|
+
|
|
1803
|
+
---
|
|
1804
|
+
|
|
1805
|
+
## 🚀 Advanced Workflows
|
|
1806
|
+
|
|
1807
|
+
### Workflow 1: Using Skill Builder to Create Domain-Specific Skills
|
|
1808
|
+
|
|
1809
|
+
**Scenario**: Your team builds microservices with Node.js and wants standardized patterns.
|
|
1810
|
+
|
|
1811
|
+
#### Step 1: Generate microservice design skill
|
|
1812
|
+
|
|
1813
|
+
Ask Claude Code:
|
|
1814
|
+
```
|
|
1815
|
+
Use skill-builder to create a skill for microservice architecture design.
|
|
1816
|
+
Include service boundaries, communication patterns, and observability.
|
|
1817
|
+
Base it on our Node.js + Docker + Kubernetes stack.
|
|
1818
|
+
```
|
|
1819
|
+
|
|
1820
|
+
Claude (using skill-builder):
|
|
1821
|
+
```
|
|
1822
|
+
Creating "Microservice Architecture Design" skill...
|
|
1823
|
+
|
|
1824
|
+
✓ Analyzing domain: microservices, Node.js, K8s
|
|
1825
|
+
✓ Loading template: advanced (multi-agent coordination)
|
|
1826
|
+
✓ Generating sections:
|
|
1827
|
+
- Service boundary patterns
|
|
1828
|
+
- Communication strategies (sync/async)
|
|
1829
|
+
- Observability stack (logs, metrics, traces)
|
|
1830
|
+
- Deployment patterns
|
|
1831
|
+
- Testing strategies
|
|
1832
|
+
✓ Adding tech-specific examples (Node.js, Docker, K8s)
|
|
1833
|
+
✓ Validating against Claude Skills specification
|
|
1834
|
+
|
|
1835
|
+
Created: .claude/skills/microservice-architecture-design/SKILL.md
|
|
1836
|
+
```
|
|
1837
|
+
|
|
1838
|
+
#### Step 2: Generate companion testing skill
|
|
1839
|
+
|
|
1840
|
+
```
|
|
1841
|
+
Use skill-builder to create a microservice testing skill.
|
|
1842
|
+
Cover unit, integration, contract, and E2E testing.
|
|
1843
|
+
```
|
|
1844
|
+
|
|
1845
|
+
Claude generates:
|
|
1846
|
+
```
|
|
1847
|
+
.claude/skills/microservice-testing-patterns/SKILL.md
|
|
1848
|
+
```
|
|
1849
|
+
|
|
1850
|
+
#### Step 3: Use both skills together
|
|
1851
|
+
|
|
1852
|
+
```
|
|
1853
|
+
Design and implement a payment microservice with complete test coverage.
|
|
1854
|
+
```
|
|
1855
|
+
|
|
1856
|
+
Claude Code:
|
|
1857
|
+
1. ✅ Discovers `microservice-architecture-design` skill
|
|
1858
|
+
2. ✅ Applies service boundary patterns
|
|
1859
|
+
3. ✅ Discovers `microservice-testing-patterns` skill
|
|
1860
|
+
4. ✅ Generates comprehensive test suite
|
|
1861
|
+
5. ✅ Stores learned patterns in AgentDB for future projects
|
|
1862
|
+
|
|
1863
|
+
**Result**: Consistent microservice architecture across your entire team.
|
|
1864
|
+
|
|
1865
|
+
---
|
|
1866
|
+
|
|
1867
|
+
### Workflow 2: Skill Builder + AgentDB Learning Loop
|
|
1868
|
+
|
|
1869
|
+
**Scenario**: Build a skill that gets smarter with each use.
|
|
1870
|
+
|
|
1871
|
+
#### Step 1: Create adaptive skill
|
|
1872
|
+
|
|
1873
|
+
```
|
|
1874
|
+
Use skill-builder to create a React performance optimization skill.
|
|
1875
|
+
Make it learn from each optimization and improve recommendations.
|
|
1876
|
+
```
|
|
1877
|
+
|
|
1878
|
+
Claude generates skill with ReasoningBank integration:
|
|
1879
|
+
```yaml
|
|
1880
|
+
---
|
|
1881
|
+
name: "React Performance Optimization"
|
|
1882
|
+
description: "Adaptive React optimization with learning from past improvements.
|
|
1883
|
+
Uses ReasoningBank to remember successful patterns."
|
|
1884
|
+
---
|
|
1885
|
+
|
|
1886
|
+
# React Performance Optimization
|
|
1887
|
+
|
|
1888
|
+
## Quick Start
|
|
1889
|
+
|
|
1890
|
+
### 1. Profile Current Performance
|
|
1891
|
+
\`\`\`javascript
|
|
1892
|
+
// ReasoningBank checks: Have we optimized similar components?
|
|
1893
|
+
const priorOptimizations = await reasoningbank.queryPatterns('react-perf', {
|
|
1894
|
+
componentType: 'data-table',
|
|
1895
|
+
sortBy: 'impact'
|
|
1896
|
+
});
|
|
1897
|
+
|
|
1898
|
+
// Apply learned patterns automatically
|
|
1899
|
+
if (priorOptimizations.length > 0) {
|
|
1900
|
+
console.log('Applying learned patterns:', priorOptimizations[0].approach);
|
|
1901
|
+
}
|
|
1902
|
+
\`\`\`
|
|
1903
|
+
|
|
1904
|
+
### 2. Apply Optimizations
|
|
1905
|
+
[Skill guides through optimizations...]
|
|
1906
|
+
|
|
1907
|
+
### 3. Store Results
|
|
1908
|
+
\`\`\`javascript
|
|
1909
|
+
// After optimization, record results
|
|
1910
|
+
await reasoningbank.storePattern({
|
|
1911
|
+
domain: 'react-perf',
|
|
1912
|
+
componentType: 'data-table',
|
|
1913
|
+
approach: 'virtualization + memoization',
|
|
1914
|
+
metrics: {
|
|
1915
|
+
beforeFPS: 15,
|
|
1916
|
+
afterFPS: 60,
|
|
1917
|
+
improvement: '4x'
|
|
1918
|
+
},
|
|
1919
|
+
success: true
|
|
1920
|
+
});
|
|
1921
|
+
\`\`\`
|
|
1922
|
+
```
|
|
1923
|
+
|
|
1924
|
+
#### Step 2: Use the skill multiple times
|
|
1925
|
+
|
|
1926
|
+
**First use:**
|
|
1927
|
+
```
|
|
1928
|
+
Optimize this React data table component.
|
|
1929
|
+
```
|
|
1930
|
+
|
|
1931
|
+
Claude applies generic best practices (no prior learning).
|
|
1932
|
+
|
|
1933
|
+
**After 5 uses:**
|
|
1934
|
+
Claude now knows:
|
|
1935
|
+
- Virtualization works best for >1000 rows
|
|
1936
|
+
- useMemo is critical for computed columns
|
|
1937
|
+
- React.memo prevents unnecessary rerenders
|
|
1938
|
+
|
|
1939
|
+
**After 20 uses:**
|
|
1940
|
+
Claude has domain expertise:
|
|
1941
|
+
- Automatically suggests optimal patterns
|
|
1942
|
+
- Predicts performance impact
|
|
1943
|
+
- Applies 95%+ best practices without prompting
|
|
1944
|
+
|
|
1945
|
+
---
|
|
1946
|
+
|
|
1947
|
+
### Workflow 3: Cross-Skill Composition
|
|
1948
|
+
|
|
1949
|
+
Skills can reference and coordinate with each other:
|
|
1950
|
+
|
|
1951
|
+
```yaml
|
|
1952
|
+
---
|
|
1953
|
+
name: "Full-Stack E-Commerce Platform"
|
|
1954
|
+
description: "Build complete e-commerce platform coordinating multiple skills."
|
|
1955
|
+
---
|
|
1956
|
+
|
|
1957
|
+
# Full-Stack E-Commerce Platform
|
|
1958
|
+
|
|
1959
|
+
## Skill Dependencies
|
|
1960
|
+
This meta-skill orchestrates:
|
|
1961
|
+
1. `microservice-architecture-design` - Backend services
|
|
1962
|
+
2. `react-performance-optimization` - Frontend performance
|
|
1963
|
+
3. `agentdb-vector-search` - Product search
|
|
1964
|
+
4. `swarm-orchestration` - Multi-agent coordination
|
|
1965
|
+
5. `reasoningbank-intelligence` - Pattern learning
|
|
1966
|
+
|
|
1967
|
+
## Execution Flow
|
|
1968
|
+
1. **Architecture Phase** (microservice-architecture-design)
|
|
1969
|
+
- Design service boundaries
|
|
1970
|
+
- Define communication patterns
|
|
1971
|
+
- Plan data consistency strategy
|
|
1972
|
+
|
|
1973
|
+
2. **Implementation Phase** (swarm-orchestration)
|
|
1974
|
+
- Spawn: Backend team (payment, catalog, user services)
|
|
1975
|
+
- Spawn: Frontend team (React components)
|
|
1976
|
+
- Spawn: Testing team (contract + E2E tests)
|
|
1977
|
+
- Coordinate via AgentDB shared memory
|
|
1978
|
+
|
|
1979
|
+
3. **Optimization Phase** (react-performance-optimization, agentdb-vector-search)
|
|
1980
|
+
- Optimize product catalog rendering
|
|
1981
|
+
- Implement semantic product search
|
|
1982
|
+
- Add intelligent recommendations
|
|
1983
|
+
|
|
1984
|
+
4. **Learning Phase** (reasoningbank-intelligence)
|
|
1985
|
+
- Store successful patterns
|
|
1986
|
+
- Record performance metrics
|
|
1987
|
+
- Prepare for next e-commerce project
|
|
1988
|
+
```
|
|
1989
|
+
|
|
1990
|
+
**Using this meta-skill:**
|
|
1991
|
+
```
|
|
1992
|
+
Build an e-commerce platform for selling digital products.
|
|
1993
|
+
```
|
|
1994
|
+
|
|
1995
|
+
Claude Code orchestrates all 5 skills automatically!
|
|
1996
|
+
|
|
1997
|
+
### Workflow 2: Feedback-Driven Skill Evolution
|
|
1998
|
+
|
|
1999
|
+
Skills improve through usage:
|
|
2000
|
+
|
|
2001
|
+
```javascript
|
|
2002
|
+
// After each execution, store metrics
|
|
2003
|
+
await reasoningbank.recordExecution({
|
|
2004
|
+
skill: 'graphql-api-design',
|
|
2005
|
+
task: 'user-service-schema',
|
|
2006
|
+
approach: 'federation with dataloaders',
|
|
2007
|
+
metrics: {
|
|
2008
|
+
executionTime: '2.3s',
|
|
2009
|
+
queryComplexity: 'optimized',
|
|
2010
|
+
resolverEfficiency: '98%'
|
|
2011
|
+
},
|
|
2012
|
+
success: true,
|
|
2013
|
+
feedback: 'Excellent performance, will use this pattern again'
|
|
2014
|
+
});
|
|
2015
|
+
|
|
2016
|
+
// Next time: Skill adapts based on learned patterns
|
|
2017
|
+
```
|
|
2018
|
+
|
|
2019
|
+
### Workflow 4: Team-Wide Skill Sharing and Customization
|
|
2020
|
+
|
|
2021
|
+
#### Sharing Skills Across Your Team
|
|
2022
|
+
|
|
2023
|
+
```bash
|
|
2024
|
+
# 1. Create team-specific skills in project directory
|
|
2025
|
+
cd /your-project
|
|
2026
|
+
npx agentic-flow skills init # Creates .claude/skills/
|
|
2027
|
+
|
|
2028
|
+
# 2. Generate team skills with skill-builder
|
|
2029
|
+
# Ask Claude Code:
|
|
2030
|
+
"Use skill-builder to create our team's API design standards skill.
|
|
2031
|
+
Include our preferred patterns: REST with OpenAPI, JWT auth,
|
|
2032
|
+
cursor pagination, and error handling standards."
|
|
2033
|
+
|
|
2034
|
+
# 3. Commit to version control
|
|
2035
|
+
git add .claude/skills/
|
|
2036
|
+
git commit -m "feat: Add team API design standards skill"
|
|
2037
|
+
git push origin main
|
|
2038
|
+
|
|
2039
|
+
# 4. Team members pull and use automatically
|
|
2040
|
+
git pull
|
|
2041
|
+
# Claude Code discovers team skills on next run
|
|
2042
|
+
```
|
|
2043
|
+
|
|
2044
|
+
#### Customizing Sample Skills for Your Stack
|
|
2045
|
+
|
|
2046
|
+
**Scenario**: You love the AgentDB vector search skill but use Python, not JavaScript.
|
|
2047
|
+
|
|
2048
|
+
```bash
|
|
2049
|
+
# 1. Copy the sample skill
|
|
2050
|
+
cp -r .claude/skills/agentdb-vector-search \
|
|
2051
|
+
.claude/skills/agentdb-python-search
|
|
2052
|
+
|
|
2053
|
+
# 2. Edit and customize
|
|
2054
|
+
code .claude/skills/agentdb-python-search/SKILL.md
|
|
2055
|
+
```
|
|
2056
|
+
|
|
2057
|
+
**Update code examples to Python:**
|
|
2058
|
+
```yaml
|
|
2059
|
+
---
|
|
2060
|
+
name: "AgentDB Vector Search (Python)"
|
|
2061
|
+
description: "Semantic vector search with AgentDB for Python projects.
|
|
2062
|
+
150x-12,500x performance improvement. Use for RAG systems and semantic search."
|
|
2063
|
+
---
|
|
2064
|
+
|
|
2065
|
+
# AgentDB Vector Search (Python)
|
|
2066
|
+
|
|
2067
|
+
## Quick Start
|
|
2068
|
+
|
|
2069
|
+
### 1. Installation
|
|
2070
|
+
\`\`\`bash
|
|
2071
|
+
pip install agentdb
|
|
2072
|
+
\`\`\`
|
|
2073
|
+
|
|
2074
|
+
### 2. Initialize
|
|
2075
|
+
\`\`\`python
|
|
2076
|
+
from agentdb import AgentDB
|
|
2077
|
+
|
|
2078
|
+
db = AgentDB(
|
|
2079
|
+
mode='python',
|
|
2080
|
+
vector_dimensions=384,
|
|
2081
|
+
enable_optimizations=True
|
|
2082
|
+
)
|
|
2083
|
+
\`\`\`
|
|
2084
|
+
|
|
2085
|
+
### 3. Index Documents
|
|
2086
|
+
\`\`\`python
|
|
2087
|
+
# Generate embeddings
|
|
2088
|
+
from sentence_transformers import SentenceTransformer
|
|
2089
|
+
model = SentenceTransformer('all-MiniLM-L6-v2')
|
|
2090
|
+
|
|
2091
|
+
docs = load_documents('./docs/**/*.md')
|
|
2092
|
+
for doc in docs:
|
|
2093
|
+
embedding = model.encode(doc.content)
|
|
2094
|
+
db.vector_db.insert(
|
|
2095
|
+
embedding=embedding,
|
|
2096
|
+
metadata={
|
|
2097
|
+
'id': doc.id,
|
|
2098
|
+
'title': doc.title,
|
|
2099
|
+
'content': doc.content
|
|
2100
|
+
}
|
|
2101
|
+
)
|
|
2102
|
+
\`\`\`
|
|
2103
|
+
|
|
2104
|
+
### 4. Semantic Search
|
|
2105
|
+
\`\`\`python
|
|
2106
|
+
query = "How do I implement authentication?"
|
|
2107
|
+
query_embedding = model.encode(query)
|
|
2108
|
+
|
|
2109
|
+
results = db.vector_db.search(
|
|
2110
|
+
query_embedding,
|
|
2111
|
+
k=10,
|
|
2112
|
+
threshold=0.7
|
|
2113
|
+
)
|
|
2114
|
+
|
|
2115
|
+
for result in results:
|
|
2116
|
+
print(f"{result.score:.2f} - {result.metadata['title']}")
|
|
2117
|
+
\`\`\`
|
|
2118
|
+
```
|
|
2119
|
+
|
|
2120
|
+
**Now Claude Code applies Python patterns automatically:**
|
|
2121
|
+
```
|
|
2122
|
+
Implement semantic search for our Python documentation.
|
|
2123
|
+
```
|
|
2124
|
+
|
|
2125
|
+
Claude discovers your customized Python skill and generates Python code!
|
|
2126
|
+
|
|
2127
|
+
---
|
|
2128
|
+
|
|
2129
|
+
#### Creating Organization-Wide Skill Library
|
|
2130
|
+
|
|
2131
|
+
**For enterprises with multiple teams:**
|
|
2132
|
+
|
|
2133
|
+
```bash
|
|
2134
|
+
# 1. Create organization skill repository
|
|
2135
|
+
git clone https://github.com/your-org/claude-skills.git ~/.claude/skills-org
|
|
2136
|
+
|
|
2137
|
+
# 2. Symlink org skills to personal directory
|
|
2138
|
+
ln -s ~/.claude/skills-org/* ~/.claude/skills/
|
|
2139
|
+
|
|
2140
|
+
# 3. Keep skills updated
|
|
2141
|
+
cd ~/.claude/skills-org
|
|
2142
|
+
git pull
|
|
2143
|
+
|
|
2144
|
+
# Now all org skills available in all projects!
|
|
2145
|
+
```
|
|
2146
|
+
|
|
2147
|
+
**Organization skill structure:**
|
|
2148
|
+
```
|
|
2149
|
+
~/.claude/skills-org/
|
|
2150
|
+
├── security/
|
|
2151
|
+
│ ├── owasp-top-10/SKILL.md
|
|
2152
|
+
│ └── security-review/SKILL.md
|
|
2153
|
+
├── api-design/
|
|
2154
|
+
│ ├── rest-standards/SKILL.md
|
|
2155
|
+
│ └── graphql-patterns/SKILL.md
|
|
2156
|
+
├── testing/
|
|
2157
|
+
│ ├── unit-testing/SKILL.md
|
|
2158
|
+
│ └── e2e-testing/SKILL.md
|
|
2159
|
+
└── deployment/
|
|
2160
|
+
├── kubernetes-deploy/SKILL.md
|
|
2161
|
+
└── ci-cd-pipeline/SKILL.md
|
|
2162
|
+
```
|
|
2163
|
+
|
|
2164
|
+
**Benefits:**
|
|
2165
|
+
- ✅ Consistent standards across all teams
|
|
2166
|
+
- ✅ Centralized best practices
|
|
2167
|
+
- ✅ Easy updates (git pull)
|
|
2168
|
+
- ✅ Version controlled
|
|
2169
|
+
- ✅ Team-specific customization still possible
|
|
2170
|
+
|
|
2171
|
+
---
|
|
2172
|
+
|
|
2173
|
+
#### Publishing Skills to NPM (Advanced)
|
|
2174
|
+
|
|
2175
|
+
**For skill creators who want to share with the community:**
|
|
2176
|
+
|
|
2177
|
+
```bash
|
|
2178
|
+
# 1. Create skill package
|
|
2179
|
+
mkdir agentic-flow-skills-web3
|
|
2180
|
+
cd agentic-flow-skills-web3
|
|
2181
|
+
|
|
2182
|
+
# 2. Package structure
|
|
2183
|
+
cat > package.json << 'EOF'
|
|
2184
|
+
{
|
|
2185
|
+
"name": "agentic-flow-skills-web3",
|
|
2186
|
+
"version": "1.0.0",
|
|
2187
|
+
"description": "Claude Code skills for Web3 development",
|
|
2188
|
+
"keywords": ["agentic-flow", "claude-code", "skills", "web3"],
|
|
2189
|
+
"files": ["skills/"],
|
|
2190
|
+
"scripts": {
|
|
2191
|
+
"postinstall": "mkdir -p ~/.claude/skills && cp -r skills/* ~/.claude/skills/"
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
EOF
|
|
2195
|
+
|
|
2196
|
+
# 3. Add your skills
|
|
2197
|
+
mkdir -p skills/
|
|
2198
|
+
cp -r .claude/skills/solidity-patterns skills/
|
|
2199
|
+
cp -r .claude/skills/smart-contract-security skills/
|
|
2200
|
+
|
|
2201
|
+
# 4. Publish
|
|
2202
|
+
npm publish
|
|
2203
|
+
|
|
2204
|
+
# 5. Users install with:
|
|
2205
|
+
npm install -g agentic-flow-skills-web3
|
|
2206
|
+
# Skills automatically copied to ~/.claude/skills/
|
|
2207
|
+
```
|
|
2208
|
+
|
|
2209
|
+
---
|
|
2210
|
+
|
|
2211
|
+
## 🛠️ Skill Builder Advanced Features
|
|
2212
|
+
|
|
2213
|
+
### Template System
|
|
2214
|
+
|
|
2215
|
+
Skill-builder includes 3 production templates:
|
|
2216
|
+
|
|
2217
|
+
#### 1. Minimal Template (5 sections, ~100 lines)
|
|
2218
|
+
**Best for:** Simple, focused skills with single responsibility
|
|
2219
|
+
|
|
2220
|
+
```yaml
|
|
2221
|
+
---
|
|
2222
|
+
name: "Code Formatter"
|
|
2223
|
+
description: "Format code with Prettier/ESLint standards."
|
|
2224
|
+
---
|
|
2225
|
+
|
|
2226
|
+
# Code Formatter
|
|
2227
|
+
|
|
2228
|
+
## What This Skill Does
|
|
2229
|
+
Applies consistent code formatting.
|
|
2230
|
+
|
|
2231
|
+
## When to Use
|
|
2232
|
+
- Before committing code
|
|
2233
|
+
- Enforcing team standards
|
|
2234
|
+
|
|
2235
|
+
## Quick Start
|
|
2236
|
+
[Basic formatting commands...]
|
|
2237
|
+
|
|
2238
|
+
## Examples
|
|
2239
|
+
[2-3 code examples]
|
|
2240
|
+
|
|
2241
|
+
## Learn More
|
|
2242
|
+
[Links to docs]
|
|
2243
|
+
```
|
|
2244
|
+
|
|
2245
|
+
---
|
|
2246
|
+
|
|
2247
|
+
#### 2. Full-Featured Template (12 sections, ~300 lines)
|
|
2248
|
+
**Best for:** Comprehensive skills with multiple use cases
|
|
2249
|
+
|
|
2250
|
+
```yaml
|
|
2251
|
+
---
|
|
2252
|
+
name: "API Design Patterns"
|
|
2253
|
+
description: "Design REST/GraphQL APIs following industry best practices."
|
|
2254
|
+
---
|
|
2255
|
+
|
|
2256
|
+
# API Design Patterns
|
|
2257
|
+
|
|
2258
|
+
## What This Skill Does
|
|
2259
|
+
[Detailed description]
|
|
2260
|
+
|
|
2261
|
+
## When to Use
|
|
2262
|
+
[5+ use cases]
|
|
2263
|
+
|
|
2264
|
+
## Prerequisites
|
|
2265
|
+
[Requirements]
|
|
2266
|
+
|
|
2267
|
+
## Quick Start
|
|
2268
|
+
[Getting started]
|
|
2269
|
+
|
|
2270
|
+
## Step-by-Step Guide
|
|
2271
|
+
[Detailed walkthrough]
|
|
2272
|
+
|
|
2273
|
+
## Advanced Patterns
|
|
2274
|
+
[Complex scenarios]
|
|
2275
|
+
|
|
2276
|
+
## Best Practices
|
|
2277
|
+
[Industry standards]
|
|
2278
|
+
|
|
2279
|
+
## Common Pitfalls
|
|
2280
|
+
[What to avoid]
|
|
2281
|
+
|
|
2282
|
+
## Troubleshooting
|
|
2283
|
+
[Solutions to common issues]
|
|
2284
|
+
|
|
2285
|
+
## Examples
|
|
2286
|
+
[10+ real-world examples]
|
|
2287
|
+
|
|
2288
|
+
## Reference
|
|
2289
|
+
[Complete API docs]
|
|
2290
|
+
|
|
2291
|
+
## Learn More
|
|
2292
|
+
[External resources]
|
|
2293
|
+
```
|
|
2294
|
+
|
|
2295
|
+
---
|
|
2296
|
+
|
|
2297
|
+
#### 3. Advanced Template (15+ sections, ~500 lines)
|
|
2298
|
+
**Best for:** Multi-agent coordination and complex workflows
|
|
2299
|
+
|
|
2300
|
+
```yaml
|
|
2301
|
+
---
|
|
2302
|
+
name: "Full-Stack Application Builder"
|
|
2303
|
+
description: "Coordinate multiple agents to build complete applications."
|
|
2304
|
+
---
|
|
2305
|
+
|
|
2306
|
+
# Full-Stack Application Builder
|
|
2307
|
+
|
|
2308
|
+
## What This Skill Does
|
|
2309
|
+
[Orchestration overview]
|
|
2310
|
+
|
|
2311
|
+
## Skill Dependencies
|
|
2312
|
+
- backend-api-design
|
|
2313
|
+
- frontend-react-patterns
|
|
2314
|
+
- database-optimization
|
|
2315
|
+
- testing-frameworks
|
|
2316
|
+
- deployment-automation
|
|
2317
|
+
|
|
2318
|
+
## Multi-Agent Coordination
|
|
2319
|
+
[How agents collaborate]
|
|
2320
|
+
|
|
2321
|
+
## Prerequisites
|
|
2322
|
+
[Tech stack requirements]
|
|
2323
|
+
|
|
2324
|
+
## Architecture Overview
|
|
2325
|
+
[System design patterns]
|
|
2326
|
+
|
|
2327
|
+
## Phase 1: Planning
|
|
2328
|
+
[Requirements analysis]
|
|
2329
|
+
|
|
2330
|
+
## Phase 2: Backend Development
|
|
2331
|
+
[API implementation with coordination]
|
|
2332
|
+
|
|
2333
|
+
## Phase 3: Frontend Development
|
|
2334
|
+
[UI implementation with coordination]
|
|
2335
|
+
|
|
2336
|
+
## Phase 4: Integration
|
|
2337
|
+
[Connecting frontend + backend]
|
|
2338
|
+
|
|
2339
|
+
## Phase 5: Testing
|
|
2340
|
+
[Comprehensive test strategy]
|
|
2341
|
+
|
|
2342
|
+
## Phase 6: Deployment
|
|
2343
|
+
[CI/CD pipeline]
|
|
2344
|
+
|
|
2345
|
+
## Agent Communication Patterns
|
|
2346
|
+
[How agents share context via AgentDB]
|
|
2347
|
+
|
|
2348
|
+
## Learning & Optimization
|
|
2349
|
+
[ReasoningBank integration]
|
|
2350
|
+
|
|
2351
|
+
## Monitoring & Observability
|
|
2352
|
+
[Performance tracking]
|
|
2353
|
+
|
|
2354
|
+
## Troubleshooting
|
|
2355
|
+
[Debug multi-agent issues]
|
|
2356
|
+
|
|
2357
|
+
## Examples
|
|
2358
|
+
[Complete application examples]
|
|
2359
|
+
```
|
|
2360
|
+
|
|
2361
|
+
---
|
|
2362
|
+
|
|
2363
|
+
### Validation System
|
|
2364
|
+
|
|
2365
|
+
**Built-in validation checks:**
|
|
2366
|
+
|
|
2367
|
+
```bash
|
|
2368
|
+
bash .claude/skills/skill-builder/scripts/validate-skill.sh my-skill/SKILL.md
|
|
2369
|
+
```
|
|
2370
|
+
|
|
2371
|
+
**Checks performed:**
|
|
2372
|
+
1. ✅ **YAML Frontmatter**
|
|
2373
|
+
- Valid YAML syntax
|
|
2374
|
+
- Required fields (name, description)
|
|
2375
|
+
- Field length limits
|
|
2376
|
+
- No special characters
|
|
2377
|
+
|
|
2378
|
+
2. ✅ **Markdown Structure**
|
|
2379
|
+
- Proper heading hierarchy
|
|
2380
|
+
- Code block formatting
|
|
2381
|
+
- Link validity
|
|
2382
|
+
- No broken references
|
|
2383
|
+
|
|
2384
|
+
3. ✅ **Progressive Disclosure**
|
|
2385
|
+
- Quick Start section exists
|
|
2386
|
+
- Complexity increases gradually
|
|
2387
|
+
- Advanced sections at end
|
|
2388
|
+
|
|
2389
|
+
4. ✅ **Code Examples**
|
|
2390
|
+
- Syntax highlighting specified
|
|
2391
|
+
- No placeholder code
|
|
2392
|
+
- Runnable examples
|
|
2393
|
+
|
|
2394
|
+
5. ✅ **Security**
|
|
2395
|
+
- No hardcoded secrets
|
|
2396
|
+
- No sensitive data
|
|
2397
|
+
- Safe command examples
|
|
2398
|
+
|
|
2399
|
+
**Example validation output:**
|
|
2400
|
+
```
|
|
2401
|
+
🔍 Validating: microservice-patterns/SKILL.md
|
|
2402
|
+
═══════════════════════════════════════════════
|
|
2403
|
+
|
|
2404
|
+
✓ YAML frontmatter: Valid
|
|
2405
|
+
- name: "Microservice Patterns" (21 chars)
|
|
2406
|
+
- description: 487 chars (max 1024)
|
|
2407
|
+
|
|
2408
|
+
✓ Markdown structure: Valid
|
|
2409
|
+
- 12 sections
|
|
2410
|
+
- Proper heading hierarchy
|
|
2411
|
+
- 18 code blocks
|
|
2412
|
+
|
|
2413
|
+
✓ Progressive disclosure: Excellent
|
|
2414
|
+
- Quick Start: 5 min read
|
|
2415
|
+
- Step-by-Step: 15 min
|
|
2416
|
+
- Advanced: 30+ min
|
|
2417
|
+
|
|
2418
|
+
✓ Code examples: 18 found
|
|
2419
|
+
- All have syntax highlighting
|
|
2420
|
+
- All runnable
|
|
2421
|
+
|
|
2422
|
+
✓ Security: No issues
|
|
2423
|
+
|
|
2424
|
+
✅ Skill ready for use!
|
|
2425
|
+
|
|
2426
|
+
Next steps:
|
|
2427
|
+
1. Test with Claude Code
|
|
2428
|
+
2. Share with team (git commit)
|
|
2429
|
+
3. Publish to npm (optional)
|
|
2430
|
+
```
|
|
2431
|
+
|
|
2432
|
+
---
|
|
2433
|
+
|
|
2434
|
+
### Generation Scripts
|
|
2435
|
+
|
|
2436
|
+
#### Interactive Generator
|
|
2437
|
+
|
|
2438
|
+
```bash
|
|
2439
|
+
bash .claude/skills/skill-builder/scripts/generate-skill.sh
|
|
2440
|
+
```
|
|
2441
|
+
|
|
2442
|
+
**Features:**
|
|
2443
|
+
- Guided prompts for all metadata
|
|
2444
|
+
- Template selection
|
|
2445
|
+
- Auto-validation
|
|
2446
|
+
- Section customization
|
|
2447
|
+
- Example code generation
|
|
2448
|
+
|
|
2449
|
+
**Example session:**
|
|
2450
|
+
```
|
|
2451
|
+
🎨 agentic-flow Skill Generator
|
|
2452
|
+
═══════════════════════════════════════
|
|
2453
|
+
|
|
2454
|
+
Let's create a new skill!
|
|
2455
|
+
|
|
2456
|
+
Skill name: Database Query Optimization
|
|
2457
|
+
Description: Optimize SQL queries with indexing, query
|
|
2458
|
+
planning, and performance analysis.
|
|
2459
|
+
|
|
2460
|
+
Category:
|
|
2461
|
+
1. api-design
|
|
2462
|
+
2. testing
|
|
2463
|
+
3. database ← Selected
|
|
2464
|
+
4. documentation
|
|
2465
|
+
5. custom
|
|
2466
|
+
|
|
2467
|
+
Template:
|
|
2468
|
+
1. minimal (Quick reference)
|
|
2469
|
+
2. full-featured ← Selected (Comprehensive guide)
|
|
2470
|
+
3. advanced (Multi-agent coordination)
|
|
2471
|
+
|
|
2472
|
+
Include sections:
|
|
2473
|
+
[✓] Quick Start
|
|
2474
|
+
[✓] Prerequisites
|
|
2475
|
+
[✓] Step-by-Step Guide
|
|
2476
|
+
[✓] Examples (how many? 10)
|
|
2477
|
+
[✓] Best Practices
|
|
2478
|
+
[✓] Troubleshooting
|
|
2479
|
+
[ ] Advanced Patterns (optional)
|
|
2480
|
+
|
|
2481
|
+
Generate code examples?
|
|
2482
|
+
Technology: PostgreSQL
|
|
2483
|
+
Examples: [indexes, query plans, EXPLAIN ANALYZE]
|
|
2484
|
+
|
|
2485
|
+
✓ Generating skill...
|
|
2486
|
+
✓ Adding 10 examples...
|
|
2487
|
+
✓ Validating...
|
|
2488
|
+
✓ Success!
|
|
2489
|
+
|
|
2490
|
+
Created: .claude/skills/database-query-optimization/SKILL.md
|
|
2491
|
+
|
|
2492
|
+
Test it:
|
|
2493
|
+
"Optimize this slow database query: SELECT * FROM users..."
|
|
2494
|
+
```
|
|
2495
|
+
|
|
2496
|
+
#### Batch Generator
|
|
2497
|
+
|
|
2498
|
+
**Create multiple skills at once:**
|
|
2499
|
+
|
|
2500
|
+
```bash
|
|
2501
|
+
bash .claude/skills/skill-builder/scripts/batch-generate.sh skills.yaml
|
|
2502
|
+
```
|
|
2503
|
+
|
|
2504
|
+
**skills.yaml:**
|
|
2505
|
+
```yaml
|
|
2506
|
+
skills:
|
|
2507
|
+
- name: "API Authentication"
|
|
2508
|
+
description: "JWT, OAuth2, and session-based auth patterns"
|
|
2509
|
+
template: full-featured
|
|
2510
|
+
category: api-design
|
|
2511
|
+
|
|
2512
|
+
- name: "React Component Library"
|
|
2513
|
+
description: "Build reusable React components"
|
|
2514
|
+
template: full-featured
|
|
2515
|
+
category: frontend
|
|
2516
|
+
|
|
2517
|
+
- name: "Docker Compose Workflows"
|
|
2518
|
+
description: "Multi-container development environments"
|
|
2519
|
+
template: minimal
|
|
2520
|
+
category: devops
|
|
2521
|
+
```
|
|
2522
|
+
|
|
2523
|
+
**Output:**
|
|
2524
|
+
```
|
|
2525
|
+
🎨 Batch Skill Generator
|
|
2526
|
+
═══════════════════════════════════════
|
|
2527
|
+
|
|
2528
|
+
Processing 3 skills...
|
|
2529
|
+
|
|
2530
|
+
✓ [1/3] API Authentication
|
|
2531
|
+
✓ [2/3] React Component Library
|
|
2532
|
+
✓ [3/3] Docker Compose Workflows
|
|
2533
|
+
|
|
2534
|
+
All skills created successfully!
|
|
2535
|
+
|
|
2536
|
+
Skills available:
|
|
2537
|
+
• api-authentication
|
|
2538
|
+
• react-component-library
|
|
2539
|
+
• docker-compose-workflows
|
|
2540
|
+
|
|
2541
|
+
Test them with Claude Code!
|
|
2542
|
+
```
|
|
2543
|
+
|
|
2544
|
+
---
|
|
2545
|
+
|
|
2546
|
+
### Testing Skills
|
|
2547
|
+
|
|
2548
|
+
**Test script validates skill functionality:**
|
|
2549
|
+
|
|
2550
|
+
```bash
|
|
2551
|
+
bash .claude/skills/skill-builder/scripts/test-skill.sh \
|
|
2552
|
+
database-query-optimization/SKILL.md
|
|
2553
|
+
```
|
|
2554
|
+
|
|
2555
|
+
**Test scenarios:**
|
|
2556
|
+
1. **Discovery Test**: Can Claude Code find the skill?
|
|
2557
|
+
2. **Activation Test**: Does it activate for relevant queries?
|
|
2558
|
+
3. **Execution Test**: Does it provide correct guidance?
|
|
2559
|
+
4. **Learning Test**: Does it store patterns in AgentDB?
|
|
2560
|
+
|
|
2561
|
+
**Example output:**
|
|
2562
|
+
```
|
|
2563
|
+
🧪 Testing Skill: database-query-optimization
|
|
2564
|
+
═══════════════════════════════════════════════
|
|
2565
|
+
|
|
2566
|
+
Test 1: Discovery
|
|
2567
|
+
Query: "List installed skills"
|
|
2568
|
+
✓ Skill appears in list
|
|
2569
|
+
|
|
2570
|
+
Test 2: Activation
|
|
2571
|
+
Query: "Optimize this slow query"
|
|
2572
|
+
✓ Skill automatically activated
|
|
2573
|
+
|
|
2574
|
+
Test 3: Execution
|
|
2575
|
+
Query: "Add index to speed up user lookups"
|
|
2576
|
+
✓ Provided correct guidance
|
|
2577
|
+
✓ Generated runnable SQL
|
|
2578
|
+
✓ Explained trade-offs
|
|
2579
|
+
|
|
2580
|
+
Test 4: Learning
|
|
2581
|
+
✓ Pattern stored in AgentDB
|
|
2582
|
+
✓ Confidence score: 0.92
|
|
2583
|
+
|
|
2584
|
+
Test 5: Repeated Use
|
|
2585
|
+
Query: "Optimize another user query"
|
|
2586
|
+
✓ Applied learned patterns
|
|
2587
|
+
✓ 38% faster than first execution
|
|
2588
|
+
|
|
2589
|
+
✅ All tests passed!
|
|
2590
|
+
|
|
2591
|
+
Skill performance:
|
|
2592
|
+
- Activation rate: 95%
|
|
2593
|
+
- Correctness: 100%
|
|
2594
|
+
- Learning improvement: 38%
|
|
2595
|
+
```
|
|
2596
|
+
|
|
2597
|
+
---
|
|
2598
|
+
|
|
2599
|
+
## ✅ Best Practices
|
|
2600
|
+
|
|
2601
|
+
### 1. **Skill Naming**
|
|
2602
|
+
```
|
|
2603
|
+
✅ Good: "GraphQL API Design"
|
|
2604
|
+
❌ Bad: "gql" or "api_design_123"
|
|
2605
|
+
|
|
2606
|
+
✅ Good: "React Component Patterns"
|
|
2607
|
+
❌ Bad: "ReactStuff"
|
|
2608
|
+
```
|
|
2609
|
+
|
|
2610
|
+
### 2. **Description Clarity**
|
|
2611
|
+
```yaml
|
|
2612
|
+
✅ Good:
|
|
2613
|
+
description: "Design GraphQL APIs with schema-first development,
|
|
2614
|
+
efficient resolvers, and federation. Use when building or
|
|
2615
|
+
refactoring GraphQL services."
|
|
2616
|
+
|
|
2617
|
+
❌ Bad:
|
|
2618
|
+
description: "GraphQL stuff"
|
|
2619
|
+
```
|
|
2620
|
+
|
|
2621
|
+
### 3. **Progressive Disclosure**
|
|
2622
|
+
```markdown
|
|
2623
|
+
✅ Good Structure:
|
|
2624
|
+
## Quick Start (5 minutes)
|
|
2625
|
+
Basic usage
|
|
2626
|
+
|
|
2627
|
+
## Step-by-Step Guide (15 minutes)
|
|
2628
|
+
Detailed walkthrough
|
|
2629
|
+
|
|
2630
|
+
## Advanced Patterns (30+ minutes)
|
|
2631
|
+
Complex scenarios
|
|
2632
|
+
|
|
2633
|
+
## Reference
|
|
2634
|
+
Complete API docs
|
|
2635
|
+
```
|
|
2636
|
+
|
|
2637
|
+
### 4. **Use AgentDB for Context**
|
|
2638
|
+
```javascript
|
|
2639
|
+
✅ Good:
|
|
2640
|
+
await reasoningbank.storePattern({
|
|
2641
|
+
skill: 'api-design',
|
|
2642
|
+
pattern: 'pagination',
|
|
2643
|
+
approach: 'cursor-based',
|
|
2644
|
+
performance: 'excellent'
|
|
2645
|
+
});
|
|
2646
|
+
|
|
2647
|
+
❌ Bad:
|
|
2648
|
+
// No learning loop, patterns forgotten
|
|
2649
|
+
```
|
|
2650
|
+
|
|
2651
|
+
### 5. **Skill Composition**
|
|
2652
|
+
```yaml
|
|
2653
|
+
✅ Good:
|
|
2654
|
+
# Reference other skills
|
|
2655
|
+
See also: `agentdb-vector-search`, `swarm-orchestration`
|
|
2656
|
+
|
|
2657
|
+
❌ Bad:
|
|
2658
|
+
# Duplicate instructions from other skills
|
|
2659
|
+
```
|
|
2660
|
+
|
|
2661
|
+
---
|
|
2662
|
+
|
|
2663
|
+
## 🐛 Troubleshooting
|
|
2664
|
+
|
|
2665
|
+
### Issue: Skills Not Discovered
|
|
2666
|
+
|
|
2667
|
+
**Problem**: Claude Code doesn't find your skill.
|
|
2668
|
+
|
|
2669
|
+
**Solutions**:
|
|
2670
|
+
```bash
|
|
2671
|
+
# 1. Verify skill location (MUST be top level!)
|
|
2672
|
+
ls ~/.claude/skills/ # Personal
|
|
2673
|
+
ls .claude/skills/ # Project
|
|
2674
|
+
|
|
2675
|
+
# Should see: my-skill/SKILL.md
|
|
2676
|
+
# NOT: subdirectory/my-skill/SKILL.md
|
|
2677
|
+
|
|
2678
|
+
# 2. Validate YAML frontmatter
|
|
2679
|
+
npx agentic-flow skills validate .claude/skills/my-skill/SKILL.md
|
|
2680
|
+
|
|
2681
|
+
# 3. Restart Claude Code
|
|
2682
|
+
# Skills are loaded at startup
|
|
2683
|
+
|
|
2684
|
+
# 4. Check file permissions
|
|
2685
|
+
chmod 644 .claude/skills/my-skill/SKILL.md
|
|
2686
|
+
```
|
|
2687
|
+
|
|
2688
|
+
### Issue: Skill Executes Incorrectly
|
|
2689
|
+
|
|
2690
|
+
**Problem**: Skill loads but doesn't work as expected.
|
|
2691
|
+
|
|
2692
|
+
**Solutions**:
|
|
2693
|
+
```bash
|
|
2694
|
+
# 1. Check skill description matches use case
|
|
2695
|
+
npx agentic-flow skills list
|
|
2696
|
+
|
|
2697
|
+
# 2. Add debugging context
|
|
2698
|
+
await reasoningbank.debug({
|
|
2699
|
+
skill: 'my-skill',
|
|
2700
|
+
context: 'What am I trying to do?',
|
|
2701
|
+
expected: 'What should happen?',
|
|
2702
|
+
actual: 'What actually happened?'
|
|
2703
|
+
});
|
|
2704
|
+
|
|
2705
|
+
# 3. Review skill instructions
|
|
2706
|
+
cat .claude/skills/my-skill/SKILL.md
|
|
2707
|
+
```
|
|
2708
|
+
|
|
2709
|
+
### Issue: Skills Conflict
|
|
2710
|
+
|
|
2711
|
+
**Problem**: Multiple skills activate for same task.
|
|
2712
|
+
|
|
2713
|
+
**Solution**:
|
|
2714
|
+
```yaml
|
|
2715
|
+
# Make descriptions more specific
|
|
2716
|
+
❌ description: "Build APIs"
|
|
2717
|
+
✅ description: "Build REST APIs with Express and TypeScript.
|
|
2718
|
+
Use for traditional RESTful services, not GraphQL."
|
|
2719
|
+
```
|
|
2720
|
+
|
|
2721
|
+
---
|
|
2722
|
+
|
|
2723
|
+
## 🎯 Summary
|
|
2724
|
+
|
|
2725
|
+
### What You Learned
|
|
2726
|
+
|
|
2727
|
+
✅ **21 Built-In Skills** from claude-flow (AI, GitHub, Swarm, SPARC, Performance)
|
|
2728
|
+
✅ **Custom Skill Creation** with agentic-flow's skill-builder
|
|
2729
|
+
✅ **213+ MCP Tools** for coordination, memory, and automation
|
|
2730
|
+
✅ **54 Specialized Agents** for all development scenarios
|
|
2731
|
+
✅ **Dual-System Integration** combining pre-built + custom capabilities
|
|
2732
|
+
✅ **AgentDB + ReasoningBank** for persistent learning (46% faster over time)
|
|
2733
|
+
✅ **Skills compose and coordinate** for complex multi-agent workflows
|
|
2734
|
+
|
|
2735
|
+
### Quick Reference
|
|
2736
|
+
|
|
2737
|
+
#### claude-flow (Built-In Skills)
|
|
2738
|
+
```bash
|
|
2739
|
+
# Install and setup MCP server
|
|
2740
|
+
npm install -g claude-flow@alpha
|
|
2741
|
+
claude mcp add claude-flow npx claude-flow@alpha mcp start
|
|
2742
|
+
|
|
2743
|
+
# Verify 21 skills are available
|
|
2744
|
+
claude mcp list
|
|
2745
|
+
|
|
2746
|
+
# Skills auto-discovered by Claude Code - no additional setup!
|
|
2747
|
+
```
|
|
2748
|
+
|
|
2749
|
+
#### agentic-flow (Custom Skills)
|
|
2750
|
+
```bash
|
|
2751
|
+
# Initialize skill directories
|
|
2752
|
+
npx agentic-flow skills init
|
|
2753
|
+
|
|
2754
|
+
# Create 4 sample skills
|
|
2755
|
+
npx agentic-flow skills create
|
|
2756
|
+
|
|
2757
|
+
# List all skills (built-in + custom)
|
|
2758
|
+
npx agentic-flow skills list
|
|
2759
|
+
|
|
2760
|
+
# Install skill builder framework
|
|
2761
|
+
npx agentic-flow skills init-builder
|
|
2762
|
+
|
|
2763
|
+
# Validate custom skill
|
|
2764
|
+
npx agentic-flow skills validate <path>
|
|
2765
|
+
```
|
|
2766
|
+
|
|
2767
|
+
#### Combined Usage
|
|
2768
|
+
```bash
|
|
2769
|
+
# Install both systems
|
|
2770
|
+
npm install -g claude-flow@alpha agentic-flow@latest
|
|
2771
|
+
|
|
2772
|
+
# Setup MCP servers
|
|
2773
|
+
claude mcp add claude-flow npx claude-flow@alpha mcp start
|
|
2774
|
+
|
|
2775
|
+
# Create custom skills
|
|
2776
|
+
npx agentic-flow skills init
|
|
2777
|
+
npx agentic-flow skills create
|
|
2778
|
+
|
|
2779
|
+
# Now you have:
|
|
2780
|
+
# ✅ 21 built-in claude-flow skills
|
|
2781
|
+
# ✅ 4 sample agentic-flow skills
|
|
2782
|
+
# ✅ 213+ MCP coordination tools
|
|
2783
|
+
# ✅ 54 specialized agents
|
|
2784
|
+
# ✅ Custom skill creation framework
|
|
2785
|
+
```
|
|
2786
|
+
|
|
2787
|
+
### Skill Categories Available
|
|
2788
|
+
|
|
2789
|
+
| Category | claude-flow Built-In | agentic-flow Custom | Total |
|
|
2790
|
+
|----------|---------------------|---------------------|-------|
|
|
2791
|
+
| AI & Memory | 3 | 2 | 5 |
|
|
2792
|
+
| GitHub Integration | 5 | 0 | 5 |
|
|
2793
|
+
| Swarm Orchestration | 4 | 1 | 5 |
|
|
2794
|
+
| Development & Quality | 3 | 0 | 3 |
|
|
2795
|
+
| Flow Nexus Platform | 3 | 0 | 3 |
|
|
2796
|
+
| **Total** | **21** | **4** | **25** |
|
|
2797
|
+
|
|
2798
|
+
Plus unlimited custom skills you create!
|
|
2799
|
+
|
|
2800
|
+
### Next Steps
|
|
2801
|
+
|
|
2802
|
+
1. **Install claude-flow MCP**: Get 21 built-in skills instantly
|
|
2803
|
+
2. **Try built-in skills**: Test agentdb-vector-search, swarm-orchestration, github-code-review
|
|
2804
|
+
3. **Install agentic-flow**: Add custom skill creation capabilities
|
|
2805
|
+
4. **Create your first custom skill**: Use skill-builder for your domain
|
|
2806
|
+
5. **Build multi-agent workflows**: Combine claude-flow + custom skills
|
|
2807
|
+
6. **Explore MCP tools**: 213+ coordination tools available
|
|
2808
|
+
7. **Share with your team**: Commit custom skills to git
|
|
2809
|
+
8. **Join the community**: Share your skills on GitHub
|
|
2810
|
+
|
|
2811
|
+
### Integration Patterns
|
|
2812
|
+
|
|
2813
|
+
**Simple Task (1 skill):**
|
|
2814
|
+
```
|
|
2815
|
+
User: "Implement semantic search"
|
|
2816
|
+
→ agentdb-vector-search skill (built-in)
|
|
2817
|
+
→ Done in minutes
|
|
2818
|
+
```
|
|
2819
|
+
|
|
2820
|
+
**Complex Task (multiple skills):**
|
|
2821
|
+
```
|
|
2822
|
+
User: "Build REST API with tests and deploy"
|
|
2823
|
+
→ sparc-methodology (planning)
|
|
2824
|
+
→ swarm-orchestration (parallel dev)
|
|
2825
|
+
→ agentdb-memory-patterns (coordination)
|
|
2826
|
+
→ github-workflow-automation (CI/CD)
|
|
2827
|
+
→ verification-quality (validation)
|
|
2828
|
+
→ reasoningbank-intelligence (learning)
|
|
2829
|
+
→ Complete production-ready system
|
|
2830
|
+
```
|
|
2831
|
+
|
|
2832
|
+
**Custom Domain (built-in + custom):**
|
|
2833
|
+
```
|
|
2834
|
+
1. Use claude-flow built-in: swarm-orchestration
|
|
2835
|
+
2. Create custom: your-company-api-standards (agentic-flow)
|
|
2836
|
+
3. Combine: Company-specific development with best practices
|
|
2837
|
+
4. Learn: Patterns stored for 46% faster next time
|
|
2838
|
+
```
|
|
2839
|
+
|
|
2840
|
+
---
|
|
2841
|
+
|
|
2842
|
+
## 🌐 Resources
|
|
2843
|
+
|
|
2844
|
+
### claude-flow
|
|
2845
|
+
- **Repository**: [https://github.com/ruvnet/claude-flow](https://github.com/ruvnet/claude-flow)
|
|
2846
|
+
- **Wiki**: [claude-flow wiki](https://github.com/ruvnet/claude-flow/wiki)
|
|
2847
|
+
- **21 Built-In Skills**: Available via MCP server
|
|
2848
|
+
- **213+ MCP Tools**: Coordination, memory, GitHub, neural patterns
|
|
2849
|
+
- **54 Agents**: Core dev to advanced distributed systems
|
|
2850
|
+
|
|
2851
|
+
### agentic-flow
|
|
2852
|
+
- **Documentation**: [agentic-flow docs](https://github.com/ruvnet/agentic-flow/tree/main/docs)
|
|
2853
|
+
- **Examples**: [Example skills](https://github.com/ruvnet/agentic-flow/tree/main/examples)
|
|
2854
|
+
- **AgentDB**: [agentdb package](https://github.com/ruvnet/agentdb)
|
|
2855
|
+
- **skill-builder**: Custom skill creation framework
|
|
2856
|
+
- **Issues**: [GitHub Issues](https://github.com/ruvnet/agentic-flow/issues)
|
|
2857
|
+
|
|
2858
|
+
### Official Anthropic
|
|
2859
|
+
- **Claude Code**: [Official docs](https://docs.claude.com/en/docs/claude-code)
|
|
2860
|
+
- **Claude Skills Specification**: [Skills guide](https://docs.claude.com/en/docs/claude-code/skills)
|
|
2861
|
+
- **Agent SDK**: [Agent development](https://docs.claude.com/en/docs/agent-sdk)
|
|
2862
|
+
|
|
2863
|
+
---
|
|
2864
|
+
|
|
2865
|
+
## 📊 Performance Metrics
|
|
2866
|
+
|
|
2867
|
+
### With claude-flow + agentic-flow Integration:
|
|
2868
|
+
|
|
2869
|
+
- **84.8% SWE-Bench solve rate** (vs industry avg 43%)
|
|
2870
|
+
- **32.3% token reduction** through intelligent coordination
|
|
2871
|
+
- **2.8-4.4x speed improvement** with parallel agent execution
|
|
2872
|
+
- **46% faster** on repeated tasks (ReasoningBank learning)
|
|
2873
|
+
- **150x-12,500x faster search** (AgentDB vector operations)
|
|
2874
|
+
- **27+ neural models** for pattern recognition
|
|
2875
|
+
- **0.95 accuracy threshold** for quality verification
|
|
2876
|
+
|
|
2877
|
+
---
|
|
2878
|
+
|
|
2879
|
+
**Version**: claude-flow v2.0 + agentic-flow v1.7.3
|
|
2880
|
+
**Philosophy**: Pre-built excellence + custom specialization
|
|
2881
|
+
**Architecture**: 21 built-in skills + unlimited custom + 213+ MCP tools
|
|
2882
|
+
**Result**: Enterprise-grade adaptive intelligence that learns how to think
|
|
2883
|
+
|
|
2884
|
+
🚀 **Start building adaptive AI systems today:**
|
|
2885
|
+
|
|
2886
|
+
```bash
|
|
2887
|
+
# Full installation (recommended)
|
|
2888
|
+
npm install -g claude-flow@alpha agentic-flow@latest
|
|
2889
|
+
|
|
2890
|
+
# Setup MCP server for built-in skills
|
|
2891
|
+
claude mcp add claude-flow npx claude-flow@alpha mcp start
|
|
2892
|
+
|
|
2893
|
+
# Create custom skills
|
|
2894
|
+
npx agentic-flow skills init
|
|
2895
|
+
npx agentic-flow skills create
|
|
2896
|
+
npx agentic-flow skills init-builder
|
|
2897
|
+
|
|
2898
|
+
# You now have access to:
|
|
2899
|
+
# ✅ 21 claude-flow built-in skills
|
|
2900
|
+
# ✅ 4 agentic-flow sample skills
|
|
2901
|
+
# ✅ 213+ MCP coordination tools
|
|
2902
|
+
# ✅ 54 specialized agents
|
|
2903
|
+
# ✅ Custom skill creation framework
|
|
2904
|
+
# ✅ AgentDB vector memory
|
|
2905
|
+
# ✅ ReasoningBank pattern learning
|
|
2906
|
+
# ✅ SPARC methodology
|
|
2907
|
+
# ✅ Complete GitHub integration
|
|
2908
|
+
|
|
2909
|
+
# Ready to build production AI systems! 🎯
|
|
2910
|
+
```
|