@colin4k1024/tsp 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +676 -0
- package/agents/roles/architect.md +119 -0
- package/agents/roles/backend-engineer.md +131 -0
- package/agents/roles/devops-engineer.md +113 -0
- package/agents/roles/frontend-engineer.md +118 -0
- package/agents/roles/product-manager.md +120 -0
- package/agents/roles/project-manager.md +104 -0
- package/agents/roles/qa-engineer.md +128 -0
- package/agents/roles/tech-lead.md +137 -0
- package/agents/specialists/architect.md +37 -0
- package/agents/specialists/build-error-resolver.md +38 -0
- package/agents/specialists/chief-of-staff.md +35 -0
- package/agents/specialists/code-reviewer.md +35 -0
- package/agents/specialists/cpp-build-resolver.md +34 -0
- package/agents/specialists/cpp-reviewer.md +33 -0
- package/agents/specialists/database-reviewer.md +36 -0
- package/agents/specialists/doc-updater.md +34 -0
- package/agents/specialists/docs-lookup.md +34 -0
- package/agents/specialists/e2e-runner.md +39 -0
- package/agents/specialists/go-build-resolver.md +34 -0
- package/agents/specialists/go-reviewer.md +34 -0
- package/agents/specialists/harness-optimizer.md +35 -0
- package/agents/specialists/java-build-resolver.md +34 -0
- package/agents/specialists/java-reviewer.md +36 -0
- package/agents/specialists/kotlin-build-resolver.md +34 -0
- package/agents/specialists/kotlin-reviewer.md +33 -0
- package/agents/specialists/loop-operator.md +38 -0
- package/agents/specialists/planner.md +35 -0
- package/agents/specialists/python-reviewer.md +34 -0
- package/agents/specialists/pytorch-build-resolver.md +34 -0
- package/agents/specialists/refactor-cleaner.md +35 -0
- package/agents/specialists/rust-build-resolver.md +34 -0
- package/agents/specialists/rust-reviewer.md +33 -0
- package/agents/specialists/security-reviewer.md +35 -0
- package/agents/specialists/tdd-guide.md +38 -0
- package/agents/specialists/typescript-reviewer.md +35 -0
- package/bin/lib/embedded-installer.js +93 -0
- package/bin/lib/install-surface.js +157 -0
- package/bin/lib/post-install-bridge.js +325 -0
- package/bin/lib/post-install-rtk.js +80 -0
- package/bin/lib/source-installer.js +151 -0
- package/bin/lib/ui.js +88 -0
- package/bin/lib/wizard.js +114 -0
- package/bin/prebuilt/README.md +11 -0
- package/bin/prebuilt/darwin-arm64/oris-claude-bridge +0 -0
- package/bin/prebuilt/darwin-x64/oris-claude-bridge +0 -0
- package/bin/prebuilt/linux-arm64/oris-claude-bridge +0 -0
- package/bin/prebuilt/linux-x64/oris-claude-bridge +0 -0
- package/bin/prebuilt/win32-x64/oris-claude-bridge.exe +0 -0
- package/bin/tsp-create.js +218 -0
- package/bin/tsp-install.js +6 -0
- package/commands/agent-dev.md +44 -0
- package/commands/aside.md +164 -0
- package/commands/build-fix.md +31 -0
- package/commands/checkpoint.md +74 -0
- package/commands/claw.md +23 -0
- package/commands/code-review.md +49 -0
- package/commands/context-budget.md +23 -0
- package/commands/cpp-build.md +173 -0
- package/commands/cpp-review.md +132 -0
- package/commands/cpp-test.md +251 -0
- package/commands/devfleet.md +23 -0
- package/commands/docs.md +23 -0
- package/commands/e2e.md +268 -0
- package/commands/eval.md +23 -0
- package/commands/evolve.md +210 -0
- package/commands/gan-build.md +99 -0
- package/commands/gan-design.md +35 -0
- package/commands/go-build.md +183 -0
- package/commands/go-review.md +148 -0
- package/commands/go-test.md +268 -0
- package/commands/gradle-build.md +70 -0
- package/commands/handoff.md +46 -0
- package/commands/harness-audit.md +35 -0
- package/commands/instinct-export.md +66 -0
- package/commands/instinct-import.md +114 -0
- package/commands/instinct-status.md +59 -0
- package/commands/kotlin-build.md +174 -0
- package/commands/kotlin-review.md +140 -0
- package/commands/kotlin-test.md +312 -0
- package/commands/learn-eval.md +152 -0
- package/commands/learn.md +104 -0
- package/commands/loop-start.md +32 -0
- package/commands/loop-status.md +24 -0
- package/commands/model-route.md +26 -0
- package/commands/multi-backend.md +31 -0
- package/commands/multi-execute.md +315 -0
- package/commands/multi-frontend.md +31 -0
- package/commands/multi-plan.md +268 -0
- package/commands/multi-workflow.md +191 -0
- package/commands/orchestrate.md +135 -0
- package/commands/pause.md +29 -0
- package/commands/plan.md +30 -0
- package/commands/pm2.md +272 -0
- package/commands/projects.md +39 -0
- package/commands/promote.md +41 -0
- package/commands/prompt-optimize.md +23 -0
- package/commands/prp-commit.md +112 -0
- package/commands/prp-implement.md +385 -0
- package/commands/prp-plan.md +502 -0
- package/commands/prp-pr.md +184 -0
- package/commands/prp-prd.md +447 -0
- package/commands/prune.md +31 -0
- package/commands/pua.md +37 -0
- package/commands/python-review.md +297 -0
- package/commands/quality-gate.md +29 -0
- package/commands/quick.md +33 -0
- package/commands/refactor-clean.md +80 -0
- package/commands/replay.md +46 -0
- package/commands/resume-session.md +156 -0
- package/commands/resume.md +31 -0
- package/commands/rules-distill.md +20 -0
- package/commands/rust-build.md +187 -0
- package/commands/rust-review.md +142 -0
- package/commands/rust-test.md +308 -0
- package/commands/santa-loop.md +175 -0
- package/commands/save-session.md +275 -0
- package/commands/sessions.md +333 -0
- package/commands/setup-pm.md +80 -0
- package/commands/skill-create.md +174 -0
- package/commands/skill-health.md +54 -0
- package/commands/tdd.md +31 -0
- package/commands/team-closeout.md +49 -0
- package/commands/team-execute.md +83 -0
- package/commands/team-help.md +41 -0
- package/commands/team-intake.md +50 -0
- package/commands/team-plan.md +105 -0
- package/commands/team-release.md +71 -0
- package/commands/team-review.md +80 -0
- package/commands/test-coverage.md +69 -0
- package/commands/trigger-pipeline.md +25 -0
- package/commands/update-codemaps.md +32 -0
- package/commands/update-docs.md +84 -0
- package/commands/verify.md +32 -0
- package/contexts/dev.md +5 -0
- package/contexts/research.md +5 -0
- package/contexts/review.md +5 -0
- package/crates/oris-claude-bridge/Cargo.lock +4187 -0
- package/crates/oris-claude-bridge/Cargo.toml +36 -0
- package/crates/oris-claude-bridge/Cross.toml +35 -0
- package/crates/oris-claude-bridge/src/claude_gene.rs +85 -0
- package/crates/oris-claude-bridge/src/env_fingerprint.rs +47 -0
- package/crates/oris-claude-bridge/src/evolution_state.rs +120 -0
- package/crates/oris-claude-bridge/src/gene_store.rs +290 -0
- package/crates/oris-claude-bridge/src/governor.rs +89 -0
- package/crates/oris-claude-bridge/src/main.rs +85 -0
- package/crates/oris-claude-bridge/src/replay.rs +81 -0
- package/crates/oris-claude-bridge/src/replay_graph.rs +105 -0
- package/crates/oris-claude-bridge/src/signal.rs +150 -0
- package/crates/oris-claude-bridge/src/solidify.rs +89 -0
- package/crates/oris-claude-bridge/src/solidify_graph.rs +201 -0
- package/crates/oris-claude-bridge/src/stats.rs +83 -0
- package/crates/oris-claude-bridge/src/store.rs +177 -0
- package/examples/INDEX.md +232 -0
- package/examples/ai-eval-platform-CLAUDE.md +82 -0
- package/examples/claude-conversation-script.md +107 -0
- package/examples/claude-scenario-playbook.md +113 -0
- package/examples/codex-conversation-script.md +111 -0
- package/examples/codex-scenario-playbook.md +123 -0
- package/examples/data-analytics-dashboard-CLAUDE.md +86 -0
- package/examples/data-ml-pipeline-CLAUDE.md +81 -0
- package/examples/data-observability-quality-CLAUDE.md +77 -0
- package/examples/enterprise-overlay-output-playbook.md +5 -0
- package/examples/enterprise-overlay-scenario-playbook.md +5 -0
- package/examples/full-lifecycle-demo-30min.md +458 -0
- package/examples/full-lifecycle-demo.md +446 -0
- package/examples/github-actions-supply-chain-CLAUDE.md +83 -0
- package/examples/iac-kubernetes-platform-CLAUDE.md +81 -0
- package/examples/internal-developer-platform-CLAUDE.md +79 -0
- package/examples/mobile-miniapp-CLAUDE.md +83 -0
- package/examples/platform-governance-CLAUDE.md +82 -0
- package/examples/plugin-extension-platform-CLAUDE.md +80 -0
- package/examples/project-CLAUDE.md +97 -0
- package/examples/project-type-starter-playbook.md +435 -0
- package/examples/role-conversation-scripts.md +65 -0
- package/examples/saas-nextjs-CLAUDE.md +106 -0
- package/examples/security-compliance-platform-CLAUDE.md +78 -0
- package/examples/springboot-service-CLAUDE.md +111 -0
- package/examples/user-CLAUDE.md +39 -0
- package/examples/vertical-project-conversation-scripts.md +427 -0
- package/examples/workflow-enterprise-CLAUDE.md +5 -0
- package/hooks/README.md +227 -0
- package/hooks/harness-context-monitor.js +113 -0
- package/hooks/harness-prompt-guard.js +97 -0
- package/hooks/harness-statusline.js +112 -0
- package/hooks/hooks.json +499 -0
- package/hooks/memory-persistence/README.md +97 -0
- package/hooks/memory-persistence/session-end.js +183 -0
- package/hooks/memory-persistence/session-start.js +327 -0
- package/hooks/pre-bash-block-no-verify.js +51 -0
- package/hooks/rtk-rewrite.sh +76 -0
- package/hooks/strategic-compact/README.md +71 -0
- package/hooks/strategic-compact/pre-compact.js +169 -0
- package/hooks/strategic-compact/suggest-compact.js +190 -0
- package/install.ps1 +76 -0
- package/install.sh +48 -0
- package/manifests/install-components.json +448 -0
- package/manifests/install-modules.json +825 -0
- package/manifests/install-profiles.json +110 -0
- package/manifests/model-profiles.json +66 -0
- package/marketplace.json +51 -0
- package/mcp-configs/mcp-servers.json +32 -0
- package/package.json +116 -0
- package/roles/architect/role.yaml +102 -0
- package/roles/backend-engineer/role.yaml +128 -0
- package/roles/devops-engineer/role.yaml +96 -0
- package/roles/frontend-engineer/role.yaml +101 -0
- package/roles/product-manager/role.yaml +103 -0
- package/roles/project-manager/role.yaml +87 -0
- package/roles/qa-engineer/role.yaml +125 -0
- package/roles/tech-lead/role.yaml +149 -0
- package/rules/README.md +31 -0
- package/rules/artifact-standards.md +139 -0
- package/rules/common/README.md +9 -0
- package/rules/common/agents.md +19 -0
- package/rules/common/coding-style.md +20 -0
- package/rules/common/development-workflow.md +45 -0
- package/rules/common/enterprise-architecture-governance.md +40 -0
- package/rules/common/enterprise-component-baseline.md +35 -0
- package/rules/common/git-workflow.md +15 -0
- package/rules/common/hooks.md +13 -0
- package/rules/common/patterns.md +14 -0
- package/rules/common/performance.md +13 -0
- package/rules/common/quality-gates-taxonomy.md +96 -0
- package/rules/common/security.md +33 -0
- package/rules/common/testing.md +22 -0
- package/rules/cpp/coding-style.md +44 -0
- package/rules/cpp/hooks.md +39 -0
- package/rules/cpp/patterns.md +51 -0
- package/rules/cpp/security.md +51 -0
- package/rules/cpp/testing.md +44 -0
- package/rules/csharp/coding-style.md +72 -0
- package/rules/csharp/hooks.md +25 -0
- package/rules/csharp/patterns.md +50 -0
- package/rules/csharp/security.md +58 -0
- package/rules/csharp/testing.md +46 -0
- package/rules/escalation-policy.md +16 -0
- package/rules/frontend-design-knowledge-base.md +43 -0
- package/rules/frontend-engineering-standards.md +55 -0
- package/rules/frontend-quality-gates.md +38 -0
- package/rules/frontend-ui-ux-standards.md +49 -0
- package/rules/golang/README.md +8 -0
- package/rules/golang/coding-style.md +12 -0
- package/rules/golang/testing.md +12 -0
- package/rules/handoff-contract.md +50 -0
- package/rules/java/README.md +14 -0
- package/rules/java/coding-style.md +15 -0
- package/rules/java/database.md +44 -0
- package/rules/java/enterprise-java.md +29 -0
- package/rules/java/jpa.md +13 -0
- package/rules/java/redis.md +29 -0
- package/rules/java/security.md +13 -0
- package/rules/java/springboot.md +14 -0
- package/rules/java/testing.md +13 -0
- package/rules/kotlin/coding-style.md +86 -0
- package/rules/kotlin/hooks.md +17 -0
- package/rules/kotlin/patterns.md +146 -0
- package/rules/kotlin/security.md +82 -0
- package/rules/kotlin/testing.md +128 -0
- package/rules/perl/coding-style.md +46 -0
- package/rules/perl/hooks.md +22 -0
- package/rules/perl/patterns.md +76 -0
- package/rules/perl/security.md +69 -0
- package/rules/perl/testing.md +54 -0
- package/rules/php/coding-style.md +40 -0
- package/rules/php/hooks.md +24 -0
- package/rules/php/patterns.md +33 -0
- package/rules/php/security.md +37 -0
- package/rules/php/testing.md +39 -0
- package/rules/python/README.md +9 -0
- package/rules/python/coding-style.md +12 -0
- package/rules/python/security.md +7 -0
- package/rules/python/testing.md +12 -0
- package/rules/rust/coding-style.md +151 -0
- package/rules/rust/hooks.md +16 -0
- package/rules/rust/patterns.md +168 -0
- package/rules/rust/security.md +141 -0
- package/rules/rust/testing.md +154 -0
- package/rules/swift/coding-style.md +47 -0
- package/rules/swift/hooks.md +20 -0
- package/rules/swift/patterns.md +66 -0
- package/rules/swift/security.md +33 -0
- package/rules/swift/testing.md +45 -0
- package/rules/team-operating-model.md +30 -0
- package/rules/typescript/README.md +11 -0
- package/rules/typescript/coding-style.md +13 -0
- package/rules/typescript/frontend.md +13 -0
- package/rules/typescript/testing.md +12 -0
- package/rules/zh/README.md +108 -0
- package/rules/zh/agents.md +50 -0
- package/rules/zh/code-review.md +124 -0
- package/rules/zh/coding-style.md +48 -0
- package/rules/zh/development-workflow.md +44 -0
- package/rules/zh/git-workflow.md +24 -0
- package/rules/zh/hooks.md +30 -0
- package/rules/zh/patterns.md +31 -0
- package/rules/zh/performance.md +55 -0
- package/rules/zh/security.md +29 -0
- package/rules/zh/testing.md +29 -0
- package/schemas/ecc-install-config.schema.json +67 -0
- package/schemas/hooks.schema.json +197 -0
- package/schemas/install-components.schema.json +58 -0
- package/schemas/install-modules.schema.json +107 -0
- package/schemas/install-profiles.schema.json +45 -0
- package/schemas/install-state.schema.json +218 -0
- package/schemas/package-manager.schema.json +23 -0
- package/schemas/plugin.schema.json +58 -0
- package/schemas/provenance.schema.json +31 -0
- package/schemas/state-store.schema.json +394 -0
- package/schemas/workflow-definition.schema.json +210 -0
- package/scripts/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/__pycache__/build_platform_artifacts.cpython-311.pyc +0 -0
- package/scripts/__pycache__/install_platform.cpython-311.pyc +0 -0
- package/scripts/__pycache__/langfuse_trace.cpython-311.pyc +0 -0
- package/scripts/__pycache__/query_audit_logs.cpython-311.pyc +0 -0
- package/scripts/__pycache__/scan_leaked_keys.cpython-311.pyc +0 -0
- package/scripts/__pycache__/team_skills_platform.cpython-311.pyc +0 -0
- package/scripts/__pycache__/team_skills_platform.cpython-313.pyc +0 -0
- package/scripts/__pycache__/validate_library.cpython-311.pyc +0 -0
- package/scripts/__pycache__/validate_workflow_state.cpython-311.pyc +0 -0
- package/scripts/artifact-persistence.js +970 -0
- package/scripts/build-platform-artifacts.js +84 -0
- package/scripts/build-platform-artifacts.ps1 +4 -0
- package/scripts/build-platform-artifacts.sh +7 -0
- package/scripts/build-prebuilt.sh +247 -0
- package/scripts/evolution/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/evolution/__pycache__/store.cpython-311.pyc +0 -0
- package/scripts/graphify-preflight.js +134 -0
- package/scripts/harness-audit.js +725 -0
- package/scripts/hooks/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/hooks/__pycache__/mcp_health_check.cpython-311.pyc +0 -0
- package/scripts/hooks/__pycache__/observe.cpython-311.pyc +0 -0
- package/scripts/hooks/__pycache__/session_end.cpython-311.pyc +0 -0
- package/scripts/hooks/__pycache__/session_start.cpython-311.pyc +0 -0
- package/scripts/hooks/auto-tmux-dev.js +88 -0
- package/scripts/hooks/check-console-log.js +71 -0
- package/scripts/hooks/check-hook-enabled.js +12 -0
- package/scripts/hooks/config-protection.js +140 -0
- package/scripts/hooks/cost-tracker.js +78 -0
- package/scripts/hooks/desktop-notify.js +168 -0
- package/scripts/hooks/doc-file-warning.js +90 -0
- package/scripts/hooks/evaluate-session.js +100 -0
- package/scripts/hooks/governance-capture.js +334 -0
- package/scripts/hooks/insaits-security-wrapper.js +90 -0
- package/scripts/hooks/mcp-health-check.js +619 -0
- package/scripts/hooks/post-bash-build-complete.js +27 -0
- package/scripts/hooks/post-bash-command-log.js +73 -0
- package/scripts/hooks/post-bash-pr-created.js +36 -0
- package/scripts/hooks/post-edit-accumulator.js +78 -0
- package/scripts/hooks/post-edit-console-warn.js +54 -0
- package/scripts/hooks/post-edit-format.js +109 -0
- package/scripts/hooks/post-edit-typecheck.js +96 -0
- package/scripts/hooks/pre-bash-block-no-verify.js +51 -0
- package/scripts/hooks/pre-bash-commit-quality.js +405 -0
- package/scripts/hooks/pre-bash-dev-server-block.js +187 -0
- package/scripts/hooks/pre-bash-git-push-reminder.js +28 -0
- package/scripts/hooks/pre-bash-tmux-reminder.js +33 -0
- package/scripts/hooks/pre-compact.js +48 -0
- package/scripts/hooks/pre-write-doc-warn.js +9 -0
- package/scripts/hooks/pua-post-tool-failure.js +50 -0
- package/scripts/hooks/pua-post-tool-use.js +40 -0
- package/scripts/hooks/pua-pre-compact.js +35 -0
- package/scripts/hooks/pua-stop.js +40 -0
- package/scripts/hooks/quality-gate.js +168 -0
- package/scripts/hooks/rtk-rewrite-wrapper.js +66 -0
- package/scripts/hooks/run-with-flags-shell.sh +41 -0
- package/scripts/hooks/run-with-flags.js +181 -0
- package/scripts/hooks/session-end-marker.js +29 -0
- package/scripts/hooks/session-end.js +301 -0
- package/scripts/hooks/session-start-bootstrap.js +149 -0
- package/scripts/hooks/session-start.js +275 -0
- package/scripts/hooks/stop-format-typecheck.js +209 -0
- package/scripts/hooks/stop-hook-bootstrap.js +111 -0
- package/scripts/hooks/suggest-compact.js +80 -0
- package/scripts/install-apply.js +511 -0
- package/scripts/install-claude.ps1 +10 -0
- package/scripts/install-claude.sh +16 -0
- package/scripts/install-codex.ps1 +13 -0
- package/scripts/install-codex.sh +19 -0
- package/scripts/install-cursor.sh +16 -0
- package/scripts/install-opencode.sh +16 -0
- package/scripts/install-plan.js +266 -0
- package/scripts/install-platform.js +1082 -0
- package/scripts/langfuse-trace.js +328 -0
- package/scripts/lib/__pycache__/audit_logger.cpython-311.pyc +0 -0
- package/scripts/lib/__pycache__/audit_query.cpython-311.pyc +0 -0
- package/scripts/lib/__pycache__/hook_contract.cpython-311.pyc +0 -0
- package/scripts/lib/__pycache__/memory_store.cpython-311.pyc +0 -0
- package/scripts/lib/__pycache__/utils.cpython-311.pyc +0 -0
- package/scripts/lib/agent-compress.js +244 -0
- package/scripts/lib/audit-logger.js +82 -0
- package/scripts/lib/audit-query.js +194 -0
- package/scripts/lib/hook-flags.js +74 -0
- package/scripts/lib/inspection.js +212 -0
- package/scripts/lib/install/apply.js +214 -0
- package/scripts/lib/install/config.js +90 -0
- package/scripts/lib/install/request.js +138 -0
- package/scripts/lib/install/runtime.js +55 -0
- package/scripts/lib/install-audit-manifest.js +225 -0
- package/scripts/lib/install-executor.js +684 -0
- package/scripts/lib/install-lifecycle.js +1317 -0
- package/scripts/lib/install-manifests.js +659 -0
- package/scripts/lib/install-state.js +315 -0
- package/scripts/lib/install-targets/antigravity-project.js +85 -0
- package/scripts/lib/install-targets/augment-project.js +47 -0
- package/scripts/lib/install-targets/claude-home.js +10 -0
- package/scripts/lib/install-targets/codebuddy-project.js +47 -0
- package/scripts/lib/install-targets/codex-home.js +10 -0
- package/scripts/lib/install-targets/copilot-home.js +10 -0
- package/scripts/lib/install-targets/cursor-project.js +47 -0
- package/scripts/lib/install-targets/gemini-project.js +10 -0
- package/scripts/lib/install-targets/helpers.js +314 -0
- package/scripts/lib/install-targets/opencode-home.js +10 -0
- package/scripts/lib/install-targets/registry.js +76 -0
- package/scripts/lib/install-targets/windsurf-project.js +47 -0
- package/scripts/lib/orchestration-session.js +299 -0
- package/scripts/lib/package-manager.d.ts +119 -0
- package/scripts/lib/package-manager.js +431 -0
- package/scripts/lib/project-detect.js +428 -0
- package/scripts/lib/pua-state.js +123 -0
- package/scripts/lib/release-health.js +82 -0
- package/scripts/lib/resolve-ecc-root.js +104 -0
- package/scripts/lib/resolve-formatter.js +185 -0
- package/scripts/lib/session-adapters/canonical-session.js +531 -0
- package/scripts/lib/session-adapters/claude-history.js +160 -0
- package/scripts/lib/session-adapters/dmux-tmux.js +90 -0
- package/scripts/lib/session-adapters/registry.js +127 -0
- package/scripts/lib/session-aliases.d.ts +136 -0
- package/scripts/lib/session-aliases.js +481 -0
- package/scripts/lib/session-manager.d.ts +132 -0
- package/scripts/lib/session-manager.js +533 -0
- package/scripts/lib/shell-split.js +86 -0
- package/scripts/lib/skill-evolution/dashboard.js +401 -0
- package/scripts/lib/skill-evolution/health.js +263 -0
- package/scripts/lib/skill-evolution/index.js +20 -0
- package/scripts/lib/skill-evolution/provenance.js +187 -0
- package/scripts/lib/skill-evolution/tracker.js +146 -0
- package/scripts/lib/skill-evolution/versioning.js +237 -0
- package/scripts/lib/skill-improvement/amendify.js +89 -0
- package/scripts/lib/skill-improvement/evaluate.js +59 -0
- package/scripts/lib/skill-improvement/health.js +118 -0
- package/scripts/lib/skill-improvement/observations.js +108 -0
- package/scripts/lib/state-store/index.js +191 -0
- package/scripts/lib/state-store/migrations.js +295 -0
- package/scripts/lib/state-store/queries.js +852 -0
- package/scripts/lib/state-store/schema.js +93 -0
- package/scripts/lib/team-skills-data.json +1318 -0
- package/scripts/lib/team-skills-platform.js +581 -0
- package/scripts/lib/tmux-worktree-orchestrator.js +598 -0
- package/scripts/lib/utils.d.ts +196 -0
- package/scripts/lib/utils.js +625 -0
- package/scripts/lib/workflow/discovery.js +105 -0
- package/scripts/lib/workflow/errors.js +33 -0
- package/scripts/lib/workflow/executor.js +350 -0
- package/scripts/lib/workflow/loader.js +173 -0
- package/scripts/lib/workflow/registry.js +102 -0
- package/scripts/lib/workflow/schema.js +66 -0
- package/scripts/lib/workflow/template.js +149 -0
- package/scripts/lib/workflow/types.d.ts +177 -0
- package/scripts/lib/workflow/types.js +27 -0
- package/scripts/lib/workflow-help-catalog.json +208 -0
- package/scripts/post-install-bridge.js +46 -0
- package/scripts/query-audit-logs.js +171 -0
- package/scripts/release-health-summary.js +297 -0
- package/scripts/release.sh +106 -0
- package/scripts/scan-leaked-keys.js +166 -0
- package/scripts/sync-prebuilt-from-github.js +521 -0
- package/scripts/trigger-gitlab-pipeline.js +165 -0
- package/scripts/validate-doc-freshness.js +321 -0
- package/scripts/validate-file-references.js +356 -0
- package/scripts/validate-library.js +487 -0
- package/scripts/validate-library.ps1 +4 -0
- package/scripts/validate-library.sh +7 -0
- package/scripts/validate-packed-tarball.js +149 -0
- package/scripts/validate-prebuilt.js +113 -0
- package/scripts/validate-skill-structure.js +256 -0
- package/scripts/validate-workflow-state.js +378 -0
- package/scripts/validate-workflows.js +99 -0
- package/scripts/workflow-help.js +648 -0
- package/scripts/workflow-list.js +133 -0
- package/scripts/workflow-readiness.js +259 -0
- package/scripts/workflow-run.js +553 -0
- package/scripts/workflow-runs.js +217 -0
- package/skills/adk-framework-adapters/SKILL.md +76 -0
- package/skills/adk-framework-adapters/references/agentscope.md +261 -0
- package/skills/adk-framework-adapters/references/autogen.md +206 -0
- package/skills/adk-framework-adapters/references/crewai.md +251 -0
- package/skills/adk-framework-adapters/references/eino.md +264 -0
- package/skills/adk-framework-adapters/references/langchain.md +193 -0
- package/skills/agent-dev-workshop/SKILL.md +296 -0
- package/skills/agent-dev-workshop/agents/openai.yaml +4 -0
- package/skills/agent-dev-workshop/references/phase1-discovery.md +124 -0
- package/skills/agent-dev-workshop/references/phase2-architecture.md +146 -0
- package/skills/agent-dev-workshop/references/phase3-tools.md +174 -0
- package/skills/agent-dev-workshop/references/phase4-prompts.md +269 -0
- package/skills/agent-dev-workshop/references/phase5-codegen.md +182 -0
- package/skills/agent-dev-workshop/references/phase6-verification.md +160 -0
- package/skills/agent-dev-workshop/references/shared.md +123 -0
- package/skills/agent-eval/SKILL.md +145 -0
- package/skills/agent-harness-construction/SKILL.md +73 -0
- package/skills/agent-patterns-catalog/SKILL.md +74 -0
- package/skills/agent-patterns-catalog/references/autonomous-agent.md +151 -0
- package/skills/agent-patterns-catalog/references/multi-agent-conversation.md +102 -0
- package/skills/agent-patterns-catalog/references/multi-agent-workflow.md +124 -0
- package/skills/agent-patterns-catalog/references/rag-agent.md +128 -0
- package/skills/agent-patterns-catalog/references/react-agent.md +72 -0
- package/skills/agent-patterns-catalog/references/tool-use-agent.md +139 -0
- package/skills/agent-payment-x402/SKILL.md +178 -0
- package/skills/agentic-engineering/SKILL.md +63 -0
- package/skills/ai-first-engineering/SKILL.md +51 -0
- package/skills/ai-regression-testing/SKILL.md +385 -0
- package/skills/ai-regression-testing/agents/openai.yaml +4 -0
- package/skills/android-clean-architecture/SKILL.md +339 -0
- package/skills/api-contract/SKILL.md +21 -0
- package/skills/api-contract/agents/openai.yaml +4 -0
- package/skills/api-design/SKILL.md +523 -0
- package/skills/architecture-decision-records/SKILL.md +179 -0
- package/skills/article-writing/SKILL.md +106 -0
- package/skills/autonomous-agent-harness/SKILL.md +267 -0
- package/skills/autonomous-loops/SKILL.md +610 -0
- package/skills/backend-patterns/SKILL.md +598 -0
- package/skills/benchmark/SKILL.md +93 -0
- package/skills/blueprint/SKILL.md +105 -0
- package/skills/brainstorming/SKILL.md +74 -0
- package/skills/brand-voice/SKILL.md +97 -0
- package/skills/brand-voice/references/voice-profile-schema.md +55 -0
- package/skills/browser-qa/SKILL.md +87 -0
- package/skills/browser-smoke-testing/SKILL.md +36 -0
- package/skills/browser-smoke-testing/agents/openai.yaml +4 -0
- package/skills/bun-runtime/SKILL.md +84 -0
- package/skills/canary-watch/SKILL.md +99 -0
- package/skills/carrier-relationship-management/SKILL.md +212 -0
- package/skills/ck/SKILL.md +147 -0
- package/skills/ck/commands/forget.mjs +44 -0
- package/skills/ck/commands/info.mjs +24 -0
- package/skills/ck/commands/init.mjs +143 -0
- package/skills/ck/commands/list.mjs +40 -0
- package/skills/ck/commands/migrate.mjs +202 -0
- package/skills/ck/commands/resume.mjs +36 -0
- package/skills/ck/commands/save.mjs +210 -0
- package/skills/ck/commands/shared.mjs +387 -0
- package/skills/ck/hooks/session-start.mjs +224 -0
- package/skills/claude-api/SKILL.md +337 -0
- package/skills/claude-devfleet/SKILL.md +103 -0
- package/skills/click-path-audit/SKILL.md +244 -0
- package/skills/clickhouse-io/SKILL.md +439 -0
- package/skills/codebase-onboarding/SKILL.md +233 -0
- package/skills/coding-standards/SKILL.md +530 -0
- package/skills/compose-multiplatform-patterns/SKILL.md +299 -0
- package/skills/configure-ecc/SKILL.md +367 -0
- package/skills/configure-ecc/agents/openai.yaml +4 -0
- package/skills/connections-optimizer/SKILL.md +187 -0
- package/skills/content-engine/SKILL.md +153 -0
- package/skills/content-hash-cache-pattern/SKILL.md +161 -0
- package/skills/context-budget/SKILL.md +135 -0
- package/skills/context-engineering/SKILL.md +198 -0
- package/skills/context-lifecycle/SKILL.md +164 -0
- package/skills/context-recall/SKILL.md +154 -0
- package/skills/continuous-agent-loop/SKILL.md +45 -0
- package/skills/continuous-learning/SKILL.md +140 -0
- package/skills/continuous-learning/agents/openai.yaml +4 -0
- package/skills/continuous-learning-v2/SKILL.md +140 -0
- package/skills/continuous-learning-v2/agents/observer-loop.sh +210 -0
- package/skills/continuous-learning-v2/agents/observer.md +198 -0
- package/skills/continuous-learning-v2/agents/openai.yaml +4 -0
- package/skills/continuous-learning-v2/agents/session-guardian.sh +150 -0
- package/skills/continuous-learning-v2/agents/start-observer.sh +244 -0
- package/skills/continuous-learning-v2/config.json +8 -0
- package/skills/continuous-learning-v2/hooks/observe.sh +414 -0
- package/skills/continuous-learning-v2/scripts/detect-project.sh +228 -0
- package/skills/continuous-learning-v2/scripts/instinct-cli.py +1477 -0
- package/skills/continuous-learning-v2/scripts/test_parse_instinct.py +984 -0
- package/skills/cost-aware-llm-pipeline/SKILL.md +138 -0
- package/skills/cpp-coding-standards/SKILL.md +723 -0
- package/skills/cpp-testing/SKILL.md +324 -0
- package/skills/cross-model-review/SKILL.md +107 -0
- package/skills/crosspost/SKILL.md +117 -0
- package/skills/customer-billing-ops/SKILL.md +140 -0
- package/skills/customs-trade-compliance/SKILL.md +263 -0
- package/skills/data-scraper-agent/SKILL.md +764 -0
- package/skills/database-migrations/SKILL.md +429 -0
- package/skills/deep-research/SKILL.md +155 -0
- package/skills/deployment-patterns/SKILL.md +427 -0
- package/skills/design-system/SKILL.md +82 -0
- package/skills/discuss-phase/SKILL.md +73 -0
- package/skills/django-patterns/SKILL.md +734 -0
- package/skills/django-security/SKILL.md +593 -0
- package/skills/django-tdd/SKILL.md +729 -0
- package/skills/django-verification/SKILL.md +469 -0
- package/skills/dmux-workflows/SKILL.md +191 -0
- package/skills/doc-architecture/SKILL.md +93 -0
- package/skills/doc-architecture/agents/openai.yaml +4 -0
- package/skills/doc-architecture/references/artifact-mapping.md +16 -0
- package/skills/doc-architecture/references/audit-checklist.md +34 -0
- package/skills/doc-architecture/references/discovery-questionnaire.md +40 -0
- package/skills/doc-architecture/references/doc-evolution-guide.md +23 -0
- package/skills/doc-architecture/references/service-decomposition-guide.md +32 -0
- package/skills/doc-architecture/references/tech-stack-profiles.md +31 -0
- package/skills/doc-architecture/references/templates/agents-md.tmpl.md +7 -0
- package/skills/doc-architecture/references/templates/architecture.tmpl.md +8 -0
- package/skills/doc-architecture/references/templates/domain.tmpl.md +7 -0
- package/skills/doc-architecture/references/templates/frontend.tmpl.md +7 -0
- package/skills/doc-architecture/references/templates/plan.tmpl.md +6 -0
- package/skills/doc-architecture/references/templates/runbook.tmpl.md +6 -0
- package/skills/doc-architecture/references/templates/spec.tmpl.md +8 -0
- package/skills/docker-patterns/SKILL.md +364 -0
- package/skills/documentation-lookup/SKILL.md +90 -0
- package/skills/e2e-testing/SKILL.md +326 -0
- package/skills/e2e-testing/agents/openai.yaml +4 -0
- package/skills/energy-procurement/SKILL.md +228 -0
- package/skills/enterprise-agent-ops/SKILL.md +50 -0
- package/skills/error-experience-library/SKILL.md +81 -0
- package/skills/error-experience-library/agents/openai.yaml +59 -0
- package/skills/eval-harness/SKILL.md +187 -0
- package/skills/eval-harness/agents/openai.yaml +4 -0
- package/skills/evolution-core/SKILL.md +280 -0
- package/skills/evolution-network/SKILL.md +110 -0
- package/skills/exa-search/SKILL.md +103 -0
- package/skills/fal-ai-media/SKILL.md +284 -0
- package/skills/flutter-dart-code-review/SKILL.md +435 -0
- package/skills/foundation-models-on-device/SKILL.md +243 -0
- package/skills/frontend-engineering/SKILL.md +31 -0
- package/skills/frontend-engineering/agents/openai.yaml +4 -0
- package/skills/frontend-engineering/references/component-patterns.md +19 -0
- package/skills/frontend-engineering/references/quality-checklist.md +18 -0
- package/skills/frontend-engineering/references/react-next-baseline.md +24 -0
- package/skills/frontend-patterns/SKILL.md +642 -0
- package/skills/frontend-slides/SKILL.md +184 -0
- package/skills/frontend-slides/STYLE_PRESETS.md +330 -0
- package/skills/frontend-ui-ux-system/SKILL.md +31 -0
- package/skills/frontend-ui-ux-system/agents/openai.yaml +4 -0
- package/skills/frontend-ui-ux-system/references/delivery-checklist.md +16 -0
- package/skills/frontend-ui-ux-system/references/design-md-integration.md +123 -0
- package/skills/frontend-ui-ux-system/references/design-tokens.md +22 -0
- package/skills/frontend-ui-ux-system/references/interaction-accessibility.md +19 -0
- package/skills/frontend-ui-ux-system/references/product-style-map.md +20 -0
- package/skills/gan-style-harness/SKILL.md +278 -0
- package/skills/git-workflow/SKILL.md +715 -0
- package/skills/git-worktree-isolation/SKILL.md +137 -0
- package/skills/goframe-v2/SKILL.md +136 -0
- package/skills/goframe-v2/examples/README.MD +53 -0
- package/skills/goframe-v2/examples/balancer/http/README.MD +91 -0
- package/skills/goframe-v2/examples/balancer/http/README.ZH.MD +44 -0
- package/skills/goframe-v2/examples/balancer/http/client/client.go +48 -0
- package/skills/goframe-v2/examples/balancer/http/go.mod +53 -0
- package/skills/goframe-v2/examples/balancer/http/go.sum +155 -0
- package/skills/goframe-v2/examples/balancer/http/server/server.go +43 -0
- package/skills/goframe-v2/examples/balancer/polaris/README.ZH.MD +71 -0
- package/skills/goframe-v2/examples/balancer/polaris/README.md +102 -0
- package/skills/goframe-v2/examples/balancer/polaris/client/client.go +84 -0
- package/skills/goframe-v2/examples/balancer/polaris/go.mod +63 -0
- package/skills/goframe-v2/examples/balancer/polaris/go.sum +1036 -0
- package/skills/goframe-v2/examples/balancer/polaris/server/server.go +65 -0
- package/skills/goframe-v2/examples/config/apollo/README.MD +160 -0
- package/skills/goframe-v2/examples/config/apollo/README.ZH.MD +51 -0
- package/skills/goframe-v2/examples/config/apollo/boot/boot.go +53 -0
- package/skills/goframe-v2/examples/config/apollo/go.mod +50 -0
- package/skills/goframe-v2/examples/config/apollo/go.sum +658 -0
- package/skills/goframe-v2/examples/config/apollo/main.go +42 -0
- package/skills/goframe-v2/examples/config/consul/README.MD +130 -0
- package/skills/goframe-v2/examples/config/consul/README.ZH.MD +50 -0
- package/skills/goframe-v2/examples/config/consul/boot/boot.go +63 -0
- package/skills/goframe-v2/examples/config/consul/go.mod +51 -0
- package/skills/goframe-v2/examples/config/consul/go.sum +285 -0
- package/skills/goframe-v2/examples/config/consul/main.go +45 -0
- package/skills/goframe-v2/examples/config/kubecm/README.MD +142 -0
- package/skills/goframe-v2/examples/config/kubecm/README.ZH.MD +40 -0
- package/skills/goframe-v2/examples/config/kubecm/boot_in_pod/boot.go +63 -0
- package/skills/goframe-v2/examples/config/kubecm/boot_out_pod/boot.go +85 -0
- package/skills/goframe-v2/examples/config/kubecm/go.mod +72 -0
- package/skills/goframe-v2/examples/config/kubecm/go.sum +209 -0
- package/skills/goframe-v2/examples/config/kubecm/main.go +45 -0
- package/skills/goframe-v2/examples/config/nacos/README.MD +110 -0
- package/skills/goframe-v2/examples/config/nacos/README.ZH.MD +52 -0
- package/skills/goframe-v2/examples/config/nacos/boot/boot.go +74 -0
- package/skills/goframe-v2/examples/config/nacos/go.mod +90 -0
- package/skills/goframe-v2/examples/config/nacos/go.sum +760 -0
- package/skills/goframe-v2/examples/config/nacos/main.go +45 -0
- package/skills/goframe-v2/examples/config/polaris/README.MD +135 -0
- package/skills/goframe-v2/examples/config/polaris/README.ZH.MD +47 -0
- package/skills/goframe-v2/examples/config/polaris/boot/boot.go +67 -0
- package/skills/goframe-v2/examples/config/polaris/go.mod +63 -0
- package/skills/goframe-v2/examples/config/polaris/go.sum +1036 -0
- package/skills/goframe-v2/examples/config/polaris/main.go +45 -0
- package/skills/goframe-v2/examples/config/polaris/testdata/polaris.yaml +11 -0
- package/skills/goframe-v2/examples/database/encoded-pass/README.MD +107 -0
- package/skills/goframe-v2/examples/database/encoded-pass/README.ZH.MD +108 -0
- package/skills/goframe-v2/examples/database/encoded-pass/config.yaml +3 -0
- package/skills/goframe-v2/examples/database/encoded-pass/dbdriver/dbdriver.go +77 -0
- package/skills/goframe-v2/examples/database/encoded-pass/dbdriver/dbdriver_test.go +46 -0
- package/skills/goframe-v2/examples/database/encoded-pass/go.mod +39 -0
- package/skills/goframe-v2/examples/database/encoded-pass/go.sum +86 -0
- package/skills/goframe-v2/examples/database/encoded-pass/main.go +26 -0
- package/skills/goframe-v2/examples/grpc/balancer/README.MD +104 -0
- package/skills/goframe-v2/examples/grpc/balancer/README.ZH.MD +60 -0
- package/skills/goframe-v2/examples/grpc/balancer/client/client.go +71 -0
- package/skills/goframe-v2/examples/grpc/balancer/controller/helloworld.go +28 -0
- package/skills/goframe-v2/examples/grpc/balancer/go.mod +43 -0
- package/skills/goframe-v2/examples/grpc/balancer/go.sum +94 -0
- package/skills/goframe-v2/examples/grpc/balancer/protobuf/helloworld.pb.go +124 -0
- package/skills/goframe-v2/examples/grpc/balancer/protobuf/helloworld.proto +24 -0
- package/skills/goframe-v2/examples/grpc/balancer/protobuf/helloworld_grpc.pb.go +129 -0
- package/skills/goframe-v2/examples/grpc/balancer/server/config.yaml +8 -0
- package/skills/goframe-v2/examples/grpc/balancer/server/server.go +45 -0
- package/skills/goframe-v2/examples/grpc/basic/README.MD +100 -0
- package/skills/goframe-v2/examples/grpc/basic/README.ZH.MD +53 -0
- package/skills/goframe-v2/examples/grpc/basic/client/client.go +60 -0
- package/skills/goframe-v2/examples/grpc/basic/controller/helloworld.go +28 -0
- package/skills/goframe-v2/examples/grpc/basic/go.mod +42 -0
- package/skills/goframe-v2/examples/grpc/basic/go.sum +94 -0
- package/skills/goframe-v2/examples/grpc/basic/protobuf/helloworld.pb.go +217 -0
- package/skills/goframe-v2/examples/grpc/basic/protobuf/helloworld.proto +24 -0
- package/skills/goframe-v2/examples/grpc/basic/protobuf/helloworld_grpc.pb.go +107 -0
- package/skills/goframe-v2/examples/grpc/basic/server/config.yaml +8 -0
- package/skills/goframe-v2/examples/grpc/basic/server/server.go +47 -0
- package/skills/goframe-v2/examples/grpc/ctx/README.MD +100 -0
- package/skills/goframe-v2/examples/grpc/ctx/README.ZH.MD +51 -0
- package/skills/goframe-v2/examples/grpc/ctx/client/client.go +73 -0
- package/skills/goframe-v2/examples/grpc/ctx/controller/helloworld.go +66 -0
- package/skills/goframe-v2/examples/grpc/ctx/go.mod +42 -0
- package/skills/goframe-v2/examples/grpc/ctx/go.sum +94 -0
- package/skills/goframe-v2/examples/grpc/ctx/protobuf/helloworld.pb.go +217 -0
- package/skills/goframe-v2/examples/grpc/ctx/protobuf/helloworld.proto +24 -0
- package/skills/goframe-v2/examples/grpc/ctx/protobuf/helloworld_grpc.pb.go +107 -0
- package/skills/goframe-v2/examples/grpc/ctx/server/config.yaml +8 -0
- package/skills/goframe-v2/examples/grpc/ctx/server/server.go +47 -0
- package/skills/goframe-v2/examples/grpc/rawgrpc/README.MD +98 -0
- package/skills/goframe-v2/examples/grpc/rawgrpc/README.ZH.MD +54 -0
- package/skills/goframe-v2/examples/grpc/rawgrpc/client/client.go +76 -0
- package/skills/goframe-v2/examples/grpc/rawgrpc/go.mod +42 -0
- package/skills/goframe-v2/examples/grpc/rawgrpc/go.sum +94 -0
- package/skills/goframe-v2/examples/grpc/rawgrpc/helloworld/helloworld.pb.go +234 -0
- package/skills/goframe-v2/examples/grpc/rawgrpc/helloworld/helloworld.proto +25 -0
- package/skills/goframe-v2/examples/grpc/rawgrpc/helloworld/helloworld_grpc.pb.go +107 -0
- package/skills/goframe-v2/examples/grpc/rawgrpc/server/server.go +89 -0
- package/skills/goframe-v2/examples/grpc/resolver/README.MD +105 -0
- package/skills/goframe-v2/examples/grpc/resolver/README.ZH.MD +61 -0
- package/skills/goframe-v2/examples/grpc/resolver/client/client.go +63 -0
- package/skills/goframe-v2/examples/grpc/resolver/controller/helloworld.go +61 -0
- package/skills/goframe-v2/examples/grpc/resolver/go.mod +54 -0
- package/skills/goframe-v2/examples/grpc/resolver/go.sum +157 -0
- package/skills/goframe-v2/examples/grpc/resolver/protobuf/helloworld.pb.go +217 -0
- package/skills/goframe-v2/examples/grpc/resolver/protobuf/helloworld.proto +24 -0
- package/skills/goframe-v2/examples/grpc/resolver/protobuf/helloworld_grpc.pb.go +107 -0
- package/skills/goframe-v2/examples/grpc/resolver/server/config.yaml +8 -0
- package/skills/goframe-v2/examples/grpc/resolver/server/server.go +50 -0
- package/skills/goframe-v2/examples/httpserver/basic-auth/README.MD +104 -0
- package/skills/goframe-v2/examples/httpserver/basic-auth/README.ZH.MD +104 -0
- package/skills/goframe-v2/examples/httpserver/basic-auth/go.mod +35 -0
- package/skills/goframe-v2/examples/httpserver/basic-auth/go.sum +81 -0
- package/skills/goframe-v2/examples/httpserver/basic-auth/main.go +34 -0
- package/skills/goframe-v2/examples/httpserver/jwt/README.MD +86 -0
- package/skills/goframe-v2/examples/httpserver/jwt/README.ZH.MD +86 -0
- package/skills/goframe-v2/examples/httpserver/jwt/api/v1/auth.go +30 -0
- package/skills/goframe-v2/examples/httpserver/jwt/go.mod +38 -0
- package/skills/goframe-v2/examples/httpserver/jwt/go.sum +83 -0
- package/skills/goframe-v2/examples/httpserver/jwt/internal/controller/auth.go +64 -0
- package/skills/goframe-v2/examples/httpserver/jwt/internal/middleware/jwt.go +55 -0
- package/skills/goframe-v2/examples/httpserver/jwt/main.go +39 -0
- package/skills/goframe-v2/examples/httpserver/mcp-http/README.MD +134 -0
- package/skills/goframe-v2/examples/httpserver/mcp-http/README.ZH.MD +134 -0
- package/skills/goframe-v2/examples/httpserver/mcp-http/go.mod +45 -0
- package/skills/goframe-v2/examples/httpserver/mcp-http/go.sum +100 -0
- package/skills/goframe-v2/examples/httpserver/mcp-http/main.go +51 -0
- package/skills/goframe-v2/examples/httpserver/mcp-sse/README.MD +99 -0
- package/skills/goframe-v2/examples/httpserver/mcp-sse/README.ZH.MD +101 -0
- package/skills/goframe-v2/examples/httpserver/mcp-sse/go.mod +45 -0
- package/skills/goframe-v2/examples/httpserver/mcp-sse/go.sum +100 -0
- package/skills/goframe-v2/examples/httpserver/mcp-sse/main.go +55 -0
- package/skills/goframe-v2/examples/httpserver/proxy/README.MD +92 -0
- package/skills/goframe-v2/examples/httpserver/proxy/README.ZH.MD +47 -0
- package/skills/goframe-v2/examples/httpserver/proxy/go.mod +35 -0
- package/skills/goframe-v2/examples/httpserver/proxy/go.sum +81 -0
- package/skills/goframe-v2/examples/httpserver/proxy/main.go +90 -0
- package/skills/goframe-v2/examples/httpserver/rate-limit/README.MD +77 -0
- package/skills/goframe-v2/examples/httpserver/rate-limit/README.ZH.MD +43 -0
- package/skills/goframe-v2/examples/httpserver/rate-limit/go.mod +38 -0
- package/skills/goframe-v2/examples/httpserver/rate-limit/go.sum +83 -0
- package/skills/goframe-v2/examples/httpserver/rate-limit/main.go +80 -0
- package/skills/goframe-v2/examples/httpserver/response-json-array/README.MD +80 -0
- package/skills/goframe-v2/examples/httpserver/response-json-array/README.ZH.MD +42 -0
- package/skills/goframe-v2/examples/httpserver/response-json-array/go.mod +35 -0
- package/skills/goframe-v2/examples/httpserver/response-json-array/go.sum +81 -0
- package/skills/goframe-v2/examples/httpserver/response-json-array/main.go +76 -0
- package/skills/goframe-v2/examples/httpserver/sse/README.MD +87 -0
- package/skills/goframe-v2/examples/httpserver/sse/README.ZH.MD +85 -0
- package/skills/goframe-v2/examples/httpserver/sse/go.mod +35 -0
- package/skills/goframe-v2/examples/httpserver/sse/go.sum +81 -0
- package/skills/goframe-v2/examples/httpserver/sse/main.go +84 -0
- package/skills/goframe-v2/examples/httpserver/swagger-auth/README.MD +104 -0
- package/skills/goframe-v2/examples/httpserver/swagger-auth/README.ZH.MD +104 -0
- package/skills/goframe-v2/examples/httpserver/swagger-auth/go.mod +35 -0
- package/skills/goframe-v2/examples/httpserver/swagger-auth/go.sum +81 -0
- package/skills/goframe-v2/examples/httpserver/swagger-auth/main.go +73 -0
- package/skills/goframe-v2/examples/httpserver/upload-file/README.MD +99 -0
- package/skills/goframe-v2/examples/httpserver/upload-file/README.ZH.MD +47 -0
- package/skills/goframe-v2/examples/httpserver/upload-file/go.mod +35 -0
- package/skills/goframe-v2/examples/httpserver/upload-file/go.sum +81 -0
- package/skills/goframe-v2/examples/httpserver/upload-file/main.go +78 -0
- package/skills/goframe-v2/examples/httpserver/upload-file/static/index.html +151 -0
- package/skills/goframe-v2/examples/nosql/mongodb/README.MD +101 -0
- package/skills/goframe-v2/examples/nosql/mongodb/README.ZH.MD +91 -0
- package/skills/goframe-v2/examples/nosql/mongodb/config.yaml +3 -0
- package/skills/goframe-v2/examples/nosql/mongodb/go.mod +47 -0
- package/skills/goframe-v2/examples/nosql/mongodb/go.sum +125 -0
- package/skills/goframe-v2/examples/nosql/mongodb/main.go +119 -0
- package/skills/goframe-v2/examples/nosql/redis/README.MD +100 -0
- package/skills/goframe-v2/examples/nosql/redis/README.ZH.MD +89 -0
- package/skills/goframe-v2/examples/nosql/redis/config.yaml +3 -0
- package/skills/goframe-v2/examples/nosql/redis/go.mod +40 -0
- package/skills/goframe-v2/examples/nosql/redis/go.sum +91 -0
- package/skills/goframe-v2/examples/nosql/redis/main.go +68 -0
- package/skills/goframe-v2/examples/observability/metric/basic/README.MD +101 -0
- package/skills/goframe-v2/examples/observability/metric/basic/README.ZH.MD +145 -0
- package/skills/goframe-v2/examples/observability/metric/basic/go.mod +52 -0
- package/skills/goframe-v2/examples/observability/metric/basic/go.sum +114 -0
- package/skills/goframe-v2/examples/observability/metric/basic/main.go +167 -0
- package/skills/goframe-v2/examples/observability/metric/callback/README.MD +94 -0
- package/skills/goframe-v2/examples/observability/metric/callback/README.ZH.MD +110 -0
- package/skills/goframe-v2/examples/observability/metric/callback/go.mod +52 -0
- package/skills/goframe-v2/examples/observability/metric/callback/go.sum +114 -0
- package/skills/goframe-v2/examples/observability/metric/callback/main.go +99 -0
- package/skills/goframe-v2/examples/observability/metric/dynamic_attributes/README.MD +94 -0
- package/skills/goframe-v2/examples/observability/metric/dynamic_attributes/README.ZH.MD +127 -0
- package/skills/goframe-v2/examples/observability/metric/dynamic_attributes/go.mod +52 -0
- package/skills/goframe-v2/examples/observability/metric/dynamic_attributes/go.sum +114 -0
- package/skills/goframe-v2/examples/observability/metric/dynamic_attributes/main.go +107 -0
- package/skills/goframe-v2/examples/observability/metric/global_attributes/README.MD +94 -0
- package/skills/goframe-v2/examples/observability/metric/global_attributes/README.ZH.MD +115 -0
- package/skills/goframe-v2/examples/observability/metric/global_attributes/go.mod +52 -0
- package/skills/goframe-v2/examples/observability/metric/global_attributes/go.sum +114 -0
- package/skills/goframe-v2/examples/observability/metric/global_attributes/main.go +118 -0
- package/skills/goframe-v2/examples/observability/metric/http_client/README.MD +100 -0
- package/skills/goframe-v2/examples/observability/metric/http_client/README.ZH.MD +115 -0
- package/skills/goframe-v2/examples/observability/metric/http_client/go.mod +52 -0
- package/skills/goframe-v2/examples/observability/metric/http_client/go.sum +114 -0
- package/skills/goframe-v2/examples/observability/metric/http_client/main.go +67 -0
- package/skills/goframe-v2/examples/observability/metric/http_server/README.MD +120 -0
- package/skills/goframe-v2/examples/observability/metric/http_server/README.ZH.MD +147 -0
- package/skills/goframe-v2/examples/observability/metric/http_server/go.mod +52 -0
- package/skills/goframe-v2/examples/observability/metric/http_server/go.sum +114 -0
- package/skills/goframe-v2/examples/observability/metric/http_server/main.go +89 -0
- package/skills/goframe-v2/examples/observability/metric/meter_attributes/README.MD +95 -0
- package/skills/goframe-v2/examples/observability/metric/meter_attributes/README.ZH.MD +116 -0
- package/skills/goframe-v2/examples/observability/metric/meter_attributes/go.mod +52 -0
- package/skills/goframe-v2/examples/observability/metric/meter_attributes/go.sum +114 -0
- package/skills/goframe-v2/examples/observability/metric/meter_attributes/main.go +118 -0
- package/skills/goframe-v2/examples/observability/metric/prometheus/README.MD +99 -0
- package/skills/goframe-v2/examples/observability/metric/prometheus/README.ZH.MD +126 -0
- package/skills/goframe-v2/examples/observability/metric/prometheus/go.mod +46 -0
- package/skills/goframe-v2/examples/observability/metric/prometheus/go.sum +101 -0
- package/skills/goframe-v2/examples/observability/metric/prometheus/prometheus.go +84 -0
- package/skills/goframe-v2/examples/observability/trace/grpc-with-db/README.MD +192 -0
- package/skills/goframe-v2/examples/observability/trace/grpc-with-db/README.ZH.MD +175 -0
- package/skills/goframe-v2/examples/observability/trace/grpc-with-db/client/client.go +114 -0
- package/skills/goframe-v2/examples/observability/trace/grpc-with-db/go.mod +67 -0
- package/skills/goframe-v2/examples/observability/trace/grpc-with-db/go.sum +187 -0
- package/skills/goframe-v2/examples/observability/trace/grpc-with-db/protobuf/user/user.pb.go +469 -0
- package/skills/goframe-v2/examples/observability/trace/grpc-with-db/protobuf/user/user.proto +35 -0
- package/skills/goframe-v2/examples/observability/trace/grpc-with-db/protobuf/user/user_grpc.pb.go +188 -0
- package/skills/goframe-v2/examples/observability/trace/grpc-with-db/server/config.yaml +31 -0
- package/skills/goframe-v2/examples/observability/trace/grpc-with-db/server/server.go +138 -0
- package/skills/goframe-v2/examples/observability/trace/grpc-with-db/sql.sql +6 -0
- package/skills/goframe-v2/examples/observability/trace/http/README.MD +113 -0
- package/skills/goframe-v2/examples/observability/trace/http/README.ZH.MD +119 -0
- package/skills/goframe-v2/examples/observability/trace/http/client/client.go +71 -0
- package/skills/goframe-v2/examples/observability/trace/http/go.mod +47 -0
- package/skills/goframe-v2/examples/observability/trace/http/go.sum +106 -0
- package/skills/goframe-v2/examples/observability/trace/http/server/server.go +70 -0
- package/skills/goframe-v2/examples/observability/trace/http-with-db/README.MD +192 -0
- package/skills/goframe-v2/examples/observability/trace/http-with-db/README.ZH.MD +190 -0
- package/skills/goframe-v2/examples/observability/trace/http-with-db/client/client.go +107 -0
- package/skills/goframe-v2/examples/observability/trace/http-with-db/go.mod +49 -0
- package/skills/goframe-v2/examples/observability/trace/http-with-db/go.sum +110 -0
- package/skills/goframe-v2/examples/observability/trace/http-with-db/server/config.yaml +23 -0
- package/skills/goframe-v2/examples/observability/trace/http-with-db/server/server.go +161 -0
- package/skills/goframe-v2/examples/observability/trace/http-with-db/sql.sql +6 -0
- package/skills/goframe-v2/examples/observability/trace/inprocess/README.MD +145 -0
- package/skills/goframe-v2/examples/observability/trace/inprocess/README.ZH.MD +182 -0
- package/skills/goframe-v2/examples/observability/trace/inprocess/go.mod +47 -0
- package/skills/goframe-v2/examples/observability/trace/inprocess/go.sum +106 -0
- package/skills/goframe-v2/examples/observability/trace/inprocess/main.go +135 -0
- package/skills/goframe-v2/examples/observability/trace/inprocess-grpc/README.MD +147 -0
- package/skills/goframe-v2/examples/observability/trace/inprocess-grpc/README.ZH.MD +131 -0
- package/skills/goframe-v2/examples/observability/trace/inprocess-grpc/go.mod +47 -0
- package/skills/goframe-v2/examples/observability/trace/inprocess-grpc/go.sum +106 -0
- package/skills/goframe-v2/examples/observability/trace/inprocess-grpc/main.go +139 -0
- package/skills/goframe-v2/examples/observability/trace/otlp/README.MD +160 -0
- package/skills/goframe-v2/examples/observability/trace/otlp/README.ZH.MD +166 -0
- package/skills/goframe-v2/examples/observability/trace/otlp/go.mod +49 -0
- package/skills/goframe-v2/examples/observability/trace/otlp/go.sum +110 -0
- package/skills/goframe-v2/examples/observability/trace/otlp/grpc/main.go +67 -0
- package/skills/goframe-v2/examples/observability/trace/otlp/http/main.go +67 -0
- package/skills/goframe-v2/examples/observability/trace/processes/README.MD +151 -0
- package/skills/goframe-v2/examples/observability/trace/processes/README.ZH.MD +164 -0
- package/skills/goframe-v2/examples/observability/trace/processes/gcmd/main.go +43 -0
- package/skills/goframe-v2/examples/observability/trace/processes/gcmd/sub/sub.go +41 -0
- package/skills/goframe-v2/examples/observability/trace/processes/go.mod +35 -0
- package/skills/goframe-v2/examples/observability/trace/processes/go.sum +81 -0
- package/skills/goframe-v2/examples/observability/trace/processes/gproc/main.go +40 -0
- package/skills/goframe-v2/examples/observability/trace/processes/gproc/sub/sub.go +33 -0
- package/skills/goframe-v2/examples/observability/trace/provider/README.MD +189 -0
- package/skills/goframe-v2/examples/observability/trace/provider/README.ZH.MD +210 -0
- package/skills/goframe-v2/examples/observability/trace/provider/go.mod +47 -0
- package/skills/goframe-v2/examples/observability/trace/provider/go.sum +103 -0
- package/skills/goframe-v2/examples/observability/trace/provider/grpc/main.go +114 -0
- package/skills/goframe-v2/examples/observability/trace/provider/http/main.go +111 -0
- package/skills/goframe-v2/examples/observability/trace/provider/internal/consts.go +34 -0
- package/skills/goframe-v2/examples/observability/trace/provider/internal/provider.go +84 -0
- package/skills/goframe-v2/examples/observability/trace/provider/internal/request.go +36 -0
- package/skills/goframe-v2/examples/practices/injection/Makefile +1 -0
- package/skills/goframe-v2/examples/practices/injection/README.MD +148 -0
- package/skills/goframe-v2/examples/practices/injection/README.ZH.MD +149 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/Makefile +8 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/README.MD +7 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/api/hello/hello.go +15 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/api/hello/v1/hello.go +12 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/api/user/user.go +18 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/api/user/v1/user.go +39 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/hack/config.yaml +8 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/cmd/cmd.go +9 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/cmd/cmd_server.go +34 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/cmd/cmd_worker.go +22 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/consts/consts.go +1 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/controller/hello/hello.go +5 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/controller/hello/hello_new.go +15 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/controller/hello/hello_v1_hello.go +13 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/controller/user/user.go +5 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/controller/user/user_new.go +21 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/controller/user/user_v1.go +5 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/controller/user/user_v1_create.go +21 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/controller/user/user_v1_delete.go +16 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/controller/user/user_v1_get_list.go +29 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/controller/user/user_v1_get_one.go +26 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/controller/user/user_v1_test.go +31 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/model/.gitkeep +0 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/internal/service/.gitkeep +0 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/main.go +17 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/config/config.yaml +14 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/deploy/kustomize/base/configmap.yaml +16 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/deploy/kustomize/base/deployment.yaml +31 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/deploy/kustomize/base/kustomization.yaml +8 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/deploy/kustomize/base/service.yaml +12 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/deploy/kustomize/overlays/develop/configmap.yaml +16 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/deploy/kustomize/overlays/develop/deployment.yaml +10 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/deploy/kustomize/overlays/develop/kustomization.yaml +14 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/deploy/kustomize/overlays/product/configmap.yaml +16 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/deploy/kustomize/overlays/product/deployment.yaml +10 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/deploy/kustomize/overlays/product/kustomization.yaml +14 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/docker/Dockerfile +15 -0
- package/skills/goframe-v2/examples/practices/injection/app/gateway/manifest/docker/docker.sh +8 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/Makefile +8 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/README.MD +5 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/api/entity/user.pb.go +107 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/api/user/v1/user.pb.go +378 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/api/user/v1/user_grpc.pb.go +248 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/hack/config.yaml +8 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/cmd/cmd.go +9 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/cmd/cmd_server.go +34 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/cmd/cmd_worker.go +22 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/consts/consts.go +1 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/controller/user/user.go +78 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/controller/user/user_test.go +108 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/dao/user/user.go +170 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/dao/user/user_test.go +98 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/model/.gitkeep +0 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/model/entity/user.go +10 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/service/user/user.go +114 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/internal/service/user/user_test.go +90 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/main.go +17 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/config/config.yaml +26 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/deploy/kustomize/base/configmap.yaml +30 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/deploy/kustomize/base/deployment.yaml +31 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/deploy/kustomize/base/kustomization.yaml +8 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/deploy/kustomize/base/service.yaml +12 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/deploy/kustomize/overlays/develop/configmap.yaml +30 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/deploy/kustomize/overlays/develop/deployment.yaml +10 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/deploy/kustomize/overlays/develop/kustomization.yaml +14 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/deploy/kustomize/overlays/product/configmap.yaml +30 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/deploy/kustomize/overlays/product/deployment.yaml +10 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/deploy/kustomize/overlays/product/kustomization.yaml +14 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/docker/Dockerfile +15 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/docker/docker.sh +8 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/protobuf/entity/user.proto +12 -0
- package/skills/goframe-v2/examples/practices/injection/app/user/manifest/protobuf/user/v1/user.proto +62 -0
- package/skills/goframe-v2/examples/practices/injection/go.mod +58 -0
- package/skills/goframe-v2/examples/practices/injection/go.sum +152 -0
- package/skills/goframe-v2/examples/practices/injection/hack/hack-cli.mk +18 -0
- package/skills/goframe-v2/examples/practices/injection/hack/hack.mk +64 -0
- package/skills/goframe-v2/examples/practices/injection/utility/.gitkeep +0 -0
- package/skills/goframe-v2/examples/practices/injection/utility/injection/injection.go +107 -0
- package/skills/goframe-v2/examples/practices/injection/utility/injection/injection_grpc_clients.go +29 -0
- package/skills/goframe-v2/examples/practices/injection/utility/injection/injection_mongo.go +43 -0
- package/skills/goframe-v2/examples/practices/injection/utility/injection/injection_redis.go +40 -0
- package/skills/goframe-v2/examples/practices/injection/utility/mongohelper/mongohelper.go +24 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/Makefile +6 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/README.MD +297 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/README.ZH.MD +296 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/api/v1/chat.go +27 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/go.mod +35 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/go.sum +81 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/hack/config.yaml +13 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/hack/hack-cli.mk +18 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/hack/hack.mk +77 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/internal/cmd/cmd.go +32 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/internal/consts/consts.go +1 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/internal/consts/consts_chat.go +15 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/internal/controller/chat.go +183 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/internal/model/chat.go +7 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/main.go +11 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/manifest/config/config.yaml +14 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/manifest/deploy/kustomize/base/deployment.yaml +21 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/manifest/deploy/kustomize/base/kustomization.yaml +8 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/manifest/deploy/kustomize/base/service.yaml +12 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/manifest/deploy/kustomize/overlays/develop/configmap.yaml +14 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/manifest/deploy/kustomize/overlays/develop/deployment.yaml +10 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/manifest/deploy/kustomize/overlays/develop/kustomization.yaml +14 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/manifest/docker/Dockerfile +16 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/manifest/docker/docker.sh +8 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/public/plugin/layer-3.1.1/layer.js +2 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/public/plugin/layer-3.1.1/mobile/layer.js +2 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/public/plugin/layer-3.1.1/mobile/need/layer.css +1 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/public/plugin/layer-3.1.1/theme/default/icon-ext.png +0 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/public/plugin/layer-3.1.1/theme/default/icon.png +0 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/public/plugin/layer-3.1.1/theme/default/layer.css +1 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/public/plugin/layer-3.1.1/theme/default/loading-0.gif +0 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/public/plugin/layer-3.1.1/theme/default/loading-1.gif +0 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/public/plugin/layer-3.1.1/theme/default/loading-2.gif +0 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/public/resource/image/favicon.ico +0 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/public/resource/image/gf.ico +0 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/template/chat/include/chat.html +146 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/template/chat/include/main.html +65 -0
- package/skills/goframe-v2/examples/practices/mvc-demo-chat/resource/template/chat/index.html +18 -0
- package/skills/goframe-v2/examples/practices/quick-demo/Makefile +6 -0
- package/skills/goframe-v2/examples/practices/quick-demo/README.MD +282 -0
- package/skills/goframe-v2/examples/practices/quick-demo/README.ZH.MD +285 -0
- package/skills/goframe-v2/examples/practices/quick-demo/api/user/user.go +19 -0
- package/skills/goframe-v2/examples/practices/quick-demo/api/user/v1/user.go +61 -0
- package/skills/goframe-v2/examples/practices/quick-demo/go.mod +39 -0
- package/skills/goframe-v2/examples/practices/quick-demo/go.sum +86 -0
- package/skills/goframe-v2/examples/practices/quick-demo/hack/config.yaml +13 -0
- package/skills/goframe-v2/examples/practices/quick-demo/hack/hack-cli.mk +18 -0
- package/skills/goframe-v2/examples/practices/quick-demo/hack/hack.mk +77 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/cmd/cmd.go +33 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/consts/consts.go +1 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/controller/user/user.go +5 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/controller/user/user_new.go +15 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/controller/user/user_v1_create.go +25 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/controller/user/user_v1_delete.go +14 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/controller/user/user_v1_get_list.go +19 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/controller/user/user_v1_get_one.go +15 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/controller/user/user_v1_update.go +19 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/dao/internal/user.go +79 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/dao/user.go +27 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/model/.gitkeep +0 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/model/do/user.go +18 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/model/entity/user.go +13 -0
- package/skills/goframe-v2/examples/practices/quick-demo/internal/service/.gitkeep +0 -0
- package/skills/goframe-v2/examples/practices/quick-demo/main.go +13 -0
- package/skills/goframe-v2/examples/practices/quick-demo/manifest/config/config.yaml +15 -0
- package/skills/goframe-v2/examples/practices/quick-demo/manifest/deploy/kustomize/base/deployment.yaml +21 -0
- package/skills/goframe-v2/examples/practices/quick-demo/manifest/deploy/kustomize/base/kustomization.yaml +8 -0
- package/skills/goframe-v2/examples/practices/quick-demo/manifest/deploy/kustomize/base/service.yaml +12 -0
- package/skills/goframe-v2/examples/practices/quick-demo/manifest/deploy/kustomize/overlays/develop/configmap.yaml +14 -0
- package/skills/goframe-v2/examples/practices/quick-demo/manifest/deploy/kustomize/overlays/develop/deployment.yaml +10 -0
- package/skills/goframe-v2/examples/practices/quick-demo/manifest/deploy/kustomize/overlays/develop/kustomization.yaml +14 -0
- package/skills/goframe-v2/examples/practices/quick-demo/manifest/docker/Dockerfile +16 -0
- package/skills/goframe-v2/examples/practices/quick-demo/manifest/docker/docker.sh +8 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/Makefile +81 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/README.MD +360 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/README.ZH.MD +363 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/api/pbentity/user.pb.go +219 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/api/user/v1/user.pb.go +619 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/api/user/v1/user_grpc.pb.go +223 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/go.mod +44 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/go.sum +95 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/hack/config.yaml +13 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/internal/cmd/cmd.go +35 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/internal/consts/consts.go +1 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/internal/controller/user/user.go +63 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/internal/dao/internal/user.go +83 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/internal/dao/user.go +27 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/internal/model/do/user.go +21 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/internal/model/entity/user.go +19 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/internal/service/user/user.go +36 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/main.go +13 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/config/config.yaml +27 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/deploy/kustomize/base/deployment.yaml +21 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/deploy/kustomize/base/kustomization.yaml +8 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/deploy/kustomize/base/service.yaml +12 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/deploy/kustomize/overlays/develop/configmap.yaml +14 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/deploy/kustomize/overlays/develop/deployment.yaml +10 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/deploy/kustomize/overlays/develop/kustomization.yaml +14 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/docker/Dockerfile +15 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/docker/docker.sh +8 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/protobuf/pbentity/user.proto +21 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/protobuf/user/v1/user.proto +45 -0
- package/skills/goframe-v2/examples/practices/user-grpc-service/manifest/sql/create.sql +11 -0
- package/skills/goframe-v2/examples/practices/user-http-service/Makefile +6 -0
- package/skills/goframe-v2/examples/practices/user-http-service/README.MD +476 -0
- package/skills/goframe-v2/examples/practices/user-http-service/README.ZH.MD +475 -0
- package/skills/goframe-v2/examples/practices/user-http-service/api/user/user.go +21 -0
- package/skills/goframe-v2/examples/practices/user-http-service/api/user/v1/user_check_nick_name.go +10 -0
- package/skills/goframe-v2/examples/practices/user-http-service/api/user/v1/user_check_passport.go +10 -0
- package/skills/goframe-v2/examples/practices/user-http-service/api/user/v1/user_is_signed_in.go +11 -0
- package/skills/goframe-v2/examples/practices/user-http-service/api/user/v1/user_profile.go +15 -0
- package/skills/goframe-v2/examples/practices/user-http-service/api/user/v1/user_sign_in.go +11 -0
- package/skills/goframe-v2/examples/practices/user-http-service/api/user/v1/user_sign_out.go +9 -0
- package/skills/goframe-v2/examples/practices/user-http-service/api/user/v1/user_sign_up.go +13 -0
- package/skills/goframe-v2/examples/practices/user-http-service/go.mod +39 -0
- package/skills/goframe-v2/examples/practices/user-http-service/go.sum +86 -0
- package/skills/goframe-v2/examples/practices/user-http-service/hack/config.yaml +9 -0
- package/skills/goframe-v2/examples/practices/user-http-service/hack/hack-cli.mk +18 -0
- package/skills/goframe-v2/examples/practices/user-http-service/hack/hack.mk +75 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/cmd/cmd.go +82 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/consts/consts.go +3 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/controller/user/user.go +6 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/controller/user/user_new.go +21 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/controller/user/user_v1_check_nick_name.go +21 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/controller/user/user_v1_check_passport.go +21 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/controller/user/user_v1_is_signed_in.go +15 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/controller/user/user_v1_profile.go +15 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/controller/user/user_v1_sign_in.go +17 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/controller/user/user_v1_sign_out.go +13 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/controller/user/user_v1_sign_up.go +18 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/dao/internal/user.go +83 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/dao/user.go +27 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/model/do/user.go +21 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/model/entity/user.go +19 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/service/bizctx/bizctx.go +57 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/service/middleware/middleware.go +59 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/service/session/session.go +53 -0
- package/skills/goframe-v2/examples/practices/user-http-service/internal/service/user/user.go +140 -0
- package/skills/goframe-v2/examples/practices/user-http-service/main.go +13 -0
- package/skills/goframe-v2/examples/practices/user-http-service/manifest/config/config.yaml +24 -0
- package/skills/goframe-v2/examples/practices/user-http-service/manifest/deploy/kustomize/base/deployment.yaml +21 -0
- package/skills/goframe-v2/examples/practices/user-http-service/manifest/deploy/kustomize/base/kustomization.yaml +8 -0
- package/skills/goframe-v2/examples/practices/user-http-service/manifest/deploy/kustomize/base/service.yaml +12 -0
- package/skills/goframe-v2/examples/practices/user-http-service/manifest/deploy/kustomize/overlays/develop/configmap.yaml +14 -0
- package/skills/goframe-v2/examples/practices/user-http-service/manifest/deploy/kustomize/overlays/develop/deployment.yaml +10 -0
- package/skills/goframe-v2/examples/practices/user-http-service/manifest/deploy/kustomize/overlays/develop/kustomization.yaml +14 -0
- package/skills/goframe-v2/examples/practices/user-http-service/manifest/docker/Dockerfile +15 -0
- package/skills/goframe-v2/examples/practices/user-http-service/manifest/docker/docker.sh +8 -0
- package/skills/goframe-v2/examples/practices/user-http-service/manifest/sql/create.sql +10 -0
- package/skills/goframe-v2/examples/registry/consul/README.MD +110 -0
- package/skills/goframe-v2/examples/registry/consul/README.ZH.MD +92 -0
- package/skills/goframe-v2/examples/registry/consul/docker-compose/client.json +7 -0
- package/skills/goframe-v2/examples/registry/consul/docker-compose/docker-compose.yml +31 -0
- package/skills/goframe-v2/examples/registry/consul/docker-compose/server.json +12 -0
- package/skills/goframe-v2/examples/registry/consul/go.mod +56 -0
- package/skills/goframe-v2/examples/registry/consul/go.sum +297 -0
- package/skills/goframe-v2/examples/registry/consul/grpc/client/client.go +38 -0
- package/skills/goframe-v2/examples/registry/consul/grpc/controller/helloworld.go +28 -0
- package/skills/goframe-v2/examples/registry/consul/grpc/protobuf/helloworld.pb.go +217 -0
- package/skills/goframe-v2/examples/registry/consul/grpc/protobuf/helloworld.proto +24 -0
- package/skills/goframe-v2/examples/registry/consul/grpc/protobuf/helloworld_grpc.pb.go +107 -0
- package/skills/goframe-v2/examples/registry/consul/grpc/server/config.yaml +8 -0
- package/skills/goframe-v2/examples/registry/consul/grpc/server/server.go +30 -0
- package/skills/goframe-v2/examples/registry/consul/http/client/client.go +33 -0
- package/skills/goframe-v2/examples/registry/consul/http/server/server.go +32 -0
- package/skills/goframe-v2/examples/registry/etcd/README.MD +127 -0
- package/skills/goframe-v2/examples/registry/etcd/README.ZH.MD +105 -0
- package/skills/goframe-v2/examples/registry/etcd/go.mod +54 -0
- package/skills/goframe-v2/examples/registry/etcd/go.sum +157 -0
- package/skills/goframe-v2/examples/registry/etcd/grpc/client/client.go +44 -0
- package/skills/goframe-v2/examples/registry/etcd/grpc/controller/helloworld.go +28 -0
- package/skills/goframe-v2/examples/registry/etcd/grpc/protobuf/helloworld.pb.go +217 -0
- package/skills/goframe-v2/examples/registry/etcd/grpc/protobuf/helloworld.proto +24 -0
- package/skills/goframe-v2/examples/registry/etcd/grpc/protobuf/helloworld_grpc.pb.go +107 -0
- package/skills/goframe-v2/examples/registry/etcd/grpc/server/config.yaml +8 -0
- package/skills/goframe-v2/examples/registry/etcd/grpc/server/server.go +23 -0
- package/skills/goframe-v2/examples/registry/etcd/http/client/client.go +53 -0
- package/skills/goframe-v2/examples/registry/etcd/http/server/server.go +56 -0
- package/skills/goframe-v2/examples/registry/file/README.MD +97 -0
- package/skills/goframe-v2/examples/registry/file/README.ZH.MD +91 -0
- package/skills/goframe-v2/examples/registry/file/client/client.go +66 -0
- package/skills/goframe-v2/examples/registry/file/go.mod +38 -0
- package/skills/goframe-v2/examples/registry/file/go.sum +84 -0
- package/skills/goframe-v2/examples/registry/file/server/server.go +56 -0
- package/skills/goframe-v2/examples/registry/nacos/README.MD +118 -0
- package/skills/goframe-v2/examples/registry/nacos/README.ZH.MD +110 -0
- package/skills/goframe-v2/examples/registry/nacos/docker-compose/docker-compose.yml +24 -0
- package/skills/goframe-v2/examples/registry/nacos/docker-compose/env/nacos.env +2 -0
- package/skills/goframe-v2/examples/registry/nacos/go.mod +97 -0
- package/skills/goframe-v2/examples/registry/nacos/go.sum +737 -0
- package/skills/goframe-v2/examples/registry/nacos/grpc/client/client.go +33 -0
- package/skills/goframe-v2/examples/registry/nacos/grpc/controller/helloworld.go +28 -0
- package/skills/goframe-v2/examples/registry/nacos/grpc/protobuf/helloworld.pb.go +217 -0
- package/skills/goframe-v2/examples/registry/nacos/grpc/protobuf/helloworld.proto +24 -0
- package/skills/goframe-v2/examples/registry/nacos/grpc/protobuf/helloworld_grpc.pb.go +107 -0
- package/skills/goframe-v2/examples/registry/nacos/grpc/server/config.yaml +8 -0
- package/skills/goframe-v2/examples/registry/nacos/grpc/server/server.go +24 -0
- package/skills/goframe-v2/examples/registry/nacos/http/client/client.go +53 -0
- package/skills/goframe-v2/examples/registry/nacos/http/server/server.go +56 -0
- package/skills/goframe-v2/examples/registry/polaris/README.MD +98 -0
- package/skills/goframe-v2/examples/registry/polaris/README.ZH.MD +119 -0
- package/skills/goframe-v2/examples/registry/polaris/client/client.go +92 -0
- package/skills/goframe-v2/examples/registry/polaris/go.mod +63 -0
- package/skills/goframe-v2/examples/registry/polaris/go.sum +1036 -0
- package/skills/goframe-v2/examples/registry/polaris/server/server.go +79 -0
- package/skills/goframe-v2/references/README.MD +402 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/Cookie.md +82 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient-/344/273/243/347/220/206Proxy/350/256/276/347/275/256.md +40 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient-/345/237/272/346/234/254/344/275/277/347/224/250.md +149 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient-/345/270/270/350/247/201/351/227/256/351/242/230.md +37 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient-/346/213/246/346/210/252/345/231/250/344/270/255/351/227/264/344/273/266.md +171 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient-/346/226/207/344/273/266/344/270/212/344/274/240.md +187 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient-/347/233/221/346/216/247/346/214/207/346/240/207.md +24 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient-/350/207/252/345/256/232/344/271/211ContentType.md +82 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient-/350/207/252/345/256/232/344/271/211Cookie.md +98 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient-/350/207/252/345/256/232/344/271/211Header.md +103 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient-/350/207/252/345/256/232/344/271/211Transport.md +77 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient-/350/257/267/346/261/202/344/277/241/346/201/257/346/211/223/345/215/260.md +68 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/HTTPClient/HTTPClient.md +74 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/Session/Session-File.md +54 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/Session/Session-Memory.md +44 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/Session/Session-Redis-HashTable.md +45 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/Session/Session-Redis-KeyValue.md +49 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/Session/Session-RegenerateId.md +156 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/Session/Session-Storage/346/216/245/345/217/243/345/274/200/345/217/221.md +63 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221/Session/Session.md +42 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//345/210/206/351/241/265/347/256/241/347/220/206//345/210/206/351/241/265/347/256/241/347/220/206-Ajax/345/210/206/351/241/265.md +63 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//345/210/206/351/241/265/347/256/241/347/220/206//345/210/206/351/241/265/347/256/241/347/220/206-URL/346/250/241/346/235/277.md +45 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//345/210/206/351/241/265/347/256/241/347/220/206//345/210/206/351/241/265/347/256/241/347/220/206-/345/212/250/346/200/201/345/210/206/351/241/265.md +46 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//345/210/206/351/241/265/347/256/241/347/220/206//345/210/206/351/241/265/347/256/241/347/220/206-/350/207/252/345/256/232/344/271/211/345/210/206/351/241/265.md +112 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//345/210/206/351/241/265/347/256/241/347/220/206//345/210/206/351/241/265/347/256/241/347/220/206-/351/235/231/346/200/201/345/210/206/351/241/265.md +91 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//345/210/206/351/241/265/347/256/241/347/220/206//345/210/206/351/241/265/347/256/241/347/220/206.md +79 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//345/274/200/345/247/213/344/275/277/347/224/250.md +211 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//345/274/202/345/270/270/345/244/204/347/220/206.md +266 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/216/245/345/217/243/346/226/207/346/241/243//346/216/245/345/217/243/346/226/207/346/241/243-OpenAPIv3.md +304 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/216/245/345/217/243/346/226/207/346/241/243//346/216/245/345/217/243/346/226/207/346/241/243-/346/211/251/345/261/225Response.md +454 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/216/245/345/217/243/346/226/207/346/241/243//346/216/245/345/217/243/346/226/207/346/241/243-/350/207/252/345/256/232/344/271/211UI.md +167 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/225/260/346/215/256/350/277/224/345/233/236//346/225/260/346/215/256/350/277/224/345/233/236-Exit/346/216/247/345/210/266.md +72 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/225/260/346/215/256/350/277/224/345/233/236//346/225/260/346/215/256/350/277/224/345/233/236-JSONXML.md +134 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/225/260/346/215/256/350/277/224/345/233/236//346/225/260/346/215/256/350/277/224/345/233/236-Redirect.md +60 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/225/260/346/215/256/350/277/224/345/233/236//346/225/260/346/215/256/350/277/224/345/233/236-Stream/350/277/224/345/233/236.md +93 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/225/260/346/215/256/350/277/224/345/233/236//346/225/260/346/215/256/350/277/224/345/233/236-/346/226/207/344/273/266/344/270/213/350/275/275.md +58 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/225/260/346/215/256/350/277/224/345/233/236//346/225/260/346/215/256/350/277/224/345/233/236-/346/250/241/346/235/277/350/247/243/346/236/220.md +117 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/225/260/346/215/256/350/277/224/345/233/236//346/225/260/346/215/256/350/277/224/345/233/236-/347/274/223/345/206/262/346/216/247/345/210/266.md +53 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/225/260/346/215/256/350/277/224/345/233/236//346/225/260/346/215/256/350/277/224/345/233/236.md +47 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/234/215/345/212/241/351/205/215/347/275/256//346/234/215/345/212/241/351/205/215/347/275/256-/351/205/215/347/275/256/346/226/207/344/273/266.md +121 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/234/215/345/212/241/351/205/215/347/275/256//346/234/215/345/212/241/351/205/215/347/275/256-/351/205/215/347/275/256/346/226/207/344/273/266/346/250/241/346/235/277.md +87 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//346/234/215/345/212/241/351/205/215/347/275/256//346/234/215/345/212/241/351/205/215/347/275/256-/351/205/215/347/275/256/346/226/271/346/263/225.md +50 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/257/267/346/261/202/350/276/223/345/205/245//350/257/267/346/261/202/350/276/223/345/205/245-Context.md +103 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/257/267/346/261/202/350/276/223/345/205/245//350/257/267/346/261/202/350/276/223/345/205/245-JSONXML.md +131 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/257/267/346/261/202/350/276/223/345/205/245//350/257/267/346/261/202/350/276/223/345/205/245-/345/217/202/346/225/260/345/244/204/347/220/206.md +158 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/257/267/346/261/202/350/276/223/345/205/245//350/257/267/346/261/202/350/276/223/345/205/245-/345/257/271/350/261/241/345/244/204/347/220/206.md +117 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/257/267/346/261/202/350/276/223/345/205/245//350/257/267/346/261/202/350/276/223/345/205/245-/350/207/252/345/256/232/344/271/211/345/217/202/346/225/260.md +64 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/257/267/346/261/202/350/276/223/345/205/245//350/257/267/346/261/202/350/276/223/345/205/245-/350/257/267/346/261/202/346/240/241/351/252/214.md +152 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/257/267/346/261/202/350/276/223/345/205/245//350/257/267/346/261/202/350/276/223/345/205/245-/351/273/230/350/256/244/345/200/274/347/273/221/345/256/232.md +97 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/257/267/346/261/202/350/276/223/345/205/245//350/257/267/346/261/202/350/276/223/345/205/245.md +199 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/344/270/255/351/227/264/344/273/266/346/213/246/346/210/252/345/231/250//344/270/255/351/227/264/344/273/266/346/213/246/346/210/252/345/231/250-/344/275/277/347/224/250/347/244/272/344/276/213.md +280 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/344/270/255/351/227/264/344/273/266/346/213/246/346/210/252/345/231/250//344/270/255/351/227/264/344/273/266/346/213/246/346/210/252/345/231/250-/345/237/272/346/234/254/344/273/213/347/273/215.md +192 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/344/270/255/351/227/264/344/273/266/346/213/246/346/210/252/345/231/250//344/270/255/351/227/264/344/273/266/346/213/246/346/210/252/345/231/250-/345/270/270/350/247/201/351/227/256/351/242/230.md +19 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/350/267/257/347/224/261/346/263/250/345/206/214//350/267/257/347/224/261/346/263/250/345/206/214-/345/207/275/346/225/260/346/263/250/345/206/214.md +98 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/350/267/257/347/224/261/346/263/250/345/206/214//350/267/257/347/224/261/346/263/250/345/206/214-/345/210/206/347/273/204/350/267/257/347/224/261.md +282 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/350/267/257/347/224/261/346/263/250/345/206/214//350/267/257/347/224/261/346/263/250/345/206/214-/345/257/271/350/261/241/346/263/250/345/206/214.md +431 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/350/267/257/347/224/261/346/263/250/345/206/214//350/267/257/347/224/261/346/263/250/345/206/214-/350/247/204/350/214/203/350/267/257/347/224/261//350/247/204/350/214/203/350/267/257/347/224/261-/345/237/272/346/234/254/347/244/272/344/276/213.md +99 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/350/267/257/347/224/261/346/263/250/345/206/214//350/267/257/347/224/261/346/263/250/345/206/214-/350/247/204/350/214/203/350/267/257/347/224/261//350/247/204/350/214/203/350/267/257/347/224/261-/345/246/202/344/275/225/344/275/277/347/224/250.md +87 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/350/267/257/347/224/261/346/263/250/345/206/214//350/267/257/347/224/261/346/263/250/345/206/214-/350/247/204/350/214/203/350/267/257/347/224/261//350/247/204/350/214/203/350/267/257/347/224/261-/345/270/270/350/247/201/351/227/256/351/242/230.md +33 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/350/267/257/347/224/261/346/263/250/345/206/214//350/267/257/347/224/261/346/263/250/345/206/214-/350/247/204/350/214/203/350/267/257/347/224/261//350/267/257/347/224/261/346/263/250/345/206/214-/350/247/204/350/214/203/350/267/257/347/224/261.md +17 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/350/267/257/347/224/261/346/263/250/345/206/214//350/267/257/347/224/261/347/256/241/347/220/206-/350/267/257/347/224/261/346/263/250/345/206/214.md +13 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//350/267/257/347/224/261/347/256/241/347/220/206//350/267/257/347/224/261/347/256/241/347/220/206-/350/267/257/347/224/261/350/247/204/345/210/231.md +335 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247/CORS/350/267/250/345/237/237/345/244/204/347/220/206.md +200 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247/CSRF/351/230/262/345/276/241/350/256/276/347/275/256.md +113 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247/HOOK/344/272/213/344/273/266/345/233/236/350/260/203.md +343 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247/HTTPS & TLS.md" +263 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247/HTTPServer-/347/233/221/346/216/247/346/214/207/346/240/207.md +25 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247/PProf/346/234/215/345/212/241/346/200/247/350/203/275/345/210/206/346/236/220.md +167 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247/SameSite /350/256/276/347/275/256.md" +31 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247/WebSocket/346/234/215/345/212/241.md +308 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247//345/271/263/346/273/221/351/207/215/345/220/257/347/211/271/346/200/247.md +203 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247//346/234/215/345/212/241/346/227/245/345/277/227/347/256/241/347/220/206.md +108 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247//350/207/252/345/256/232/344/271/211/347/212/266/346/200/201/347/240/201/345/244/204/347/220/206.md +91 -0
- package/skills/goframe-v2/references/WEB/346/234/215/345/212/241/345/274/200/345/217/221//351/253/230/347/272/247/347/211/271/346/200/247//351/235/231/346/200/201/346/226/207/344/273/266/346/234/215/345/212/241.md +166 -0
- package/skills/goframe-v2/references//345/270/270/350/247/201/351/227/256/351/242/230-FAQ.md +215 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//344/272/244/345/217/211/347/274/226/350/257/221-build.md +89 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//344/273/243/347/240/201/347/224/237/346/210/220-gen//344/273/243/347/240/201/347/224/237/346/210/220-gen.md +31 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//344/273/243/347/240/201/347/224/237/346/210/220-gen//345/215/217/350/256/256/347/274/226/350/257/221-gen pb.md" +39 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//344/273/243/347/240/201/347/224/237/346/210/220-gen//346/216/245/345/217/243/350/247/204/350/214/203-gen ctrl.md" +134 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//344/273/243/347/240/201/347/224/237/346/210/220-gen//346/225/260/346/215/256/350/241/250PB-gen pbentity.md" +134 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//344/273/243/347/240/201/347/224/237/346/210/220-gen//346/225/260/346/215/256/350/247/204/350/214/203-gen dao.md" +497 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//344/273/243/347/240/201/347/224/237/346/210/220-gen//346/236/232/344/270/276/347/273/264/346/212/244-gen enums.md" +85 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//345/205/274/345/256/271/344/277/256/345/244/215-fix.md +39 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//345/267/245/345/205/267/345/256/211/350/243/205-install.md +80 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//345/274/200/345/217/221/345/267/245/345/205/267.md +86 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//346/241/206/346/236/266/345/215/207/347/272/247-up.md +67 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//347/211/210/346/234/254/346/237/245/347/234/213-version.md +53 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//350/207/252/345/212/250/347/274/226/350/257/221-run.md +86 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//350/265/204/346/272/220/346/211/223/345/214/205-pack.md +42 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//351/225/234/345/203/217/347/274/226/350/257/221-docker.md +113 -0
- package/skills/goframe-v2/references//345/274/200/345/217/221/345/267/245/345/205/267//351/241/271/347/233/256/345/210/233/345/273/272-init.md +218 -0
- package/skills/goframe-v2/references//345/276/256/346/234/215/345/212/241/345/274/200/345/217/221//345/267/245/347/250/213/347/256/241/347/220/206.md +53 -0
- package/skills/goframe-v2/references//345/276/256/346/234/215/345/212/241/345/274/200/345/217/221//345/276/256/346/234/215/345/212/241/345/274/200/345/217/221.md +284 -0
- package/skills/goframe-v2/references//345/276/256/346/234/215/345/212/241/345/274/200/345/217/221//346/213/246/346/210/252/345/231/250/347/273/204/344/273/266.md +45 -0
- package/skills/goframe-v2/references//345/276/256/346/234/215/345/212/241/345/274/200/345/217/221//346/234/215/345/212/241/346/263/250/345/206/214/345/217/221/347/216/260.md +211 -0
- package/skills/goframe-v2/references//345/276/256/346/234/215/345/212/241/345/274/200/345/217/221//346/234/215/345/212/241/347/253/257/351/205/215/347/275/256.md +67 -0
- package/skills/goframe-v2/references//345/276/256/346/234/215/345/212/241/345/274/200/345/217/221//346/234/215/345/212/241/350/264/237/350/275/275/345/235/207/350/241/241.md +234 -0
- package/skills/goframe-v2/references//345/276/256/346/234/215/345/212/241/345/274/200/345/217/221//346/234/215/345/212/241/351/205/215/347/275/256/347/256/241/347/220/206.md +166 -0
- package/skills/goframe-v2/references//345/276/256/346/234/215/345/212/241/345/274/200/345/217/221//347/216/257/345/242/203/345/207/206/345/244/207.md +22 -0
- package/skills/goframe-v2/references//345/276/256/346/234/215/345/212/241/345/274/200/345/217/221//350/204/232/346/211/213/346/236/266/346/250/241/345/235/227.md +367 -0
- package/skills/goframe-v2/references//345/277/253/351/200/237/345/274/200/345/247/213/Hello World.md" +74 -0
- package/skills/goframe-v2/references//345/277/253/351/200/237/345/274/200/345/247/213/What's Next.md" +12 -0
- package/skills/goframe-v2/references//345/277/253/351/200/237/345/274/200/345/247/213//344/270/213/350/275/275/344/270/216/344/275/277/347/224/250.md +60 -0
- package/skills/goframe-v2/references//345/277/253/351/200/237/345/274/200/345/247/213//344/270/255/351/227/264/344/273/266/345/210/235/350/257/225/347/224/250.md +105 -0
- package/skills/goframe-v2/references//345/277/253/351/200/237/345/274/200/345/247/213//344/275/277/347/224/250/350/247/204/350/214/203/350/267/257/347/224/261.md +112 -0
- package/skills/goframe-v2/references//345/277/253/351/200/237/345/274/200/345/247/213//347/224/237/346/210/220/346/216/245/345/217/243/346/226/207/346/241/243.md +150 -0
- package/skills/goframe-v2/references//345/277/253/351/200/237/345/274/200/345/247/213//347/273/237/344/270/200/350/277/224/345/233/236/347/273/223/346/236/204.md +156 -0
- package/skills/goframe-v2/references//345/277/253/351/200/237/345/274/200/345/247/213//350/216/267/345/217/226/350/257/267/346/261/202/345/217/202/346/225/260.md +52 -0
- package/skills/goframe-v2/references//345/277/253/351/200/237/345/274/200/345/247/213//350/257/267/346/261/202/346/225/260/346/215/256/347/273/223/346/236/204.md +78 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/347/233/221/346/216/247/345/221/212/350/255/246//347/233/221/346/216/247/345/221/212/350/255/246-/345/206/205/347/275/256/346/214/207/346/240/207.md +84 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/347/233/221/346/216/247/345/221/212/350/255/246//347/233/221/346/216/247/345/221/212/350/255/246-/345/220/214/346/255/245/346/214/207/346/240/207.md +108 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/347/233/221/346/216/247/345/221/212/350/255/246//347/233/221/346/216/247/345/221/212/350/255/246-/345/237/272/346/234/254/344/273/213/347/273/215.md +107 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/347/233/221/346/216/247/345/221/212/350/255/246//347/233/221/346/216/247/345/221/212/350/255/246-/345/237/272/346/234/254/344/275/277/347/224/250.md +301 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/347/233/221/346/216/247/345/221/212/350/255/246//347/233/221/346/216/247/345/221/212/350/255/246-/345/274/202/346/255/245/346/214/207/346/240/207.md +117 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/347/233/221/346/216/247/345/221/212/350/255/246//347/233/221/346/216/247/345/221/212/350/255/246-/346/214/207/346/240/207/345/261/236/346/200/247.md +310 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/351/223/276/350/267/257/350/267/237/350/270/252//351/223/276/350/267/257/350/267/237/350/270/252-GRPC/347/244/272/344/276/213.md +293 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/351/223/276/350/267/257/350/267/237/350/270/252//351/223/276/350/267/257/350/267/237/350/270/252-HTTP/347/244/272/344/276/213//351/223/276/350/267/257/350/267/237/350/270/252-HTTP/347/244/272/344/276/213-Baggage.md +161 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/351/223/276/350/267/257/350/267/237/350/270/252//351/223/276/350/267/257/350/267/237/350/270/252-HTTP/347/244/272/344/276/213//351/223/276/350/267/257/350/267/237/350/270/252-HTTP/347/244/272/344/276/213-/346/225/260/346/215/256/346/223/215/344/275/234.md +279 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/351/223/276/350/267/257/350/267/237/350/270/252//351/223/276/350/267/257/350/267/237/350/270/252-/345/207/206/345/244/207/345/267/245/344/275/234.md +48 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/351/223/276/350/267/257/350/267/237/350/270/252//351/223/276/350/267/257/350/267/237/350/270/252-/345/237/272/346/234/254/347/244/272/344/276/213.md +121 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/351/223/276/350/267/257/350/267/237/350/270/252//351/223/276/350/267/257/350/267/237/350/270/252-/346/234/200/344/275/263/345/256/236/350/267/265//351/223/276/350/267/257/350/267/237/350/270/252-TraceID/346/263/250/345/205/245/345/222/214/350/216/267/345/217/226.md +325 -0
- package/skills/goframe-v2/references//346/234/215/345/212/241/345/217/257/350/247/202/346/265/213/346/200/247//346/234/215/345/212/241/351/223/276/350/267/257/350/267/237/350/270/252//351/223/276/350/267/257/350/267/237/350/270/252-/350/203/214/346/231/257/347/237/245/350/257/206.md +147 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266/I18N/345/233/275/351/231/205/345/214/226/I18N/345/233/275/351/231/205/345/214/226-/344/275/277/347/224/250/344/273/213/347/273/215.md +338 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266/I18N/345/233/275/351/231/205/345/214/226/I18N/345/233/275/351/231/205/345/214/226-/351/205/215/347/275/256/347/256/241/347/220/206.md +69 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266/I18N/345/233/275/351/231/205/345/214/226/I18N/345/233/275/351/231/205/345/214/226.md +15 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//345/221/275/344/273/244/347/256/241/347/220/206//345/221/275/344/273/244/347/256/241/347/220/206-Parser/350/247/243/346/236/220.md +72 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//345/221/275/344/273/244/347/256/241/347/220/206//345/221/275/344/273/244/347/256/241/347/220/206-/345/221/275/344/273/244/350/241/214/345/257/271/350/261/241.md +193 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//345/221/275/344/273/244/347/256/241/347/220/206//345/221/275/344/273/244/347/256/241/347/220/206-/345/237/272/346/234/254/346/246/202/345/277/265.md +59 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//345/221/275/344/273/244/347/256/241/347/220/206//345/221/275/344/273/244/347/256/241/347/220/206-/345/237/272/347/241/200/346/226/271/346/263/225.md +116 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//345/221/275/344/273/244/347/256/241/347/220/206//345/221/275/344/273/244/347/256/241/347/220/206-/347/273/210/347/253/257/344/272/244/344/272/222.md +65 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//345/221/275/344/273/244/347/256/241/347/220/206//345/221/275/344/273/244/347/256/241/347/220/206-/347/273/223/346/236/204/345/214/226/345/217/202/346/225/260.md +229 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//345/221/275/344/273/244/347/256/241/347/220/206//345/221/275/344/273/244/347/256/241/347/220/206-/351/223/276/350/267/257/350/267/237/350/270/252.md +82 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//345/221/275/344/273/244/347/256/241/347/220/206//345/221/275/344/273/244/347/256/241/347/220/206.md +41 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//345/257/271/350/261/241/347/256/241/347/220/206.md +190 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/344/270/212/344/270/213/346/226/207/345/217/230/351/207/217.md +61 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/344/272/213/345/212/241/345/244/204/347/220/206/ORM/344/272/213/345/212/241/345/244/204/347/220/206-/344/272/213/345/212/241/344/274/240/346/222/255.md +764 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/344/272/213/345/212/241/345/244/204/347/220/206/ORM/344/272/213/345/212/241/345/244/204/347/220/206-/345/217/252/350/257/273/346/250/241/345/274/217.md +310 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/344/272/213/345/212/241/345/244/204/347/220/206/ORM/344/272/213/345/212/241/345/244/204/347/220/206-/345/265/214/345/245/227/344/272/213/345/212/241.md +306 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/344/272/213/345/212/241/345/244/204/347/220/206/ORM/344/272/213/345/212/241/345/244/204/347/220/206-/345/270/270/350/247/204/346/223/215/344/275/234.md +61 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/344/272/213/345/212/241/345/244/204/347/220/206/ORM/344/272/213/345/212/241/345/244/204/347/220/206-/351/227/255/345/214/205/346/223/215/344/275/234.md +51 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/344/272/213/345/212/241/345/244/204/347/220/206/ORM/344/272/213/345/212/241/345/244/204/347/220/206-/351/232/224/347/246/273/347/272/247/345/210/253.md +312 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/344/275/277/347/224/250/351/205/215/347/275/256/ORM/344/275/277/347/224/250/351/205/215/347/275/256-/351/205/215/347/275/256/346/226/207/344/273/266.md +159 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/344/275/277/347/224/250/351/205/215/347/275/256/ORM/344/275/277/347/224/250/351/205/215/347/275/256-/351/205/215/347/275/256/346/226/271/346/263/225.md +166 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/345/210/206/345/272/223/345/210/206/350/241/250/ORM/345/210/206/345/272/223/345/210/206/350/241/250-/345/210/206/345/272/223/347/211/271/346/200/247.md +328 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/345/210/206/345/272/223/345/210/206/350/241/250/ORM/345/210/206/345/272/223/345/210/206/350/241/250-/345/210/206/350/241/250/347/211/271/346/200/247.md +285 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/345/270/270/350/247/201/351/227/256/351/242/230.md +73 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/346/216/245/345/217/243/345/274/200/345/217/221/ORM/346/216/245/345/217/243/345/274/200/345/217/221-/345/233/236/350/260/203/345/244/204/347/220/206.md +85 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/346/216/245/345/217/243/345/274/200/345/217/221/ORM/346/216/245/345/217/243/345/274/200/345/217/221-/351/251/261/345/212/250/345/274/200/345/217/221.md +46 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/346/216/245/345/217/243/345/274/200/345/217/221/ORM/346/216/245/345/217/243/345/274/200/345/217/221.md +34 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/346/226/271/346/263/225/346/223/215/344/275/234-/345/216/237/347/224/237.md +123 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/346/227/266/345/214/272/345/244/204/347/220/206.md +88 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/346/234/200/344/275/263/345/256/236/350/267/265//345/210/251/347/224/250/346/214/207/351/222/210/345/261/236/346/200/247/345/222/214do/345/257/271/350/261/241/345/256/236/347/216/260/347/201/265/346/264/273/347/232/204/344/277/256/346/224/271/346/216/245/345/217/243.md +84 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/346/234/200/344/275/263/345/256/236/350/267/265//345/244/215/346/235/202/347/261/273/345/236/213/345/260/275/351/207/217/344/275/277/347/224/250json/345/255/230/345/202/250/357/274/214/344/276/277/344/272/216Scan/345/210/260/345/257/271/350/261/241/346/227/266/350/207/252/345/212/250/345/214/226/350/275/254/346/215/242/357/274/214/351/201/277/345/205/215/350/207/252/345/256/232/344/271/211/350/247/243/346/236/220.md +71 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/346/234/200/344/275/263/345/256/236/350/267/265//346/237/245/350/257/242/346/227/266/351/201/277/345/205/215/350/277/224/345/233/236/345/257/271/350/261/241/345/210/235/345/247/213/345/214/226/345/217/212sql.ErrNoRows/345/210/244/346/226/255.md +40 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/347/273/223/346/236/234/345/244/204/347/220/206/ORM/347/273/223/346/236/234/345/244/204/347/220/206-/344/270/272/347/251/272/345/210/244/346/226/255.md +142 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/347/273/223/346/236/234/345/244/204/347/220/206/ORM/347/273/223/346/236/234/345/244/204/347/220/206-/347/251/272/346/225/260/347/273/204/347/273/223/346/236/204/350/277/224/345/233/236.md +89 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/347/273/223/346/236/234/345/244/204/347/220/206/ORM/347/273/223/346/236/234/345/244/204/347/220/206-/347/273/223/346/236/234/347/261/273/345/236/213.md +151 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-Handler/347/211/271/346/200/247.md +65 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-Hook/347/211/271/346/200/247.md +58 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/344/270/273/344/273/216/345/210/207/346/215/242.md +37 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/344/272/213/345/212/241/345/244/204/347/220/206.md +102 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/345/206/231/345/205/245/344/277/235/345/255/230.md +195 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/345/255/227/346/256/265/350/216/267/345/217/226.md +34 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/345/255/227/346/256/265/350/277/207/346/273/244.md +227 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/345/257/271/350/261/241/350/276/223/345/205/245.md +25 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/202/262/350/247/202/351/224/201 & /344/271/220/350/247/202/351/224/201.md" +146 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/345/272/223/345/210/207/346/215/242.md +28 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/346/237/245/350/257/242/ORM/346/237/245/350/257/242-AllAndCount.md +39 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/346/237/245/350/257/242/ORM/346/237/245/350/257/242-Exist.md +33 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/346/237/245/350/257/242/ORM/346/237/245/350/257/242-Join/346/237/245/350/257/242.md +123 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/346/237/245/350/257/242/ORM/346/237/245/350/257/242-ScanAndCount.md +48 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/346/237/245/350/257/242/ORM/346/237/245/350/257/242-Scan/346/230/240/345/260/204.md +49 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/346/237/245/350/257/242/ORM/346/237/245/350/257/242-UnionUnionAll.md +82 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/346/237/245/350/257/242/ORM/346/237/245/350/257/242-Where/346/235/241/344/273/266.md +310 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/346/237/245/350/257/242/ORM/346/237/245/350/257/242-/345/210/206/347/273/204/346/216/222/345/272/217/350/277/207/346/273/244.md +47 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/346/237/245/350/257/242/ORM/346/237/245/350/257/242-/345/255/220/346/237/245/350/257/242/347/211/271/346/200/247.md +34 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/346/237/245/350/257/242/ORM/346/237/245/350/257/242-/345/270/270/347/224/250/346/223/215/344/275/234/347/244/272/344/276/213.md +271 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/225/260/346/215/256/346/237/245/350/257/242/ORM/346/237/245/350/257/242-/345/270/270/347/224/250/346/237/245/350/257/242/346/226/271/346/263/225.md +40 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/227/266/351/227/264/347/273/264/346/212/244/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/227/266/351/227/264/347/273/264/346/212/244.md +39 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/227/266/351/227/264/347/273/264/346/212/244//346/227/266/351/227/264/347/273/264/346/212/244-SoftTimeOption.md +42 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/227/266/351/227/264/347/273/264/346/212/244//346/227/266/351/227/264/347/273/264/346/212/244-/345/237/272/346/234/254/344/275/277/347/224/250.md +102 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/227/266/351/227/264/347/273/264/346/212/244//346/227/266/351/227/264/347/273/264/346/212/244-/345/270/203/345/260/224/345/255/227/346/256/265.md +45 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/227/266/351/227/264/347/273/264/346/212/244//346/227/266/351/227/264/347/273/264/346/212/244-/346/225/264/345/236/213/345/255/227/346/256/265.md +94 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/233/264/346/226/260/345/210/240/351/231/244.md +144 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/237/245/350/257/242/347/274/223/345/255/230.md +156 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/250/241/345/236/213/345/205/263/350/201/224//346/250/241/345/236/213/345/205/263/350/201/224-/345/212/250/346/200/201/345/205/263/350/201/224-ScanList.md +228 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/250/241/345/236/213/345/205/263/350/201/224//346/250/241/345/236/213/345/205/263/350/201/224-/351/235/231/346/200/201/345/205/263/350/201/224-With/347/211/271/346/200/247.md +725 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234-/346/250/241/345/236/213/345/210/233/345/273/272.md +131 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/223/276/345/274/217/346/223/215/344/275/234/ORM/351/223/276/345/274/217/346/223/215/344/275/234.md +21 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/253/230/347/272/247/347/211/271/346/200/247/ORM/351/253/230/347/272/247/347/211/271/346/200/247-RawSQL.md +67 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/253/230/347/272/247/347/211/271/346/200/247/ORM/351/253/230/347/272/247/347/211/271/346/200/247-SQL/346/215/225/350/216/267.md +158 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/253/230/347/272/247/347/211/271/346/200/247/ORM/351/253/230/347/272/247/347/211/271/346/200/247-/345/206/205/345/265/214/347/273/223/346/236/204/346/224/257/346/214/201.md +18 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/253/230/347/272/247/347/211/271/346/200/247/ORM/351/253/230/347/272/247/347/211/271/346/200/247-/345/255/227/346/256/265/346/230/240/345/260/204.md +154 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/253/230/347/272/247/347/211/271/346/200/247/ORM/351/253/230/347/272/247/347/211/271/346/200/247-/346/227/245/345/277/227/350/276/223/345/207/272.md +38 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/253/230/347/272/247/347/211/271/346/200/247/ORM/351/253/230/347/272/247/347/211/271/346/200/247-/347/251/272/350/267/221/347/211/271/346/200/247.md +24 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/253/230/347/272/247/347/211/271/346/200/247/ORM/351/253/230/347/272/247/347/211/271/346/200/247-/347/261/273/345/236/213/350/257/206/345/210/253.md +34 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/253/230/347/272/247/347/211/271/346/200/247/ORM/351/253/230/347/272/247/347/211/271/346/200/247-/347/261/273/345/236/213/350/275/254/346/215/242.md +45 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/253/230/347/272/247/347/211/271/346/200/247/ORM/351/253/230/347/272/247/347/211/271/346/200/247-/350/260/203/350/257/225/346/250/241/345/274/217.md +20 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM/ORM/351/253/230/347/272/247/347/211/271/346/200/247/ORM/351/253/230/347/272/247/347/211/271/346/200/247-/350/277/236/346/216/245/346/261/240/347/212/266/346/200/201.md +79 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/345/272/223ORM//346/225/260/346/215/256/345/272/223ORM.md +75 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/345/217/202/346/225/260/347/261/273/345/236/213//346/225/260/346/215/256/346/240/241/351/252/214-Map/346/240/241/351/252/214/Map/346/240/241/351/252/214-/345/237/272/346/234/254/344/275/277/347/224/250.md +97 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/345/217/202/346/225/260/347/261/273/345/236/213//346/225/260/346/215/256/346/240/241/351/252/214-Map/346/240/241/351/252/214/Map/346/240/241/351/252/214-/346/240/241/351/252/214/351/241/272/345/272/217/346/200/247.md +49 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/345/217/202/346/225/260/347/261/273/345/236/213//346/225/260/346/215/256/346/240/241/351/252/214-Struct/346/240/241/351/252/214/Struct/346/240/241/351/252/214-Assoc/345/205/263/350/201/224.md +46 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/345/217/202/346/225/260/347/261/273/345/236/213//346/225/260/346/215/256/346/240/241/351/252/214-Struct/346/240/241/351/252/214/Struct/346/240/241/351/252/214-/345/237/272/346/234/254/344/275/277/347/224/250.md +216 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/345/217/202/346/225/260/347/261/273/345/236/213//346/225/260/346/215/256/346/240/241/351/252/214-/345/215/225/346/225/260/346/215/256/346/240/241/351/252/214.md +133 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/345/217/257/351/200/211/346/240/241/351/252/214.md +152 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/345/270/270/350/247/201/351/227/256/351/242/230.md +18 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/346/226/271/346/263/225/344/273/213/347/273/215.md +486 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/346/240/241/351/252/214/345/257/271/350/261/241.md +139 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/346/240/241/351/252/214/347/273/223/346/236/234.md +89 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/346/240/241/351/252/214/350/247/204/345/210/231.md +2073 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/350/207/252/345/256/232/344/271/211/350/247/204/345/210/231//350/207/252/345/256/232/344/271/211/350/247/204/345/210/231-/345/256/214/346/225/264/346/225/260/346/215/256/346/240/241/351/252/214.md +66 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/350/207/252/345/256/232/344/271/211/350/247/204/345/210/231//350/207/252/345/256/232/344/271/211/350/247/204/345/210/231-/350/247/204/345/210/231/346/263/250/345/206/214.md +274 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/350/207/252/345/256/232/344/271/211/351/224/231/350/257/257.md +96 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214-/351/200/222/345/275/222/346/240/241/351/252/214.md +196 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/225/260/346/215/256/346/240/241/351/252/214//346/225/260/346/215/256/346/240/241/351/252/214.md +30 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-Context.md +69 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-Flags/347/211/271/346/200/247.md +45 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-Handler.md +292 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-JSON/346/240/274/345/274/217.md +64 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-Rotate/347/211/271/346/200/247.md +89 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-Writer/346/216/245/345/217/243.md +111 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-/345/240/206/346/240/210/346/211/223/345/215/260.md +137 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-/345/270/270/350/247/201/351/227/256/351/242/230.md +18 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-/345/274/202/346/255/245/350/276/223/345/207/272.md +109 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-/346/226/207/344/273/266/347/233/256/345/275/225.md +92 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-/346/227/245/345/277/227/347/272/247/345/210/253.md +187 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-/350/260/203/350/257/225/344/277/241/346/201/257.md +46 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-/351/205/215/347/275/256/347/256/241/347/220/206.md +109 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-/351/223/276/345/274/217/346/223/215/344/275/234.md +123 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266-/351/242/234/350/211/262/346/211/223/345/215/260.md +62 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266//346/227/245/345/277/227/347/273/204/344/273/266.md +65 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/250/241/346/235/277/345/274/225/346/223/216//346/250/241/346/235/277/345/274/225/346/223/216-XSS/345/244/204/347/220/206.md +40 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/250/241/346/235/277/345/274/225/346/223/216//346/250/241/346/235/277/345/274/225/346/223/216-/345/205/266/344/273/226/344/275/277/347/224/250.md +205 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/250/241/346/235/277/345/274/225/346/223/216//346/250/241/346/235/277/345/274/225/346/223/216-/346/250/241/346/235/277/345/207/275/346/225/260//346/250/241/346/235/277/345/207/275/346/225/260-/345/206/205/347/275/256/345/207/275/346/225/260.md +298 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/250/241/346/235/277/345/274/225/346/223/216//346/250/241/346/235/277/345/274/225/346/223/216-/346/250/241/346/235/277/345/207/275/346/225/260//346/250/241/346/235/277/345/207/275/346/225/260-/345/237/272/347/241/200/345/207/275/346/225/260.md +244 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/250/241/346/235/277/345/274/225/346/223/216//346/250/241/346/235/277/345/274/225/346/223/216-/346/250/241/346/235/277/345/207/275/346/225/260//346/250/241/346/235/277/345/207/275/346/225/260-/350/207/252/345/256/232/344/271/211/345/207/275/346/225/260.md +48 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/250/241/346/235/277/345/274/225/346/223/216//346/250/241/346/235/277/345/274/225/346/223/216-/346/250/241/346/235/277/345/217/230/351/207/217.md +49 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/250/241/346/235/277/345/274/225/346/223/216//346/250/241/346/235/277/345/274/225/346/223/216-/346/250/241/346/235/277/345/270/203/345/261/200.md +148 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/250/241/346/235/277/345/274/225/346/223/216//346/250/241/346/235/277/345/274/225/346/223/216-/346/250/241/346/235/277/346/240/207/347/255/276.md +193 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/250/241/346/235/277/345/274/225/346/223/216//346/250/241/346/235/277/345/274/225/346/223/216-/346/250/241/346/235/277/351/205/215/347/275/256.md +122 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//346/250/241/346/235/277/345/274/225/346/223/216//346/250/241/346/235/277/345/274/225/346/223/216.md +184 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/261/273/345/236/213/350/275/254/346/215/242//347/261/273/345/236/213/350/275/254/346/215/242-Converter.md +249 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/261/273/345/236/213/350/275/254/346/215/242//347/261/273/345/236/213/350/275/254/346/215/242-Map/350/275/254/346/215/242.md +209 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/261/273/345/236/213/350/275/254/346/215/242//347/261/273/345/236/213/350/275/254/346/215/242-Scan/350/275/254/346/215/242.md +519 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/261/273/345/236/213/350/275/254/346/215/242//347/261/273/345/236/213/350/275/254/346/215/242-Structs/350/275/254/346/215/242.md +64 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/261/273/345/236/213/350/275/254/346/215/242//347/261/273/345/236/213/350/275/254/346/215/242-Struct/350/275/254/346/215/242.md +309 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/261/273/345/236/213/350/275/254/346/215/242//347/261/273/345/236/213/350/275/254/346/215/242-UnmarshalValue.md +272 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/261/273/345/236/213/350/275/254/346/215/242//347/261/273/345/236/213/350/275/254/346/215/242-/345/237/272/346/234/254/347/261/273/345/236/213.md +70 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/261/273/345/236/213/350/275/254/346/215/242//347/261/273/345/236/213/350/275/254/346/215/242-/346/200/247/350/203/275/346/265/213/350/257/225.md +29 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/261/273/345/236/213/350/275/254/346/215/242//347/261/273/345/236/213/350/275/254/346/215/242-/350/207/252/345/256/232/344/271/211/347/261/273/345/236/213/350/275/254/346/215/242.md +398 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/261/273/345/236/213/350/275/254/346/215/242//347/261/273/345/236/213/350/275/254/346/215/242.md +23 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/274/223/345/255/230/347/256/241/347/220/206//347/274/223/345/255/230/347/256/241/347/220/206-Redis/347/274/223/345/255/230.md +52 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/274/223/345/255/230/347/256/241/347/220/206//347/274/223/345/255/230/347/256/241/347/220/206-/345/206/205/345/255/230/347/274/223/345/255/230.md +295 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/274/223/345/255/230/347/256/241/347/220/206//347/274/223/345/255/230/347/256/241/347/220/206-/346/216/245/345/217/243/350/256/276/350/256/241.md +31 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/274/223/345/255/230/347/256/241/347/220/206//347/274/223/345/255/230/347/256/241/347/220/206-/346/226/271/346/263/225/344/273/213/347/273/215.md +1030 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//347/274/223/345/255/230/347/256/241/347/220/206//347/274/223/345/255/230/347/256/241/347/220/206.md +114 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//350/260/203/350/257/225/346/250/241/345/274/217.md +51 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//350/265/204/346/272/220/347/256/241/347/220/206//350/265/204/346/272/220/347/256/241/347/220/206-/344/275/277/347/224/250/347/244/272/344/276/213.md +103 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//350/265/204/346/272/220/347/256/241/347/220/206//350/265/204/346/272/220/347/256/241/347/220/206-/345/267/245/345/205/267/346/211/223/345/214/205.md +89 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//350/265/204/346/272/220/347/256/241/347/220/206//350/265/204/346/272/220/347/256/241/347/220/206-/346/226/271/346/263/225/344/273/213/347/273/215.md +319 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//350/265/204/346/272/220/347/256/241/347/220/206//350/265/204/346/272/220/347/256/241/347/220/206-/346/226/271/346/263/225/346/211/223/345/214/205.md +82 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//350/265/204/346/272/220/347/256/241/347/220/206//350/265/204/346/272/220/347/256/241/347/220/206-/346/234/200/344/275/263/345/256/236/350/267/265.md +41 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//350/265/204/346/272/220/347/256/241/347/220/206//350/265/204/346/272/220/347/256/241/347/220/206.md +36 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/205/215/347/275/256/347/256/241/347/220/206//351/205/215/347/275/256/347/256/241/347/220/206-Loader/345/212/240/350/275/275/345/231/250.md +491 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/205/215/347/275/256/347/256/241/347/220/206//351/205/215/347/275/256/347/256/241/347/220/206-TOML/346/240/274/345/274/217.md +301 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/205/215/347/275/256/347/256/241/347/220/206//351/205/215/347/275/256/347/256/241/347/220/206-YAML/346/240/274/345/274/217.md +364 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/205/215/347/275/256/347/256/241/347/220/206//351/205/215/347/275/256/347/256/241/347/220/206-/345/270/270/347/224/250/346/226/271/346/263/225.md +362 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/205/215/347/275/256/347/256/241/347/220/206//351/205/215/347/275/256/347/256/241/347/220/206-/346/216/245/345/217/243/345/214/226/350/256/276/350/256/241//351/205/215/347/275/256/347/256/241/347/220/206-AdapterContent.md +49 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/205/215/347/275/256/347/256/241/347/220/206//351/205/215/347/275/256/347/256/241/347/220/206-/346/216/245/345/217/243/345/214/226/350/256/276/350/256/241//351/205/215/347/275/256/347/256/241/347/220/206-AdapterFile.md +98 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/205/215/347/275/256/347/256/241/347/220/206//351/205/215/347/275/256/347/256/241/347/220/206-/346/216/245/345/217/243/345/214/226/350/256/276/350/256/241//351/205/215/347/275/256/347/256/241/347/220/206-/346/216/245/345/217/243/345/214/226/350/256/276/350/256/241.md +45 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/205/215/347/275/256/347/256/241/347/220/206//351/205/215/347/275/256/347/256/241/347/220/206-/346/226/207/344/273/266/351/205/215/347/275/256.md +199 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/205/215/347/275/256/347/256/241/347/220/206//351/205/215/347/275/256/347/256/241/347/220/206-/351/205/215/347/275/256/345/257/271/350/261/241.md +72 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/205/215/347/275/256/347/256/241/347/220/206//351/205/215/347/275/256/347/256/241/347/220/206-/351/205/215/347/275/256/347/233/221/345/220/254/345/233/236/350/260/203.md +150 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/205/215/347/275/256/347/256/241/347/220/206//351/205/215/347/275/256/347/256/241/347/220/206.md +31 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206-/345/205/266/344/273/226/347/211/271/346/200/247.md +207 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206-/345/233/275/351/231/205/345/214/226/346/224/257/346/214/201.md +324 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206-/345/240/206/346/240/210/347/211/271/346/200/247.md +245 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206-/345/270/270/347/224/250/346/226/271/346/263/225.md +62 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206-/346/200/247/350/203/275/346/265/213/350/257/225.md +19 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206-/346/234/200/344/275/263/345/256/236/350/267/265.md +107 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206-/351/224/231/350/257/257/346/257/224/350/276/203.md +232 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206-/351/224/231/350/257/257/347/240/201/347/211/271/346/200/247//351/224/231/350/257/257/345/244/204/347/220/206-/351/224/231/350/257/257/347/240/201/345/256/236/347/216/260.md +87 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206-/351/224/231/350/257/257/347/240/201/347/211/271/346/200/247//351/224/231/350/257/257/345/244/204/347/220/206-/351/224/231/350/257/257/347/240/201/346/211/251/345/261/225.md +79 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206-/351/224/231/350/257/257/347/240/201/347/211/271/346/200/247//351/224/231/350/257/257/345/244/204/347/220/206-/351/224/231/350/257/257/347/240/201/346/216/245/345/217/243.md +60 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206-/351/224/231/350/257/257/347/240/201/347/211/271/346/200/247//351/224/231/350/257/257/345/244/204/347/220/206-/351/224/231/350/257/257/347/240/201/346/226/271/346/263/225.md +162 -0
- package/skills/goframe-v2/references//346/240/270/345/277/203/347/273/204/344/273/266//351/224/231/350/257/257/345/244/204/347/220/206//351/224/231/350/257/257/345/244/204/347/220/206.md +15 -0
- package/skills/goframe-v2/references//346/241/206/346/236/266/350/256/276/350/256/241/Golang/346/236/232/344/270/276/345/200/274/347/256/241/347/220/206.md +36 -0
- package/skills/goframe-v2/references//346/241/206/346/236/266/350/256/276/350/256/241//345/267/245/347/250/213/345/274/200/345/217/221/350/256/276/350/256/241//344/273/243/347/240/201/345/210/206/345/261/202/350/256/276/350/256/241.md +73 -0
- package/skills/goframe-v2/references//346/241/206/346/236/266/350/256/276/350/256/241//345/267/245/347/250/213/345/274/200/345/217/221/350/256/276/350/256/241//345/267/245/347/250/213/347/233/256/345/275/225/350/256/276/350/256/241.md +165 -0
- package/skills/goframe-v2/references//346/241/206/346/236/266/350/256/276/350/256/241//345/267/245/347/250/213/345/274/200/345/217/221/350/256/276/350/256/241//345/276/256/346/234/215/345/212/241/345/244/247/344/273/223/347/256/241/347/220/206/346/250/241/345/274/217.md +122 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//345/212/237/350/203/275/350/260/203/350/257/225//350/260/203/350/257/225/345/212/237/350/203/275-gdebug.md +38 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//345/212/240/345/257/206/350/247/243/345/257/206/AES/347/256/227/346/263/225-gaes.md +19 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//345/212/240/345/257/206/350/247/243/345/257/206/DES/347/256/227/346/263/225-gdes.md +19 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//345/212/240/345/257/206/350/247/243/345/257/206/RSA/347/256/227/346/263/225-grsa.md +267 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//345/212/240/345/257/206/350/247/243/345/257/206/SHA256/347/256/227/346/263/225-gsha256.md +353 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//345/215/225/345/205/203/346/265/213/350/257/225//345/215/225/345/205/203/346/265/213/350/257/225-gtest.md +413 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//345/256/236/347/224/250/345/267/245/345/205/267//345/205/203/346/225/260/346/215/256-gmeta.md +89 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//345/256/236/347/224/250/345/267/245/345/205/267//345/224/257/344/270/200/346/225/260-guid.md +111 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//345/256/236/347/224/250/345/267/245/345/205/267//345/267/245/345/205/267/346/226/271/346/263/225-gutil.md +239 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//345/256/236/347/224/250/345/267/245/345/205/267//351/232/217/346/234/272/346/225/260-grand.md +55 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/255/227/345/205/270/347/261/273/345/236/213-gmap//345/255/227/345/205/270/347/261/273/345/236/213-gmap.md +36 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/255/227/345/205/270/347/261/273/345/236/213-gmap//345/255/227/345/205/270/347/261/273/345/236/213-/345/237/272/346/234/254/344/275/277/347/224/250.md +544 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/255/227/345/205/270/347/261/273/345/236/213-gmap//345/255/227/345/205/270/347/261/273/345/236/213-/346/200/247/350/203/275/346/265/213/350/257/225.md +79 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/255/227/345/205/270/347/261/273/345/236/213-gmap//345/255/227/345/205/270/347/261/273/345/236/213-/346/226/271/346/263/225/344/273/213/347/273/215.md +1320 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/256/211/345/205/250/347/261/273/345/236/213-gtype//345/256/211/345/205/250/347/261/273/345/236/213-gtype.md +23 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/256/211/345/205/250/347/261/273/345/236/213-gtype//345/256/211/345/205/250/347/261/273/345/236/213-/345/237/272/346/234/254/344/275/277/347/224/250.md +110 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/256/211/345/205/250/347/261/273/345/236/213-gtype//345/256/211/345/205/250/347/261/273/345/236/213-/346/200/247/350/203/275/346/265/213/350/257/225.md +38 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/257/271/350/261/241/345/244/215/347/224/250-gpool//345/257/271/350/261/241/345/244/215/347/224/250-gpool.md +93 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/257/271/350/261/241/345/244/215/347/224/250-gpool//345/257/271/350/261/241/345/244/215/347/224/250-/345/237/272/346/234/254/344/275/277/347/224/250.md +226 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/271/266/345/217/221/345/256/211/345/205/250/347/216/257-gring//345/271/266/345/217/221/345/256/211/345/205/250/347/216/257-gring.md +202 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/271/266/345/217/221/345/256/211/345/205/250/347/216/257-gring//345/271/266/345/217/221/345/256/211/345/205/250/347/216/257-/345/237/272/346/234/254/344/275/277/347/224/250.md +396 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//345/271/266/345/217/221/345/256/211/345/205/250/347/216/257-gring//345/271/266/345/217/221/345/256/211/345/205/250/347/216/257-/346/226/271/346/263/225/344/273/213/347/273/215.md +626 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//346/225/260/347/273/204/347/261/273/345/236/213-garray//346/225/260/347/273/204/347/261/273/345/236/213-garray.md +32 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//346/225/260/347/273/204/347/261/273/345/236/213-garray//346/225/260/347/273/204/347/261/273/345/236/213-/345/237/272/346/234/254/344/275/277/347/224/250.md +581 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//346/225/260/347/273/204/347/261/273/345/236/213-garray//346/225/260/347/273/204/347/261/273/345/236/213-/346/226/271/346/263/225/344/273/213/347/273/215.md +1389 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//346/240/221/345/275/242/347/261/273/345/236/213-gtree//346/240/221/345/275/242/347/261/273/345/236/213-gtree.md +140 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//346/240/221/345/275/242/347/261/273/345/236/213-gtree//346/240/221/345/275/242/347/261/273/345/236/213-/345/237/272/346/234/254/344/275/277/347/224/250.md +329 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//346/240/221/345/275/242/347/261/273/345/236/213-gtree//346/240/221/345/275/242/347/261/273/345/236/213-/346/226/271/346/263/225/344/273/213/347/273/215.md +1254 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//346/263/233/345/236/213/347/261/273/345/236/213-gvar//346/263/233/345/236/213/347/261/273/345/236/213-gvar.md +21 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//346/263/233/345/236/213/347/261/273/345/236/213-gvar//346/263/233/345/236/213/347/261/273/345/236/213-/345/237/272/346/234/254/344/275/277/347/224/250.md +107 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//346/263/233/345/236/213/347/261/273/345/236/213-gvar//346/263/233/345/236/213/347/261/273/345/236/213-/346/226/271/346/263/225/344/273/213/347/273/215.md +1477 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//346/263/233/345/236/213/347/261/273/345/236/213-gvar//346/263/233/345/236/213/347/261/273/345/236/213-/346/263/250/346/204/217/344/272/213/351/241/271.md +32 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//351/223/276/350/241/250/347/261/273/345/236/213-glist//351/223/276/350/241/250/347/261/273/345/236/213-glist.md +26 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//351/223/276/350/241/250/347/261/273/345/236/213-glist//351/223/276/350/241/250/347/261/273/345/236/213-/345/237/272/346/234/254/344/275/277/347/224/250.md +436 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//351/223/276/350/241/250/347/261/273/345/236/213-glist//351/223/276/350/241/250/347/261/273/345/236/213-/346/200/247/350/203/275/346/265/213/350/257/225.md +13 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//351/230/237/345/210/227/347/261/273/345/236/213-gqueue//351/230/237/345/210/227/347/261/273/345/236/213-gqueue.md +27 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//351/230/237/345/210/227/347/261/273/345/236/213-gqueue//351/230/237/345/210/227/347/261/273/345/236/213-/345/237/272/346/234/254/344/275/277/347/224/250.md +265 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//351/230/237/345/210/227/347/261/273/345/236/213-gqueue//351/230/237/345/210/227/347/261/273/345/236/213-/346/200/247/350/203/275/346/265/213/350/257/225.md +16 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//351/233/206/345/220/210/347/261/273/345/236/213-gset//351/233/206/345/220/210/347/261/273/345/236/213-gset.md +26 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//351/233/206/345/220/210/347/261/273/345/236/213-gset//351/233/206/345/220/210/347/261/273/345/236/213-/345/237/272/346/234/254/344/275/277/347/224/250.md +457 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//351/233/206/345/220/210/347/261/273/345/236/213-gset//351/233/206/345/220/210/347/261/273/345/236/213-/346/200/247/350/203/275/346/265/213/350/257/225.md +24 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/225/260/346/215/256/347/273/223/346/236/204//351/233/206/345/220/210/347/261/273/345/236/213-gset//351/233/206/345/220/210/347/261/273/345/236/213-/346/226/271/346/263/225/344/273/213/347/273/215.md +764 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/226/207/346/234/254/345/244/204/347/220/206//345/255/227/347/254/246/344/270/262/345/244/204/347/220/206-gstr.md +2641 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/226/207/346/234/254/345/244/204/347/220/206//346/255/243/345/210/231/350/241/250/350/276/276/345/274/217-gregex//346/255/243/345/210/231/350/241/250/350/276/276/345/274/217-gregex.md +15 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/226/207/346/234/254/345/244/204/347/220/206//346/255/243/345/210/231/350/241/250/350/276/276/345/274/217-gregex//346/255/243/345/210/231/350/241/250/350/276/276/345/274/217-/345/237/272/346/234/254/344/275/277/347/224/250.md +21 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//346/226/207/346/234/254/345/244/204/347/220/206//346/255/243/345/210/231/350/241/250/350/276/276/345/274/217-gregex//346/255/243/345/210/231/350/241/250/350/276/276/345/274/217-/346/226/271/346/263/225/344/273/213/347/273/215.md +325 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//344/270/212/344/270/213/346/226/207-gctx.md +15 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//344/272/222/346/226/245/351/224/201-gmutex.md +145 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//345/206/205/345/255/230/351/224/201-gmlock.md +140 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//345/215/217/347/250/213/347/256/241/347/220/206-grpool.md +371 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//345/256/232/346/227/266/344/273/273/345/212/241-gcron//345/256/232/346/227/266/344/273/273/345/212/241-gcron.md +36 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//345/256/232/346/227/266/344/273/273/345/212/241-gcron//345/256/232/346/227/266/344/273/273/345/212/241-gcron/344/270/216gtimer.md +13 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//345/256/232/346/227/266/344/273/273/345/212/241-gcron//345/256/232/346/227/266/344/273/273/345/212/241-/345/237/272/346/234/254/344/275/277/347/224/250.md +411 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//345/256/232/346/227/266/344/273/273/345/212/241-gcron//345/256/232/346/227/266/344/273/273/345/212/241-/346/227/245/345/277/227/347/256/241/347/220/206.md +42 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//345/256/232/346/227/266/344/273/273/345/212/241-gcron//345/256/232/346/227/266/344/273/273/345/212/241-/350/241/250/350/276/276/345/274/217.md +97 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//345/256/232/346/227/266/345/231/250-gtimer//345/256/232/346/227/266/345/231/250-gtimer.md +58 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//345/256/232/346/227/266/345/231/250-gtimer//345/256/232/346/227/266/345/231/250-/345/237/272/346/234/254/344/275/277/347/224/250.md +213 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//345/257/271/350/261/241/344/277/241/346/201/257-gstructs.md +130 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//346/226/207/344/273/266/347/233/221/346/216/247-gfsnotify//346/226/207/344/273/266/347/233/221/346/216/247-gfsnotify.md +19 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//346/226/207/344/273/266/347/233/221/346/216/247-gfsnotify//346/226/207/344/273/266/347/233/221/346/216/247-/346/267/273/345/212/240/347/233/221/346/216/247.md +52 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//346/226/207/344/273/266/347/233/221/346/216/247-gfsnotify//346/226/207/344/273/266/347/233/221/346/216/247-/347/247/273/351/231/244/347/233/221/346/216/247.md +88 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//346/226/207/344/273/266/347/233/221/346/216/247-gfsnotify//346/226/207/344/273/266/347/233/221/346/216/247-/347/263/273/347/273/237/345/217/202/346/225/260.md +28 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//346/226/207/344/273/266/347/256/241/347/220/206-gfile.md +2517 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//346/227/266/351/227/264/347/256/241/347/220/206-gtime//346/227/266/351/227/264/347/256/241/347/220/206-gtime.md +17 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//346/227/266/351/227/264/347/256/241/347/220/206-gtime//346/227/266/351/227/264/347/256/241/347/220/206-/345/267/245/345/205/267/346/226/271/346/263/225.md +200 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//346/227/266/351/227/264/347/256/241/347/220/206-gtime//346/227/266/351/227/264/347/256/241/347/220/206-/346/226/271/346/263/225/344/273/213/347/273/215.md +685 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//346/227/266/351/227/264/347/256/241/347/220/206-gtime//346/227/266/351/227/264/347/256/241/347/220/206-/346/227/266/345/214/272/350/256/276/347/275/256.md +106 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//346/227/266/351/227/264/347/256/241/347/220/206-gtime//346/227/266/351/227/264/347/256/241/347/220/206-/346/227/266/351/227/264/345/257/271/350/261/241.md +157 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//346/227/266/351/227/264/347/256/241/347/220/206-gtime//346/227/266/351/227/264/347/256/241/347/220/206-/346/227/266/351/227/264/346/240/274/345/274/217.md +45 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//347/216/257/345/242/203/345/217/230/351/207/217-genv.md +104 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//350/277/233/347/250/213/347/256/241/347/220/206-gproc//350/277/233/347/250/213/347/256/241/347/220/206-gproc.md +24 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//350/277/233/347/250/213/347/256/241/347/220/206-gproc//350/277/233/347/250/213/347/256/241/347/220/206-/344/277/241/345/217/267/347/233/221/345/220/254.md +147 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//350/277/233/347/250/213/347/256/241/347/220/206-gproc//350/277/233/347/250/213/347/256/241/347/220/206-/345/237/272/346/234/254/344/275/277/347/224/250.md +110 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//350/277/233/347/250/213/347/256/241/347/220/206-gproc//350/277/233/347/250/213/347/256/241/347/220/206-/350/277/233/347/250/213/351/200/232/344/277/241.md +76 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/263/273/347/273/237/347/233/270/345/205/263//350/277/233/347/250/213/347/256/241/347/220/206-gproc//350/277/233/347/250/213/347/256/241/347/220/206-/351/223/276/350/267/257/350/267/237/350/270/252.md +57 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201/URL/347/274/226/350/247/243/347/240/201-gurl.md +123 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201//344/272/214/350/277/233/345/210/266/347/274/226/350/247/243/347/240/201-gbinary.md +173 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201//345/255/227/347/254/246/351/233/206/350/275/254/346/215/242-gcharset.md +52 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201//347/273/217/345/205/270/345/223/210/345/270/214/345/207/275/346/225/260-ghash.md +101 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-gjson//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-FAQ.md +53 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-gjson//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-Struct/350/275/254/346/215/242.md +28 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-gjson//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-gjson.md +22 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-gjson//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-/345/212/250/346/200/201/345/210/233/345/273/272/344/277/256/346/224/271.md +68 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-gjson//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-/345/257/271/350/261/241/345/210/233/345/273/272.md +110 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-gjson//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-/345/261/202/347/272/247/350/256/277/351/227/256.md +120 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-gjson//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-/346/225/260/346/215/256/346/240/274/345/274/217/350/275/254/346/215/242.md +55 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/274/226/347/240/201/350/247/243/347/240/201//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-gjson//351/200/232/347/224/250/347/274/226/350/247/243/347/240/201-/346/226/271/346/263/225/344/273/213/347/273/215.md +2644 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/275/221/347/273/234/347/273/204/344/273/266/TCP/347/273/204/344/273/266/TCP/347/273/204/344/273/266-TLS/345/212/240/345/257/206.md +143 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/275/221/347/273/234/347/273/204/344/273/266/TCP/347/273/204/344/273/266/TCP/347/273/204/344/273/266-/345/267/245/345/205/267/346/226/271/346/263/225.md +61 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/275/221/347/273/234/347/273/204/344/273/266/TCP/347/273/204/344/273/266/TCP/347/273/204/344/273/266-/350/277/236/346/216/245/345/257/271/350/261/241/TCP/347/273/204/344/273/266-/350/277/236/346/216/245/345/257/271/350/261/241.md +259 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/275/221/347/273/234/347/273/204/344/273/266/TCP/347/273/204/344/273/266/TCP/347/273/204/344/273/266-/350/277/236/346/216/245/345/257/271/350/261/241//350/277/236/346/216/245/345/257/271/350/261/241-/346/266/210/346/201/257/345/214/205/345/244/204/347/220/206.md +228 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/275/221/347/273/234/347/273/204/344/273/266/TCP/347/273/204/344/273/266/TCP/347/273/204/344/273/266-/350/277/236/346/216/245/345/257/271/350/261/241//350/277/236/346/216/245/345/257/271/350/261/241-/351/200/232/344/277/241/345/274/200/345/217/221/350/277/233/351/230/266.md +220 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/275/221/347/273/234/347/273/204/344/273/266/TCP/347/273/204/344/273/266/TCP/347/273/204/344/273/266-/350/277/236/346/216/245/346/261/240/347/211/271/346/200/247.md +164 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/275/221/347/273/234/347/273/204/344/273/266/TCP/347/273/204/344/273/266/TCP/347/273/204/344/273/266.md +73 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/275/221/347/273/234/347/273/204/344/273/266/UDP/347/273/204/344/273/266/UDP/347/273/204/344/273/266-/345/267/245/345/205/267/346/226/271/346/263/225.md +13 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/275/221/347/273/234/347/273/204/344/273/266/UDP/347/273/204/344/273/266/UDP/347/273/204/344/273/266-/350/277/236/346/216/245/345/257/271/350/261/241.md +83 -0
- package/skills/goframe-v2/references//347/273/204/344/273/266/345/210/227/350/241/250//347/275/221/347/273/234/347/273/204/344/273/266/UDP/347/273/204/344/273/266/UDP/347/273/204/344/273/266.md +47 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/350/204/232/346/211/213/346/236/266//345/237/272/346/234/254/344/273/213/347/273/215.md +143 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/350/204/232/346/211/213/346/236/266//346/216/245/345/217/243/345/274/200/345/217/221/Step1 - /350/256/276/350/256/241/346/225/260/346/215/256/350/241/250.md" +62 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/350/204/232/346/211/213/346/236/266//346/216/245/345/217/243/345/274/200/345/217/221/Step2 - /347/224/237/346/210/220dao_do_entity.md" +140 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/350/204/232/346/211/213/346/236/266//346/216/245/345/217/243/345/274/200/345/217/221/Step3 - /347/274/226/345/206/231api/346/216/245/345/217/243/345/256/232/344/271/211.md" +104 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/350/204/232/346/211/213/346/236/266//346/216/245/345/217/243/345/274/200/345/217/221/Step4 - /347/224/237/346/210/220controller/344/273/243/347/240/201.md" +138 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/350/204/232/346/211/213/346/236/266//346/216/245/345/217/243/345/274/200/345/217/221/Step5 - /345/256/214/346/210/220/346/216/245/345/217/243/351/200/273/350/276/221/345/256/236/347/216/260.md" +152 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/350/204/232/346/211/213/346/236/266//346/216/245/345/217/243/345/274/200/345/217/221/Step6 - /351/205/215/347/275/256/344/270/216/350/267/257/347/224/261.md" +97 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/350/204/232/346/211/213/346/236/266//346/216/245/345/217/243/345/274/200/345/217/221/Step7 - /345/220/257/345/212/250/344/270/216/346/265/213/350/257/225.md" +133 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/350/204/232/346/211/213/346/236/266//351/241/271/347/233/256/345/220/257/345/212/250.md +90 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/351/203/250/347/275/262//344/273/243/347/220/206/351/203/250/347/275/262.md +81 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/351/203/250/347/275/262//345/256/271/345/231/250/351/203/250/347/275/262.md +78 -0
- package/skills/goframe-v2/references//351/241/271/347/233/256/351/203/250/347/275/262//347/213/254/347/253/213/351/203/250/347/275/262.md +126 -0
- package/skills/golang-patterns/SKILL.md +674 -0
- package/skills/golang-testing/SKILL.md +720 -0
- package/skills/google-workspace-ops/SKILL.md +95 -0
- package/skills/graphify/SKILL.md +51 -0
- package/skills/graphify/agents/openai.yaml +4 -0
- package/skills/harness-audit/SKILL.md +135 -0
- package/skills/harness-audit/agents/openai.yaml +4 -0
- package/skills/healthcare-cdss-patterns/SKILL.md +245 -0
- package/skills/healthcare-emr-patterns/SKILL.md +159 -0
- package/skills/healthcare-eval-harness/SKILL.md +207 -0
- package/skills/healthcare-phi-compliance/SKILL.md +145 -0
- package/skills/hexagonal-architecture/SKILL.md +276 -0
- package/skills/inventory-demand-planning/SKILL.md +247 -0
- package/skills/investor-materials/SKILL.md +96 -0
- package/skills/investor-outreach/SKILL.md +87 -0
- package/skills/iterative-retrieval/SKILL.md +211 -0
- package/skills/iterative-retrieval/agents/openai.yaml +4 -0
- package/skills/java-coding-standards/SKILL.md +147 -0
- package/skills/java-unit-test/SKILL.md +256 -0
- package/skills/java-unit-test/agents/openai.yaml +4 -0
- package/skills/jpa-patterns/SKILL.md +151 -0
- package/skills/karpathy-guidelines/SKILL.md +46 -0
- package/skills/karpathy-guidelines/agents/openai.yaml +4 -0
- package/skills/kotlin-coroutines-flows/SKILL.md +284 -0
- package/skills/kotlin-exposed-patterns/SKILL.md +719 -0
- package/skills/kotlin-ktor-patterns/SKILL.md +689 -0
- package/skills/kotlin-patterns/SKILL.md +711 -0
- package/skills/kotlin-testing/SKILL.md +824 -0
- package/skills/langfuse-coding-trace/SKILL.md +129 -0
- package/skills/langfuse-coding-trace/agents/openai.yaml +4 -0
- package/skills/langfuse-coding-trace/trace.py +226 -0
- package/skills/laravel-patterns/SKILL.md +415 -0
- package/skills/laravel-plugin-discovery/SKILL.md +229 -0
- package/skills/laravel-security/SKILL.md +285 -0
- package/skills/laravel-tdd/SKILL.md +283 -0
- package/skills/laravel-verification/SKILL.md +179 -0
- package/skills/lead-intelligence/SKILL.md +345 -0
- package/skills/lead-intelligence/agents/enrichment-agent.md +85 -0
- package/skills/lead-intelligence/agents/mutual-mapper.md +75 -0
- package/skills/lead-intelligence/agents/outreach-drafter.md +98 -0
- package/skills/lead-intelligence/agents/signal-scorer.md +60 -0
- package/skills/liquid-glass-design/SKILL.md +279 -0
- package/skills/logistics-exception-management/SKILL.md +222 -0
- package/skills/manim-video/SKILL.md +89 -0
- package/skills/manim-video/assets/network_graph_scene.py +52 -0
- package/skills/market-research/SKILL.md +75 -0
- package/skills/maven-qa/SKILL.md +199 -0
- package/skills/maven-qa/agents/openai.yaml +4 -0
- package/skills/maven-qa/scripts/parse_static_analysis.py +252 -0
- package/skills/maven-qa/scripts/parse_surefire.py +113 -0
- package/skills/maven-qa/scripts/requirements.txt +1 -0
- package/skills/mcp-server-patterns/SKILL.md +67 -0
- package/skills/multi-perspective-review/SKILL.md +112 -0
- package/skills/mysql-query/SKILL.md +125 -0
- package/skills/mysql-query/agents/openai.yaml +4 -0
- package/skills/mysql-query/scripts/query.py +79 -0
- package/skills/mysql-query/scripts/requirements.txt +1 -0
- package/skills/nanoclaw-repl/SKILL.md +33 -0
- package/skills/nextjs-turbopack/SKILL.md +44 -0
- package/skills/nutrient-document-processing/SKILL.md +167 -0
- package/skills/nuxt4-patterns/SKILL.md +100 -0
- package/skills/openclaw-persona-forge/SKILL.md +296 -0
- package/skills/openclaw-persona-forge/gacha.py +224 -0
- package/skills/openclaw-persona-forge/gacha.sh +5 -0
- package/skills/openclaw-persona-forge/references/avatar-style.md +124 -0
- package/skills/openclaw-persona-forge/references/boundary-rules.md +53 -0
- package/skills/openclaw-persona-forge/references/error-handling.md +53 -0
- package/skills/openclaw-persona-forge/references/identity-tension.md +48 -0
- package/skills/openclaw-persona-forge/references/naming-system.md +39 -0
- package/skills/openclaw-persona-forge/references/output-template.md +166 -0
- package/skills/opensource-pipeline/SKILL.md +255 -0
- package/skills/pairwise-test-design/SKILL.md +36 -0
- package/skills/pairwise-test-design/agents/openai.yaml +4 -0
- package/skills/parallel-execution/SKILL.md +69 -0
- package/skills/parallel-execution/agents/openai.yaml +58 -0
- package/skills/perl-patterns/SKILL.md +504 -0
- package/skills/perl-security/SKILL.md +503 -0
- package/skills/perl-testing/SKILL.md +475 -0
- package/skills/plankton-code-quality/SKILL.md +236 -0
- package/skills/plankton-code-quality/agents/openai.yaml +4 -0
- package/skills/postgres-patterns/SKILL.md +147 -0
- package/skills/product-lens/SKILL.md +85 -0
- package/skills/production-scheduling/SKILL.md +238 -0
- package/skills/project-flow-ops/SKILL.md +111 -0
- package/skills/project-guidelines-example/SKILL.md +349 -0
- package/skills/project-guidelines-example/agents/openai.yaml +4 -0
- package/skills/prompt-optimizer/SKILL.md +397 -0
- package/skills/pua/SKILL.md +77 -0
- package/skills/pua/agents/openai.yaml +4 -0
- package/skills/pua/references/display-protocol.md +32 -0
- package/skills/pua/references/flavors.md +44 -0
- package/skills/pua/references/methodology-alibaba.md +14 -0
- package/skills/pua/references/methodology-huawei.md +15 -0
- package/skills/pua/references/methodology-musk.md +15 -0
- package/skills/pua/references/methodology-router.md +28 -0
- package/skills/pua-loop/SKILL.md +18 -0
- package/skills/pua-loop/agents/openai.yaml +4 -0
- package/skills/pua-mama/SKILL.md +17 -0
- package/skills/pua-mama/agents/openai.yaml +4 -0
- package/skills/pua-p10/SKILL.md +18 -0
- package/skills/pua-p10/agents/openai.yaml +4 -0
- package/skills/pua-p7/SKILL.md +24 -0
- package/skills/pua-p7/agents/openai.yaml +4 -0
- package/skills/pua-p9/SKILL.md +24 -0
- package/skills/pua-p9/agents/openai.yaml +4 -0
- package/skills/pua-pro/SKILL.md +18 -0
- package/skills/pua-pro/agents/openai.yaml +4 -0
- package/skills/pua-yes/SKILL.md +17 -0
- package/skills/pua-yes/agents/openai.yaml +4 -0
- package/skills/python-patterns/SKILL.md +750 -0
- package/skills/python-testing/SKILL.md +816 -0
- package/skills/pytorch-patterns/SKILL.md +396 -0
- package/skills/quality-nonconformance/SKILL.md +260 -0
- package/skills/quick-execution/SKILL.md +78 -0
- package/skills/ralphinho-rfc-pipeline/SKILL.md +67 -0
- package/skills/regex-vs-llm-structured-text/SKILL.md +220 -0
- package/skills/remotion-video-creation/SKILL.md +43 -0
- package/skills/remotion-video-creation/rules/3d.md +86 -0
- package/skills/remotion-video-creation/rules/animations.md +29 -0
- package/skills/remotion-video-creation/rules/assets/charts-bar-chart.tsx +173 -0
- package/skills/remotion-video-creation/rules/assets/text-animations-typewriter.tsx +100 -0
- package/skills/remotion-video-creation/rules/assets/text-animations-word-highlight.tsx +108 -0
- package/skills/remotion-video-creation/rules/assets.md +78 -0
- package/skills/remotion-video-creation/rules/audio.md +172 -0
- package/skills/remotion-video-creation/rules/calculate-metadata.md +104 -0
- package/skills/remotion-video-creation/rules/can-decode.md +75 -0
- package/skills/remotion-video-creation/rules/charts.md +58 -0
- package/skills/remotion-video-creation/rules/compositions.md +146 -0
- package/skills/remotion-video-creation/rules/display-captions.md +126 -0
- package/skills/remotion-video-creation/rules/extract-frames.md +229 -0
- package/skills/remotion-video-creation/rules/fonts.md +152 -0
- package/skills/remotion-video-creation/rules/get-audio-duration.md +58 -0
- package/skills/remotion-video-creation/rules/get-video-dimensions.md +68 -0
- package/skills/remotion-video-creation/rules/get-video-duration.md +58 -0
- package/skills/remotion-video-creation/rules/gifs.md +138 -0
- package/skills/remotion-video-creation/rules/images.md +130 -0
- package/skills/remotion-video-creation/rules/import-srt-captions.md +67 -0
- package/skills/remotion-video-creation/rules/lottie.md +67 -0
- package/skills/remotion-video-creation/rules/measuring-dom-nodes.md +34 -0
- package/skills/remotion-video-creation/rules/measuring-text.md +143 -0
- package/skills/remotion-video-creation/rules/sequencing.md +106 -0
- package/skills/remotion-video-creation/rules/tailwind.md +11 -0
- package/skills/remotion-video-creation/rules/text-animations.md +20 -0
- package/skills/remotion-video-creation/rules/timing.md +179 -0
- package/skills/remotion-video-creation/rules/transcribe-captions.md +19 -0
- package/skills/remotion-video-creation/rules/transitions.md +122 -0
- package/skills/remotion-video-creation/rules/trimming.md +52 -0
- package/skills/remotion-video-creation/rules/videos.md +171 -0
- package/skills/repo-scan/SKILL.md +78 -0
- package/skills/returns-reverse-logistics/SKILL.md +240 -0
- package/skills/roles/architect/SKILL.md +105 -0
- package/skills/roles/architect/agents/openai.yaml +4 -0
- package/skills/roles/backend-engineer/SKILL.md +116 -0
- package/skills/roles/backend-engineer/agents/openai.yaml +4 -0
- package/skills/roles/devops-engineer/SKILL.md +99 -0
- package/skills/roles/devops-engineer/agents/openai.yaml +4 -0
- package/skills/roles/frontend-engineer/SKILL.md +103 -0
- package/skills/roles/frontend-engineer/agents/openai.yaml +4 -0
- package/skills/roles/product-manager/SKILL.md +106 -0
- package/skills/roles/product-manager/agents/openai.yaml +4 -0
- package/skills/roles/project-manager/SKILL.md +90 -0
- package/skills/roles/project-manager/agents/openai.yaml +4 -0
- package/skills/roles/qa-engineer/SKILL.md +114 -0
- package/skills/roles/qa-engineer/agents/openai.yaml +4 -0
- package/skills/roles/tech-lead/SKILL.md +120 -0
- package/skills/roles/tech-lead/agents/openai.yaml +4 -0
- package/skills/rtk-token-optimization/SKILL.md +98 -0
- package/skills/rtk-token-optimization/agents/openai.yaml +4 -0
- package/skills/rules-distill/SKILL.md +264 -0
- package/skills/rules-distill/scripts/scan-rules.sh +58 -0
- package/skills/rules-distill/scripts/scan-skills.sh +129 -0
- package/skills/rust-patterns/SKILL.md +499 -0
- package/skills/rust-testing/SKILL.md +500 -0
- package/skills/safety-guard/SKILL.md +75 -0
- package/skills/santa-method/SKILL.md +306 -0
- package/skills/search-first/SKILL.md +161 -0
- package/skills/security-review/SKILL.md +495 -0
- package/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/skills/security-scan/SKILL.md +165 -0
- package/skills/session-continuity/SKILL.md +103 -0
- package/skills/skill-comply/SKILL.md +58 -0
- package/skills/skill-comply/fixtures/compliant_trace.jsonl +5 -0
- package/skills/skill-comply/fixtures/noncompliant_trace.jsonl +3 -0
- package/skills/skill-comply/fixtures/tdd_spec.yaml +44 -0
- package/skills/skill-comply/prompts/classifier.md +24 -0
- package/skills/skill-comply/prompts/scenario_generator.md +62 -0
- package/skills/skill-comply/prompts/spec_generator.md +42 -0
- package/skills/skill-comply/pyproject.toml +15 -0
- package/skills/skill-comply/scripts/__init__.py +1 -0
- package/skills/skill-comply/scripts/classifier.py +85 -0
- package/skills/skill-comply/scripts/grader.py +122 -0
- package/skills/skill-comply/scripts/parser.py +107 -0
- package/skills/skill-comply/scripts/report.py +170 -0
- package/skills/skill-comply/scripts/run.py +127 -0
- package/skills/skill-comply/scripts/runner.py +161 -0
- package/skills/skill-comply/scripts/scenario_generator.py +70 -0
- package/skills/skill-comply/scripts/spec_generator.py +72 -0
- package/skills/skill-comply/scripts/utils.py +13 -0
- package/skills/skill-comply/tests/test_grader.py +137 -0
- package/skills/skill-comply/tests/test_parser.py +90 -0
- package/skills/skill-stocktake/SKILL.md +194 -0
- package/skills/skill-stocktake/agents/openai.yaml +4 -0
- package/skills/skill-stocktake/scripts/quick-diff.sh +87 -0
- package/skills/skill-stocktake/scripts/save-results.sh +56 -0
- package/skills/skill-stocktake/scripts/scan.sh +170 -0
- package/skills/springboot-patterns/SKILL.md +314 -0
- package/skills/springboot-security/SKILL.md +272 -0
- package/skills/springboot-tdd/SKILL.md +158 -0
- package/skills/springboot-verification/SKILL.md +231 -0
- package/skills/strategic-compact/SKILL.md +111 -0
- package/skills/strategic-compact/agents/openai.yaml +4 -0
- package/skills/subagent-driven-development/SKILL.md +102 -0
- package/skills/swift-actor-persistence/SKILL.md +143 -0
- package/skills/swift-concurrency-6-2/SKILL.md +216 -0
- package/skills/swift-protocol-di-testing/SKILL.md +190 -0
- package/skills/swiftui-patterns/SKILL.md +259 -0
- package/skills/systematic-debugging/SKILL.md +35 -0
- package/skills/systematic-debugging/agents/openai.yaml +4 -0
- package/skills/tdd-workflow/SKILL.md +463 -0
- package/skills/tdd-workflow/agents/openai.yaml +4 -0
- package/skills/team-builder/SKILL.md +168 -0
- package/skills/testcontainers-integration-testing/SKILL.md +36 -0
- package/skills/testcontainers-integration-testing/agents/openai.yaml +4 -0
- package/skills/token-budget-advisor/SKILL.md +133 -0
- package/skills/ui-demo/SKILL.md +465 -0
- package/skills/ui-ux-promax/SKILL.md +373 -0
- package/skills/verification-loop/SKILL.md +126 -0
- package/skills/verification-loop/agents/openai.yaml +4 -0
- package/skills/video-editing/SKILL.md +310 -0
- package/skills/videodb/SKILL.md +374 -0
- package/skills/videodb/reference/api-reference.md +550 -0
- package/skills/videodb/reference/capture-reference.md +407 -0
- package/skills/videodb/reference/capture.md +101 -0
- package/skills/videodb/reference/editor.md +443 -0
- package/skills/videodb/reference/generative.md +331 -0
- package/skills/videodb/reference/rtstream-reference.md +564 -0
- package/skills/videodb/reference/rtstream.md +65 -0
- package/skills/videodb/reference/search.md +230 -0
- package/skills/videodb/reference/streaming.md +406 -0
- package/skills/videodb/reference/use-cases.md +118 -0
- package/skills/videodb/scripts/ws_listener.py +282 -0
- package/skills/visa-doc-translate/README.md +86 -0
- package/skills/visa-doc-translate/SKILL.md +117 -0
- package/skills/wave-execution/SKILL.md +106 -0
- package/skills/workflow-forensics/SKILL.md +163 -0
- package/skills/workspace-surface-audit/SKILL.md +125 -0
- package/skills/x-api/SKILL.md +230 -0
- package/templates/DESIGN.md +267 -0
- package/templates/api-contract.md +46 -0
- package/templates/backlog-snapshot.md +41 -0
- package/templates/closeout-summary.md +55 -0
- package/templates/context-docs/PROJECT.md +36 -0
- package/templates/context-docs/REQUIREMENTS.md +36 -0
- package/templates/context-docs/ROADMAP.md +20 -0
- package/templates/context-docs/STATE.md +34 -0
- package/templates/deployment-context.md +86 -0
- package/templates/design-system-brief.md +58 -0
- package/templates/launch-acceptance.md +59 -0
- package/templates/release-plan.md +61 -0
- package/templates/system/agent-role.md.tmpl +64 -0
- package/templates/system/command.md.tmpl +26 -0
- package/templates/system/role-skill.md.tmpl +65 -0
- package/templates/system/specialist-agent.md.tmpl +27 -0
- package/templates/ui-implementation-plan.md +35 -0
- package/templates/ui-review-checklist.md +40 -0
|
@@ -0,0 +1,1477 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Instinct CLI - Manage instincts for Continuous Learning v2
|
|
4
|
+
|
|
5
|
+
v2.1: Project-scoped instincts — different projects get different instincts,
|
|
6
|
+
with global instincts applied universally.
|
|
7
|
+
|
|
8
|
+
Commands:
|
|
9
|
+
status - Show all instincts (project + global) and their status
|
|
10
|
+
import - Import instincts from file or URL
|
|
11
|
+
export - Export instincts to file
|
|
12
|
+
evolve - Cluster instincts into skills/commands/agents
|
|
13
|
+
promote - Promote project instincts to global scope
|
|
14
|
+
projects - List all known projects and their instinct counts
|
|
15
|
+
prune - Delete pending instincts older than 30 days (TTL)
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
import argparse
|
|
19
|
+
import json
|
|
20
|
+
import hashlib
|
|
21
|
+
import os
|
|
22
|
+
import subprocess
|
|
23
|
+
import sys
|
|
24
|
+
import re
|
|
25
|
+
import urllib.request
|
|
26
|
+
from pathlib import Path
|
|
27
|
+
from datetime import datetime, timedelta, timezone
|
|
28
|
+
from collections import defaultdict
|
|
29
|
+
from typing import Optional
|
|
30
|
+
|
|
31
|
+
try:
|
|
32
|
+
import fcntl
|
|
33
|
+
_HAS_FCNTL = True
|
|
34
|
+
except ImportError:
|
|
35
|
+
_HAS_FCNTL = False # Windows — skip file locking
|
|
36
|
+
|
|
37
|
+
# ─────────────────────────────────────────────
|
|
38
|
+
# Configuration
|
|
39
|
+
# ─────────────────────────────────────────────
|
|
40
|
+
|
|
41
|
+
HOMUNCULUS_DIR = Path.home() / ".claude" / "homunculus"
|
|
42
|
+
PROJECTS_DIR = HOMUNCULUS_DIR / "projects"
|
|
43
|
+
REGISTRY_FILE = HOMUNCULUS_DIR / "projects.json"
|
|
44
|
+
|
|
45
|
+
# Global (non-project-scoped) paths
|
|
46
|
+
GLOBAL_INSTINCTS_DIR = HOMUNCULUS_DIR / "instincts"
|
|
47
|
+
GLOBAL_PERSONAL_DIR = GLOBAL_INSTINCTS_DIR / "personal"
|
|
48
|
+
GLOBAL_INHERITED_DIR = GLOBAL_INSTINCTS_DIR / "inherited"
|
|
49
|
+
GLOBAL_EVOLVED_DIR = HOMUNCULUS_DIR / "evolved"
|
|
50
|
+
GLOBAL_OBSERVATIONS_FILE = HOMUNCULUS_DIR / "observations.jsonl"
|
|
51
|
+
|
|
52
|
+
# Thresholds for auto-promotion
|
|
53
|
+
PROMOTE_CONFIDENCE_THRESHOLD = 0.8
|
|
54
|
+
PROMOTE_MIN_PROJECTS = 2
|
|
55
|
+
ALLOWED_INSTINCT_EXTENSIONS = (".yaml", ".yml", ".md")
|
|
56
|
+
|
|
57
|
+
# Default TTL for pending instincts (days)
|
|
58
|
+
PENDING_TTL_DAYS = 30
|
|
59
|
+
# Warning threshold: show expiry warning when instinct expires within this many days
|
|
60
|
+
PENDING_EXPIRY_WARNING_DAYS = 7
|
|
61
|
+
|
|
62
|
+
# Ensure global directories exist (deferred to avoid side effects at import time)
|
|
63
|
+
def _ensure_global_dirs():
|
|
64
|
+
for d in [GLOBAL_PERSONAL_DIR, GLOBAL_INHERITED_DIR,
|
|
65
|
+
GLOBAL_EVOLVED_DIR / "skills", GLOBAL_EVOLVED_DIR / "commands", GLOBAL_EVOLVED_DIR / "agents",
|
|
66
|
+
PROJECTS_DIR]:
|
|
67
|
+
d.mkdir(parents=True, exist_ok=True)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
# ─────────────────────────────────────────────
|
|
71
|
+
# Path Validation
|
|
72
|
+
# ─────────────────────────────────────────────
|
|
73
|
+
|
|
74
|
+
def _validate_file_path(path_str: str, must_exist: bool = False) -> Path:
|
|
75
|
+
"""Validate and resolve a file path, guarding against path traversal.
|
|
76
|
+
|
|
77
|
+
Raises ValueError if the path is invalid or suspicious.
|
|
78
|
+
"""
|
|
79
|
+
path = Path(path_str).expanduser().resolve()
|
|
80
|
+
|
|
81
|
+
# Block paths that escape into system directories
|
|
82
|
+
# We block specific system paths but allow temp dirs (/var/folders on macOS)
|
|
83
|
+
blocked_prefixes = [
|
|
84
|
+
"/etc", "/usr", "/bin", "/sbin", "/proc", "/sys",
|
|
85
|
+
"/var/log", "/var/run", "/var/lib", "/var/spool",
|
|
86
|
+
# macOS resolves /etc → /private/etc
|
|
87
|
+
"/private/etc",
|
|
88
|
+
"/private/var/log", "/private/var/run", "/private/var/db",
|
|
89
|
+
]
|
|
90
|
+
path_s = str(path)
|
|
91
|
+
for prefix in blocked_prefixes:
|
|
92
|
+
if path_s.startswith(prefix + "/") or path_s == prefix:
|
|
93
|
+
raise ValueError(f"Path '{path}' targets a system directory")
|
|
94
|
+
|
|
95
|
+
if must_exist and not path.exists():
|
|
96
|
+
raise ValueError(f"Path does not exist: {path}")
|
|
97
|
+
|
|
98
|
+
return path
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def _validate_instinct_id(instinct_id: str) -> bool:
|
|
102
|
+
"""Validate instinct IDs before using them in filenames."""
|
|
103
|
+
if not instinct_id or len(instinct_id) > 128:
|
|
104
|
+
return False
|
|
105
|
+
if "/" in instinct_id or "\\" in instinct_id:
|
|
106
|
+
return False
|
|
107
|
+
if ".." in instinct_id:
|
|
108
|
+
return False
|
|
109
|
+
if instinct_id.startswith("."):
|
|
110
|
+
return False
|
|
111
|
+
return bool(re.match(r"^[A-Za-z0-9][A-Za-z0-9._-]*$", instinct_id))
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def _yaml_quote(value: str) -> str:
|
|
115
|
+
"""Quote a string for safe YAML frontmatter serialization.
|
|
116
|
+
|
|
117
|
+
Uses double quotes and escapes embedded double-quote characters to
|
|
118
|
+
prevent malformed YAML when the value contains quotes.
|
|
119
|
+
"""
|
|
120
|
+
escaped = value.replace('\\', '\\\\').replace('"', '\\"')
|
|
121
|
+
return f'"{escaped}"'
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
# ─────────────────────────────────────────────
|
|
125
|
+
# Project Detection (Python equivalent of detect-project.sh)
|
|
126
|
+
# ─────────────────────────────────────────────
|
|
127
|
+
|
|
128
|
+
def detect_project() -> dict:
|
|
129
|
+
"""Detect current project context. Returns dict with id, name, root, project_dir."""
|
|
130
|
+
project_root = None
|
|
131
|
+
|
|
132
|
+
# 1. CLAUDE_PROJECT_DIR env var
|
|
133
|
+
env_dir = os.environ.get("CLAUDE_PROJECT_DIR")
|
|
134
|
+
if env_dir and os.path.isdir(env_dir):
|
|
135
|
+
project_root = env_dir
|
|
136
|
+
|
|
137
|
+
# 2. git repo root
|
|
138
|
+
if not project_root:
|
|
139
|
+
try:
|
|
140
|
+
result = subprocess.run(
|
|
141
|
+
["git", "rev-parse", "--show-toplevel"],
|
|
142
|
+
capture_output=True, text=True, timeout=5
|
|
143
|
+
)
|
|
144
|
+
if result.returncode == 0:
|
|
145
|
+
project_root = result.stdout.strip()
|
|
146
|
+
except (subprocess.TimeoutExpired, FileNotFoundError):
|
|
147
|
+
pass
|
|
148
|
+
|
|
149
|
+
# Normalize: strip trailing slashes to keep basename and hash stable
|
|
150
|
+
if project_root:
|
|
151
|
+
project_root = project_root.rstrip("/")
|
|
152
|
+
|
|
153
|
+
# 3. No project — global fallback
|
|
154
|
+
if not project_root:
|
|
155
|
+
return {
|
|
156
|
+
"id": "global",
|
|
157
|
+
"name": "global",
|
|
158
|
+
"root": "",
|
|
159
|
+
"project_dir": HOMUNCULUS_DIR,
|
|
160
|
+
"instincts_personal": GLOBAL_PERSONAL_DIR,
|
|
161
|
+
"instincts_inherited": GLOBAL_INHERITED_DIR,
|
|
162
|
+
"evolved_dir": GLOBAL_EVOLVED_DIR,
|
|
163
|
+
"observations_file": GLOBAL_OBSERVATIONS_FILE,
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
project_name = os.path.basename(project_root)
|
|
167
|
+
|
|
168
|
+
# Derive project ID from git remote URL or path
|
|
169
|
+
remote_url = ""
|
|
170
|
+
try:
|
|
171
|
+
result = subprocess.run(
|
|
172
|
+
["git", "-C", project_root, "remote", "get-url", "origin"],
|
|
173
|
+
capture_output=True, text=True, timeout=5
|
|
174
|
+
)
|
|
175
|
+
if result.returncode == 0:
|
|
176
|
+
remote_url = result.stdout.strip()
|
|
177
|
+
except (subprocess.TimeoutExpired, FileNotFoundError):
|
|
178
|
+
pass
|
|
179
|
+
|
|
180
|
+
hash_source = remote_url if remote_url else project_root
|
|
181
|
+
project_id = hashlib.sha256(hash_source.encode()).hexdigest()[:12]
|
|
182
|
+
|
|
183
|
+
project_dir = PROJECTS_DIR / project_id
|
|
184
|
+
|
|
185
|
+
# Ensure project directory structure
|
|
186
|
+
for d in [
|
|
187
|
+
project_dir / "instincts" / "personal",
|
|
188
|
+
project_dir / "instincts" / "inherited",
|
|
189
|
+
project_dir / "observations.archive",
|
|
190
|
+
project_dir / "evolved" / "skills",
|
|
191
|
+
project_dir / "evolved" / "commands",
|
|
192
|
+
project_dir / "evolved" / "agents",
|
|
193
|
+
]:
|
|
194
|
+
d.mkdir(parents=True, exist_ok=True)
|
|
195
|
+
|
|
196
|
+
# Update registry
|
|
197
|
+
_update_registry(project_id, project_name, project_root, remote_url)
|
|
198
|
+
|
|
199
|
+
return {
|
|
200
|
+
"id": project_id,
|
|
201
|
+
"name": project_name,
|
|
202
|
+
"root": project_root,
|
|
203
|
+
"remote": remote_url,
|
|
204
|
+
"project_dir": project_dir,
|
|
205
|
+
"instincts_personal": project_dir / "instincts" / "personal",
|
|
206
|
+
"instincts_inherited": project_dir / "instincts" / "inherited",
|
|
207
|
+
"evolved_dir": project_dir / "evolved",
|
|
208
|
+
"observations_file": project_dir / "observations.jsonl",
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
def _update_registry(pid: str, pname: str, proot: str, premote: str) -> None:
|
|
213
|
+
"""Update the projects.json registry.
|
|
214
|
+
|
|
215
|
+
Uses file locking (where available) to prevent concurrent sessions from
|
|
216
|
+
overwriting each other's updates.
|
|
217
|
+
"""
|
|
218
|
+
REGISTRY_FILE.parent.mkdir(parents=True, exist_ok=True)
|
|
219
|
+
lock_path = REGISTRY_FILE.parent / f".{REGISTRY_FILE.name}.lock"
|
|
220
|
+
lock_fd = None
|
|
221
|
+
|
|
222
|
+
try:
|
|
223
|
+
# Acquire advisory lock to serialize read-modify-write
|
|
224
|
+
if _HAS_FCNTL:
|
|
225
|
+
lock_fd = open(lock_path, "w")
|
|
226
|
+
fcntl.flock(lock_fd, fcntl.LOCK_EX)
|
|
227
|
+
|
|
228
|
+
try:
|
|
229
|
+
with open(REGISTRY_FILE, encoding="utf-8") as f:
|
|
230
|
+
registry = json.load(f)
|
|
231
|
+
except (FileNotFoundError, json.JSONDecodeError):
|
|
232
|
+
registry = {}
|
|
233
|
+
|
|
234
|
+
registry[pid] = {
|
|
235
|
+
"name": pname,
|
|
236
|
+
"root": proot,
|
|
237
|
+
"remote": premote,
|
|
238
|
+
"last_seen": datetime.now(timezone.utc).isoformat().replace("+00:00", "Z"),
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
tmp_file = REGISTRY_FILE.parent / f".{REGISTRY_FILE.name}.tmp.{os.getpid()}"
|
|
242
|
+
with open(tmp_file, "w", encoding="utf-8") as f:
|
|
243
|
+
json.dump(registry, f, indent=2)
|
|
244
|
+
f.flush()
|
|
245
|
+
os.fsync(f.fileno())
|
|
246
|
+
os.replace(tmp_file, REGISTRY_FILE)
|
|
247
|
+
finally:
|
|
248
|
+
if lock_fd is not None:
|
|
249
|
+
fcntl.flock(lock_fd, fcntl.LOCK_UN)
|
|
250
|
+
lock_fd.close()
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
def load_registry() -> dict:
|
|
254
|
+
"""Load the projects registry."""
|
|
255
|
+
try:
|
|
256
|
+
with open(REGISTRY_FILE, encoding="utf-8") as f:
|
|
257
|
+
return json.load(f)
|
|
258
|
+
except (FileNotFoundError, json.JSONDecodeError):
|
|
259
|
+
return {}
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
# ─────────────────────────────────────────────
|
|
263
|
+
# Instinct Parser
|
|
264
|
+
# ─────────────────────────────────────────────
|
|
265
|
+
|
|
266
|
+
def parse_instinct_file(content: str) -> list[dict]:
|
|
267
|
+
"""Parse YAML-like instinct file format.
|
|
268
|
+
|
|
269
|
+
Each instinct is delimited by a pair of ``---`` markers (YAML frontmatter).
|
|
270
|
+
Note: ``---`` is always treated as a frontmatter boundary; instinct body
|
|
271
|
+
content must use ``***`` or ``___`` for horizontal rules to avoid ambiguity.
|
|
272
|
+
"""
|
|
273
|
+
instincts = []
|
|
274
|
+
current = {}
|
|
275
|
+
in_frontmatter = False
|
|
276
|
+
content_lines = []
|
|
277
|
+
|
|
278
|
+
for line in content.split('\n'):
|
|
279
|
+
if line.strip() == '---':
|
|
280
|
+
if in_frontmatter:
|
|
281
|
+
# End of frontmatter - content comes next
|
|
282
|
+
in_frontmatter = False
|
|
283
|
+
else:
|
|
284
|
+
# Start of new frontmatter block
|
|
285
|
+
in_frontmatter = True
|
|
286
|
+
if current:
|
|
287
|
+
current['content'] = '\n'.join(content_lines).strip()
|
|
288
|
+
instincts.append(current)
|
|
289
|
+
current = {}
|
|
290
|
+
content_lines = []
|
|
291
|
+
elif in_frontmatter:
|
|
292
|
+
# Parse YAML-like frontmatter
|
|
293
|
+
if ':' in line:
|
|
294
|
+
key, value = line.split(':', 1)
|
|
295
|
+
key = key.strip()
|
|
296
|
+
value = value.strip()
|
|
297
|
+
# Unescape quoted YAML strings
|
|
298
|
+
if value.startswith('"') and value.endswith('"'):
|
|
299
|
+
value = value[1:-1].replace('\\"', '"').replace('\\\\', '\\')
|
|
300
|
+
elif value.startswith("'") and value.endswith("'"):
|
|
301
|
+
value = value[1:-1].replace("''", "'")
|
|
302
|
+
if key == 'confidence':
|
|
303
|
+
try:
|
|
304
|
+
current[key] = float(value)
|
|
305
|
+
except ValueError:
|
|
306
|
+
current[key] = 0.5 # default on malformed confidence
|
|
307
|
+
else:
|
|
308
|
+
current[key] = value
|
|
309
|
+
else:
|
|
310
|
+
content_lines.append(line)
|
|
311
|
+
|
|
312
|
+
# Don't forget the last instinct
|
|
313
|
+
if current:
|
|
314
|
+
current['content'] = '\n'.join(content_lines).strip()
|
|
315
|
+
instincts.append(current)
|
|
316
|
+
|
|
317
|
+
return [i for i in instincts if i.get('id')]
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
def _load_instincts_from_dir(directory: Path, source_type: str, scope_label: str) -> list[dict]:
|
|
321
|
+
"""Load instincts from a single directory."""
|
|
322
|
+
instincts = []
|
|
323
|
+
if not directory.exists():
|
|
324
|
+
return instincts
|
|
325
|
+
files = [
|
|
326
|
+
file for file in sorted(directory.iterdir())
|
|
327
|
+
if file.is_file() and file.suffix.lower() in ALLOWED_INSTINCT_EXTENSIONS
|
|
328
|
+
]
|
|
329
|
+
for file in files:
|
|
330
|
+
try:
|
|
331
|
+
content = file.read_text(encoding="utf-8")
|
|
332
|
+
parsed = parse_instinct_file(content)
|
|
333
|
+
for inst in parsed:
|
|
334
|
+
inst['_source_file'] = str(file)
|
|
335
|
+
inst['_source_type'] = source_type
|
|
336
|
+
inst['_scope_label'] = scope_label
|
|
337
|
+
# Default scope if not set in frontmatter
|
|
338
|
+
if 'scope' not in inst:
|
|
339
|
+
inst['scope'] = scope_label
|
|
340
|
+
instincts.extend(parsed)
|
|
341
|
+
except Exception as e:
|
|
342
|
+
print(f"Warning: Failed to parse {file}: {e}", file=sys.stderr)
|
|
343
|
+
return instincts
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
def load_all_instincts(project: dict, include_global: bool = True) -> list[dict]:
|
|
347
|
+
"""Load all instincts: project-scoped + global.
|
|
348
|
+
|
|
349
|
+
Project-scoped instincts take precedence over global ones when IDs conflict.
|
|
350
|
+
"""
|
|
351
|
+
instincts = []
|
|
352
|
+
|
|
353
|
+
# 1. Load project-scoped instincts (if not already global)
|
|
354
|
+
if project["id"] != "global":
|
|
355
|
+
instincts.extend(_load_instincts_from_dir(
|
|
356
|
+
project["instincts_personal"], "personal", "project"
|
|
357
|
+
))
|
|
358
|
+
instincts.extend(_load_instincts_from_dir(
|
|
359
|
+
project["instincts_inherited"], "inherited", "project"
|
|
360
|
+
))
|
|
361
|
+
|
|
362
|
+
# 2. Load global instincts
|
|
363
|
+
if include_global:
|
|
364
|
+
global_instincts = []
|
|
365
|
+
global_instincts.extend(_load_instincts_from_dir(
|
|
366
|
+
GLOBAL_PERSONAL_DIR, "personal", "global"
|
|
367
|
+
))
|
|
368
|
+
global_instincts.extend(_load_instincts_from_dir(
|
|
369
|
+
GLOBAL_INHERITED_DIR, "inherited", "global"
|
|
370
|
+
))
|
|
371
|
+
|
|
372
|
+
# Deduplicate: project-scoped wins over global when same ID
|
|
373
|
+
project_ids = {i.get('id') for i in instincts}
|
|
374
|
+
for gi in global_instincts:
|
|
375
|
+
if gi.get('id') not in project_ids:
|
|
376
|
+
instincts.append(gi)
|
|
377
|
+
|
|
378
|
+
return instincts
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
def load_project_only_instincts(project: dict) -> list[dict]:
|
|
382
|
+
"""Load only project-scoped instincts (no global).
|
|
383
|
+
|
|
384
|
+
In global fallback mode (no git project), returns global instincts.
|
|
385
|
+
"""
|
|
386
|
+
if project.get("id") == "global":
|
|
387
|
+
instincts = _load_instincts_from_dir(GLOBAL_PERSONAL_DIR, "personal", "global")
|
|
388
|
+
instincts += _load_instincts_from_dir(GLOBAL_INHERITED_DIR, "inherited", "global")
|
|
389
|
+
return instincts
|
|
390
|
+
return load_all_instincts(project, include_global=False)
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
# ─────────────────────────────────────────────
|
|
394
|
+
# Status Command
|
|
395
|
+
# ─────────────────────────────────────────────
|
|
396
|
+
|
|
397
|
+
def cmd_status(args) -> int:
|
|
398
|
+
"""Show status of all instincts (project + global)."""
|
|
399
|
+
project = detect_project()
|
|
400
|
+
instincts = load_all_instincts(project)
|
|
401
|
+
|
|
402
|
+
if not instincts:
|
|
403
|
+
print("No instincts found.")
|
|
404
|
+
print(f"\nProject: {project['name']} ({project['id']})")
|
|
405
|
+
print(f" Project instincts: {project['instincts_personal']}")
|
|
406
|
+
print(f" Global instincts: {GLOBAL_PERSONAL_DIR}")
|
|
407
|
+
else:
|
|
408
|
+
# Split by scope
|
|
409
|
+
project_instincts = [i for i in instincts if i.get('_scope_label') == 'project']
|
|
410
|
+
global_instincts = [i for i in instincts if i.get('_scope_label') == 'global']
|
|
411
|
+
|
|
412
|
+
# Print header
|
|
413
|
+
print(f"\n{'='*60}")
|
|
414
|
+
print(f" INSTINCT STATUS - {len(instincts)} total")
|
|
415
|
+
print(f"{'='*60}\n")
|
|
416
|
+
|
|
417
|
+
print(f" Project: {project['name']} ({project['id']})")
|
|
418
|
+
print(f" Project instincts: {len(project_instincts)}")
|
|
419
|
+
print(f" Global instincts: {len(global_instincts)}")
|
|
420
|
+
print()
|
|
421
|
+
|
|
422
|
+
# Print project-scoped instincts
|
|
423
|
+
if project_instincts:
|
|
424
|
+
print(f"## PROJECT-SCOPED ({project['name']})")
|
|
425
|
+
print()
|
|
426
|
+
_print_instincts_by_domain(project_instincts)
|
|
427
|
+
|
|
428
|
+
# Print global instincts
|
|
429
|
+
if global_instincts:
|
|
430
|
+
print("## GLOBAL (apply to all projects)")
|
|
431
|
+
print()
|
|
432
|
+
_print_instincts_by_domain(global_instincts)
|
|
433
|
+
|
|
434
|
+
# Observations stats
|
|
435
|
+
obs_file = project.get("observations_file")
|
|
436
|
+
if obs_file and Path(obs_file).exists():
|
|
437
|
+
with open(obs_file, encoding="utf-8") as f:
|
|
438
|
+
obs_count = sum(1 for _ in f)
|
|
439
|
+
print(f"-" * 60)
|
|
440
|
+
print(f" Observations: {obs_count} events logged")
|
|
441
|
+
print(f" File: {obs_file}")
|
|
442
|
+
|
|
443
|
+
# Pending instinct stats
|
|
444
|
+
pending = _collect_pending_instincts()
|
|
445
|
+
if pending:
|
|
446
|
+
print(f"\n{'-'*60}")
|
|
447
|
+
print(f" Pending instincts: {len(pending)} awaiting review")
|
|
448
|
+
|
|
449
|
+
if len(pending) >= 5:
|
|
450
|
+
print(f"\n \u26a0 {len(pending)} pending instincts awaiting review."
|
|
451
|
+
f" Unreviewed instincts auto-delete after {PENDING_TTL_DAYS} days.")
|
|
452
|
+
|
|
453
|
+
# Show instincts expiring within PENDING_EXPIRY_WARNING_DAYS
|
|
454
|
+
expiry_threshold = PENDING_TTL_DAYS - PENDING_EXPIRY_WARNING_DAYS
|
|
455
|
+
expiring_soon = [p for p in pending
|
|
456
|
+
if p["age_days"] >= expiry_threshold and p["age_days"] < PENDING_TTL_DAYS]
|
|
457
|
+
if expiring_soon:
|
|
458
|
+
print(f"\n Expiring within {PENDING_EXPIRY_WARNING_DAYS} days:")
|
|
459
|
+
for item in expiring_soon:
|
|
460
|
+
days_left = max(0, PENDING_TTL_DAYS - item["age_days"])
|
|
461
|
+
print(f" - {item['name']} ({days_left}d remaining)")
|
|
462
|
+
|
|
463
|
+
print(f"\n{'='*60}\n")
|
|
464
|
+
return 0
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
def _print_instincts_by_domain(instincts: list[dict]) -> None:
|
|
468
|
+
"""Helper to print instincts grouped by domain."""
|
|
469
|
+
by_domain = defaultdict(list)
|
|
470
|
+
for inst in instincts:
|
|
471
|
+
domain = inst.get('domain', 'general')
|
|
472
|
+
by_domain[domain].append(inst)
|
|
473
|
+
|
|
474
|
+
for domain in sorted(by_domain.keys()):
|
|
475
|
+
domain_instincts = by_domain[domain]
|
|
476
|
+
print(f" ### {domain.upper()} ({len(domain_instincts)})")
|
|
477
|
+
print()
|
|
478
|
+
|
|
479
|
+
for inst in sorted(domain_instincts, key=lambda x: -x.get('confidence', 0.5)):
|
|
480
|
+
conf = inst.get('confidence', 0.5)
|
|
481
|
+
conf_bar = '\u2588' * int(conf * 10) + '\u2591' * (10 - int(conf * 10))
|
|
482
|
+
trigger = inst.get('trigger', 'unknown trigger')
|
|
483
|
+
scope_tag = f"[{inst.get('scope', '?')}]"
|
|
484
|
+
|
|
485
|
+
print(f" {conf_bar} {int(conf*100):3d}% {inst.get('id', 'unnamed')} {scope_tag}")
|
|
486
|
+
print(f" trigger: {trigger}")
|
|
487
|
+
|
|
488
|
+
# Extract action from content
|
|
489
|
+
content = inst.get('content', '')
|
|
490
|
+
action_match = re.search(r'## Action\s*\n\s*(.+?)(?:\n\n|\n##|$)', content, re.DOTALL)
|
|
491
|
+
if action_match:
|
|
492
|
+
action = action_match.group(1).strip().split('\n')[0]
|
|
493
|
+
print(f" action: {action[:60]}{'...' if len(action) > 60 else ''}")
|
|
494
|
+
|
|
495
|
+
print()
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
# ─────────────────────────────────────────────
|
|
499
|
+
# Import Command
|
|
500
|
+
# ─────────────────────────────────────────────
|
|
501
|
+
|
|
502
|
+
def cmd_import(args) -> int:
|
|
503
|
+
"""Import instincts from file or URL."""
|
|
504
|
+
project = detect_project()
|
|
505
|
+
source = args.source
|
|
506
|
+
|
|
507
|
+
# Determine target scope
|
|
508
|
+
target_scope = args.scope or "project"
|
|
509
|
+
if target_scope == "project" and project["id"] == "global":
|
|
510
|
+
print("No project detected. Importing as global scope.")
|
|
511
|
+
target_scope = "global"
|
|
512
|
+
|
|
513
|
+
# Fetch content
|
|
514
|
+
if source.startswith('http://') or source.startswith('https://'):
|
|
515
|
+
print(f"Fetching from URL: {source}")
|
|
516
|
+
try:
|
|
517
|
+
with urllib.request.urlopen(source) as response:
|
|
518
|
+
content = response.read().decode('utf-8')
|
|
519
|
+
except Exception as e:
|
|
520
|
+
print(f"Error fetching URL: {e}", file=sys.stderr)
|
|
521
|
+
return 1
|
|
522
|
+
else:
|
|
523
|
+
try:
|
|
524
|
+
path = _validate_file_path(source, must_exist=True)
|
|
525
|
+
except ValueError as e:
|
|
526
|
+
print(f"Invalid path: {e}", file=sys.stderr)
|
|
527
|
+
return 1
|
|
528
|
+
if not path.is_file():
|
|
529
|
+
print(f"Error: '{path}' is not a regular file.", file=sys.stderr)
|
|
530
|
+
return 1
|
|
531
|
+
content = path.read_text(encoding="utf-8")
|
|
532
|
+
|
|
533
|
+
# Parse instincts
|
|
534
|
+
new_instincts = parse_instinct_file(content)
|
|
535
|
+
if not new_instincts:
|
|
536
|
+
print("No valid instincts found in source.")
|
|
537
|
+
return 1
|
|
538
|
+
|
|
539
|
+
print(f"\nFound {len(new_instincts)} instincts to import.")
|
|
540
|
+
print(f"Target scope: {target_scope}")
|
|
541
|
+
if target_scope == "project":
|
|
542
|
+
print(f"Target project: {project['name']} ({project['id']})")
|
|
543
|
+
print()
|
|
544
|
+
|
|
545
|
+
# Load existing instincts for dedup, scoped to the target to avoid
|
|
546
|
+
# cross-scope shadowing (project instincts hiding global ones or vice versa)
|
|
547
|
+
if target_scope == "global":
|
|
548
|
+
existing = _load_instincts_from_dir(GLOBAL_PERSONAL_DIR, "personal", "global")
|
|
549
|
+
existing += _load_instincts_from_dir(GLOBAL_INHERITED_DIR, "inherited", "global")
|
|
550
|
+
else:
|
|
551
|
+
existing = load_project_only_instincts(project)
|
|
552
|
+
existing_ids = {i.get('id') for i in existing}
|
|
553
|
+
|
|
554
|
+
# Deduplicate within the import source: keep highest confidence per ID
|
|
555
|
+
best_by_id = {}
|
|
556
|
+
for inst in new_instincts:
|
|
557
|
+
inst_id = inst.get('id')
|
|
558
|
+
if inst_id not in best_by_id or inst.get('confidence', 0.5) > best_by_id[inst_id].get('confidence', 0.5):
|
|
559
|
+
best_by_id[inst_id] = inst
|
|
560
|
+
deduped_instincts = list(best_by_id.values())
|
|
561
|
+
|
|
562
|
+
# Categorize against existing instincts on disk
|
|
563
|
+
to_add = []
|
|
564
|
+
duplicates = []
|
|
565
|
+
to_update = []
|
|
566
|
+
|
|
567
|
+
for inst in deduped_instincts:
|
|
568
|
+
inst_id = inst.get('id')
|
|
569
|
+
if inst_id in existing_ids:
|
|
570
|
+
existing_inst = next((e for e in existing if e.get('id') == inst_id), None)
|
|
571
|
+
if existing_inst:
|
|
572
|
+
if inst.get('confidence', 0) > existing_inst.get('confidence', 0):
|
|
573
|
+
to_update.append(inst)
|
|
574
|
+
else:
|
|
575
|
+
duplicates.append(inst)
|
|
576
|
+
else:
|
|
577
|
+
to_add.append(inst)
|
|
578
|
+
|
|
579
|
+
# Filter by minimum confidence
|
|
580
|
+
min_conf = args.min_confidence if args.min_confidence is not None else 0.0
|
|
581
|
+
to_add = [i for i in to_add if i.get('confidence', 0.5) >= min_conf]
|
|
582
|
+
to_update = [i for i in to_update if i.get('confidence', 0.5) >= min_conf]
|
|
583
|
+
|
|
584
|
+
# Display summary
|
|
585
|
+
if to_add:
|
|
586
|
+
print(f"NEW ({len(to_add)}):")
|
|
587
|
+
for inst in to_add:
|
|
588
|
+
print(f" + {inst.get('id')} (confidence: {inst.get('confidence', 0.5):.2f})")
|
|
589
|
+
|
|
590
|
+
if to_update:
|
|
591
|
+
print(f"\nUPDATE ({len(to_update)}):")
|
|
592
|
+
for inst in to_update:
|
|
593
|
+
print(f" ~ {inst.get('id')} (confidence: {inst.get('confidence', 0.5):.2f})")
|
|
594
|
+
|
|
595
|
+
if duplicates:
|
|
596
|
+
print(f"\nSKIP ({len(duplicates)} - already exists with equal/higher confidence):")
|
|
597
|
+
for inst in duplicates[:5]:
|
|
598
|
+
print(f" - {inst.get('id')}")
|
|
599
|
+
if len(duplicates) > 5:
|
|
600
|
+
print(f" ... and {len(duplicates) - 5} more")
|
|
601
|
+
|
|
602
|
+
if args.dry_run:
|
|
603
|
+
print("\n[DRY RUN] No changes made.")
|
|
604
|
+
return 0
|
|
605
|
+
|
|
606
|
+
if not to_add and not to_update:
|
|
607
|
+
print("\nNothing to import.")
|
|
608
|
+
return 0
|
|
609
|
+
|
|
610
|
+
# Confirm
|
|
611
|
+
if not args.force:
|
|
612
|
+
response = input(f"\nImport {len(to_add)} new, update {len(to_update)}? [y/N] ")
|
|
613
|
+
if response.lower() != 'y':
|
|
614
|
+
print("Cancelled.")
|
|
615
|
+
return 0
|
|
616
|
+
|
|
617
|
+
# Determine output directory based on scope
|
|
618
|
+
if target_scope == "global":
|
|
619
|
+
output_dir = GLOBAL_INHERITED_DIR
|
|
620
|
+
else:
|
|
621
|
+
output_dir = project["instincts_inherited"]
|
|
622
|
+
|
|
623
|
+
output_dir.mkdir(parents=True, exist_ok=True)
|
|
624
|
+
|
|
625
|
+
# Collect stale files for instincts being updated (deleted after new file is written).
|
|
626
|
+
# Allow deletion from any subdirectory (personal/ or inherited/) within the
|
|
627
|
+
# target scope to prevent the same ID existing in both places. Guard against
|
|
628
|
+
# cross-scope deletion by restricting to the scope's instincts root.
|
|
629
|
+
if target_scope == "global":
|
|
630
|
+
scope_root = GLOBAL_INSTINCTS_DIR.resolve()
|
|
631
|
+
else:
|
|
632
|
+
scope_root = (project["project_dir"] / "instincts").resolve() if project["id"] != "global" else GLOBAL_INSTINCTS_DIR.resolve()
|
|
633
|
+
stale_paths = []
|
|
634
|
+
for inst in to_update:
|
|
635
|
+
inst_id = inst.get('id')
|
|
636
|
+
stale = next((e for e in existing if e.get('id') == inst_id), None)
|
|
637
|
+
if stale and stale.get('_source_file'):
|
|
638
|
+
stale_path = Path(stale['_source_file']).resolve()
|
|
639
|
+
if stale_path.exists() and str(stale_path).startswith(str(scope_root) + os.sep):
|
|
640
|
+
stale_paths.append(stale_path)
|
|
641
|
+
|
|
642
|
+
# Write new file first (safe: if this fails, stale files are preserved)
|
|
643
|
+
timestamp = datetime.now().strftime('%Y%m%d-%H%M%S')
|
|
644
|
+
source_name = Path(source).stem if not source.startswith('http') else 'web-import'
|
|
645
|
+
output_file = output_dir / f"{source_name}-{timestamp}.yaml"
|
|
646
|
+
|
|
647
|
+
all_to_write = to_add + to_update
|
|
648
|
+
output_content = f"# Imported from {source}\n# Date: {datetime.now().isoformat()}\n# Scope: {target_scope}\n"
|
|
649
|
+
if target_scope == "project":
|
|
650
|
+
output_content += f"# Project: {project['name']} ({project['id']})\n"
|
|
651
|
+
output_content += "\n"
|
|
652
|
+
|
|
653
|
+
for inst in all_to_write:
|
|
654
|
+
output_content += "---\n"
|
|
655
|
+
output_content += f"id: {inst.get('id')}\n"
|
|
656
|
+
output_content += f"trigger: {_yaml_quote(inst.get('trigger', 'unknown'))}\n"
|
|
657
|
+
output_content += f"confidence: {inst.get('confidence', 0.5)}\n"
|
|
658
|
+
output_content += f"domain: {inst.get('domain', 'general')}\n"
|
|
659
|
+
output_content += "source: inherited\n"
|
|
660
|
+
output_content += f"scope: {target_scope}\n"
|
|
661
|
+
output_content += f"imported_from: {_yaml_quote(source)}\n"
|
|
662
|
+
if target_scope == "project":
|
|
663
|
+
output_content += f"project_id: {project['id']}\n"
|
|
664
|
+
output_content += f"project_name: {project['name']}\n"
|
|
665
|
+
if inst.get('source_repo'):
|
|
666
|
+
output_content += f"source_repo: {inst.get('source_repo')}\n"
|
|
667
|
+
output_content += "---\n\n"
|
|
668
|
+
output_content += inst.get('content', '') + "\n\n"
|
|
669
|
+
|
|
670
|
+
output_file.write_text(output_content, encoding="utf-8")
|
|
671
|
+
|
|
672
|
+
# Remove stale files only after the new file has been written successfully
|
|
673
|
+
for stale_path in stale_paths:
|
|
674
|
+
try:
|
|
675
|
+
stale_path.unlink()
|
|
676
|
+
except OSError:
|
|
677
|
+
pass # best-effort removal
|
|
678
|
+
|
|
679
|
+
print(f"\nImport complete!")
|
|
680
|
+
print(f" Scope: {target_scope}")
|
|
681
|
+
print(f" Added: {len(to_add)}")
|
|
682
|
+
print(f" Updated: {len(to_update)}")
|
|
683
|
+
print(f" Saved to: {output_file}")
|
|
684
|
+
|
|
685
|
+
return 0
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
# ─────────────────────────────────────────────
|
|
689
|
+
# Export Command
|
|
690
|
+
# ─────────────────────────────────────────────
|
|
691
|
+
|
|
692
|
+
def cmd_export(args) -> int:
|
|
693
|
+
"""Export instincts to file."""
|
|
694
|
+
project = detect_project()
|
|
695
|
+
|
|
696
|
+
# Determine what to export based on scope filter
|
|
697
|
+
if args.scope == "project":
|
|
698
|
+
instincts = load_project_only_instincts(project)
|
|
699
|
+
elif args.scope == "global":
|
|
700
|
+
instincts = _load_instincts_from_dir(GLOBAL_PERSONAL_DIR, "personal", "global")
|
|
701
|
+
instincts += _load_instincts_from_dir(GLOBAL_INHERITED_DIR, "inherited", "global")
|
|
702
|
+
else:
|
|
703
|
+
instincts = load_all_instincts(project)
|
|
704
|
+
|
|
705
|
+
if not instincts:
|
|
706
|
+
print("No instincts to export.")
|
|
707
|
+
return 1
|
|
708
|
+
|
|
709
|
+
# Filter by domain if specified
|
|
710
|
+
if args.domain:
|
|
711
|
+
instincts = [i for i in instincts if i.get('domain') == args.domain]
|
|
712
|
+
|
|
713
|
+
# Filter by minimum confidence
|
|
714
|
+
if args.min_confidence:
|
|
715
|
+
instincts = [i for i in instincts if i.get('confidence', 0.5) >= args.min_confidence]
|
|
716
|
+
|
|
717
|
+
if not instincts:
|
|
718
|
+
print("No instincts match the criteria.")
|
|
719
|
+
return 1
|
|
720
|
+
|
|
721
|
+
# Generate output
|
|
722
|
+
output = f"# Instincts export\n# Date: {datetime.now().isoformat()}\n# Total: {len(instincts)}\n"
|
|
723
|
+
if args.scope:
|
|
724
|
+
output += f"# Scope: {args.scope}\n"
|
|
725
|
+
if project["id"] != "global":
|
|
726
|
+
output += f"# Project: {project['name']} ({project['id']})\n"
|
|
727
|
+
output += "\n"
|
|
728
|
+
|
|
729
|
+
for inst in instincts:
|
|
730
|
+
output += "---\n"
|
|
731
|
+
for key in ['id', 'trigger', 'confidence', 'domain', 'source', 'scope',
|
|
732
|
+
'project_id', 'project_name', 'source_repo']:
|
|
733
|
+
if inst.get(key):
|
|
734
|
+
value = inst[key]
|
|
735
|
+
if key == 'trigger':
|
|
736
|
+
output += f'{key}: {_yaml_quote(value)}\n'
|
|
737
|
+
else:
|
|
738
|
+
output += f"{key}: {value}\n"
|
|
739
|
+
output += "---\n\n"
|
|
740
|
+
output += inst.get('content', '') + "\n\n"
|
|
741
|
+
|
|
742
|
+
# Write to file or stdout
|
|
743
|
+
if args.output:
|
|
744
|
+
try:
|
|
745
|
+
out_path = _validate_file_path(args.output)
|
|
746
|
+
except ValueError as e:
|
|
747
|
+
print(f"Invalid output path: {e}", file=sys.stderr)
|
|
748
|
+
return 1
|
|
749
|
+
if out_path.is_dir():
|
|
750
|
+
print(f"Error: '{out_path}' is a directory, not a file.", file=sys.stderr)
|
|
751
|
+
return 1
|
|
752
|
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
|
753
|
+
out_path.write_text(output, encoding="utf-8")
|
|
754
|
+
print(f"Exported {len(instincts)} instincts to {out_path}")
|
|
755
|
+
else:
|
|
756
|
+
print(output)
|
|
757
|
+
|
|
758
|
+
return 0
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
# ─────────────────────────────────────────────
|
|
762
|
+
# Evolve Command
|
|
763
|
+
# ─────────────────────────────────────────────
|
|
764
|
+
|
|
765
|
+
def _load_genes_as_instincts() -> list[dict]:
|
|
766
|
+
"""Load promoted genes from evolution store and convert to instinct-compatible dicts."""
|
|
767
|
+
genes_path = Path.home() / ".claude" / "evolution" / "genes.json"
|
|
768
|
+
if not genes_path.exists():
|
|
769
|
+
return []
|
|
770
|
+
try:
|
|
771
|
+
genes = json.loads(genes_path.read_text("utf-8"))
|
|
772
|
+
except (json.JSONDecodeError, OSError):
|
|
773
|
+
return []
|
|
774
|
+
results = []
|
|
775
|
+
for gene in genes:
|
|
776
|
+
if gene.get("state") != "promoted":
|
|
777
|
+
continue
|
|
778
|
+
signals = gene.get("signals", [])
|
|
779
|
+
strategy = gene.get("strategy", {})
|
|
780
|
+
trigger = ""
|
|
781
|
+
if signals and signals[0].get("pattern"):
|
|
782
|
+
trigger = signals[0]["pattern"]
|
|
783
|
+
elif isinstance(strategy, dict):
|
|
784
|
+
desc = strategy.get("description", "")
|
|
785
|
+
trigger = desc[:80] if isinstance(desc, str) else str(desc)[:80]
|
|
786
|
+
tags = gene.get("tags", [])
|
|
787
|
+
domain = tags[0] if tags else "general"
|
|
788
|
+
body = ""
|
|
789
|
+
if isinstance(strategy, dict):
|
|
790
|
+
body = strategy.get("description", "")
|
|
791
|
+
if isinstance(body, dict):
|
|
792
|
+
body = body.get("description", str(body))
|
|
793
|
+
results.append({
|
|
794
|
+
"id": gene.get("gene_id", ""),
|
|
795
|
+
"trigger": trigger,
|
|
796
|
+
"confidence": gene.get("confidence", 0.5),
|
|
797
|
+
"domain": domain,
|
|
798
|
+
"source": "evolution",
|
|
799
|
+
"scope": "global",
|
|
800
|
+
"_scope_label": "global",
|
|
801
|
+
"_from_gene": True,
|
|
802
|
+
"body": str(body)[:500],
|
|
803
|
+
})
|
|
804
|
+
return results
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
def cmd_evolve(args) -> int:
|
|
808
|
+
"""Analyze instincts and suggest evolutions to skills/commands/agents."""
|
|
809
|
+
project = detect_project()
|
|
810
|
+
instincts = load_all_instincts(project)
|
|
811
|
+
instinct_count = len(instincts)
|
|
812
|
+
|
|
813
|
+
# Also load promoted genes from evolution store
|
|
814
|
+
gene_instincts = _load_genes_as_instincts()
|
|
815
|
+
# Deduplicate: skip genes whose id already exists in instincts
|
|
816
|
+
existing_ids = {i.get("id") for i in instincts}
|
|
817
|
+
gene_instincts = [g for g in gene_instincts if g.get("id") not in existing_ids]
|
|
818
|
+
gene_count = len(gene_instincts)
|
|
819
|
+
instincts.extend(gene_instincts)
|
|
820
|
+
|
|
821
|
+
if len(instincts) < 3:
|
|
822
|
+
print("Need at least 3 items (instincts + genes) to analyze patterns.")
|
|
823
|
+
print(f"Currently have: {instinct_count} instincts + {gene_count} genes = {len(instincts)} total")
|
|
824
|
+
return 1
|
|
825
|
+
|
|
826
|
+
project_instincts = [i for i in instincts if i.get('_scope_label') == 'project']
|
|
827
|
+
global_instincts = [i for i in instincts if i.get('_scope_label') == 'global']
|
|
828
|
+
|
|
829
|
+
print(f"\n{'='*60}")
|
|
830
|
+
print(f" EVOLVE ANALYSIS - {len(instincts)} items ({instinct_count} instincts + {gene_count} genes)")
|
|
831
|
+
print(f" Project: {project['name']} ({project['id']})")
|
|
832
|
+
print(f" Project-scoped: {len(project_instincts)} | Global: {len(global_instincts)}")
|
|
833
|
+
print(f"{'='*60}\n")
|
|
834
|
+
|
|
835
|
+
# Group by domain
|
|
836
|
+
by_domain = defaultdict(list)
|
|
837
|
+
for inst in instincts:
|
|
838
|
+
domain = inst.get('domain', 'general')
|
|
839
|
+
by_domain[domain].append(inst)
|
|
840
|
+
|
|
841
|
+
# High-confidence instincts by domain (candidates for skills)
|
|
842
|
+
high_conf = [i for i in instincts if i.get('confidence', 0) >= 0.8]
|
|
843
|
+
print(f"High confidence instincts (>=80%): {len(high_conf)}")
|
|
844
|
+
|
|
845
|
+
# Find clusters (instincts with similar triggers)
|
|
846
|
+
trigger_clusters = defaultdict(list)
|
|
847
|
+
for inst in instincts:
|
|
848
|
+
trigger = inst.get('trigger', '')
|
|
849
|
+
# Normalize trigger
|
|
850
|
+
trigger_key = trigger.lower()
|
|
851
|
+
for keyword in ['when', 'creating', 'writing', 'adding', 'implementing', 'testing']:
|
|
852
|
+
trigger_key = trigger_key.replace(keyword, '').strip()
|
|
853
|
+
trigger_clusters[trigger_key].append(inst)
|
|
854
|
+
|
|
855
|
+
# Find clusters with 2+ instincts (good skill candidates)
|
|
856
|
+
skill_candidates = []
|
|
857
|
+
for trigger, cluster in trigger_clusters.items():
|
|
858
|
+
if len(cluster) >= 2:
|
|
859
|
+
avg_conf = sum(i.get('confidence', 0.5) for i in cluster) / len(cluster)
|
|
860
|
+
skill_candidates.append({
|
|
861
|
+
'trigger': trigger,
|
|
862
|
+
'instincts': cluster,
|
|
863
|
+
'avg_confidence': avg_conf,
|
|
864
|
+
'domains': list(set(i.get('domain', 'general') for i in cluster)),
|
|
865
|
+
'scopes': list(set(i.get('scope', 'project') for i in cluster)),
|
|
866
|
+
})
|
|
867
|
+
|
|
868
|
+
# Sort by cluster size and confidence
|
|
869
|
+
skill_candidates.sort(key=lambda x: (-len(x['instincts']), -x['avg_confidence']))
|
|
870
|
+
|
|
871
|
+
print(f"\nPotential skill clusters found: {len(skill_candidates)}")
|
|
872
|
+
|
|
873
|
+
if skill_candidates:
|
|
874
|
+
print(f"\n## SKILL CANDIDATES\n")
|
|
875
|
+
for i, cand in enumerate(skill_candidates[:5], 1):
|
|
876
|
+
scope_info = ', '.join(cand['scopes'])
|
|
877
|
+
print(f"{i}. Cluster: \"{cand['trigger']}\"")
|
|
878
|
+
print(f" Instincts: {len(cand['instincts'])}")
|
|
879
|
+
print(f" Avg confidence: {cand['avg_confidence']:.0%}")
|
|
880
|
+
print(f" Domains: {', '.join(cand['domains'])}")
|
|
881
|
+
print(f" Scopes: {scope_info}")
|
|
882
|
+
print(f" Instincts:")
|
|
883
|
+
for inst in cand['instincts'][:3]:
|
|
884
|
+
print(f" - {inst.get('id')} [{inst.get('scope', '?')}]")
|
|
885
|
+
print()
|
|
886
|
+
|
|
887
|
+
# Command candidates (workflow instincts with high confidence)
|
|
888
|
+
workflow_instincts = [i for i in instincts if i.get('domain') == 'workflow' and i.get('confidence', 0) >= 0.7]
|
|
889
|
+
if workflow_instincts:
|
|
890
|
+
print(f"\n## COMMAND CANDIDATES ({len(workflow_instincts)})\n")
|
|
891
|
+
for inst in workflow_instincts[:5]:
|
|
892
|
+
trigger = inst.get('trigger', 'unknown')
|
|
893
|
+
cmd_name = trigger.replace('when ', '').replace('implementing ', '').replace('a ', '')
|
|
894
|
+
cmd_name = cmd_name.replace(' ', '-')[:20]
|
|
895
|
+
print(f" /{cmd_name}")
|
|
896
|
+
print(f" From: {inst.get('id')} [{inst.get('scope', '?')}]")
|
|
897
|
+
print(f" Confidence: {inst.get('confidence', 0.5):.0%}")
|
|
898
|
+
print()
|
|
899
|
+
|
|
900
|
+
# Agent candidates (complex multi-step patterns)
|
|
901
|
+
agent_candidates = [c for c in skill_candidates if len(c['instincts']) >= 3 and c['avg_confidence'] >= 0.75]
|
|
902
|
+
if agent_candidates:
|
|
903
|
+
print(f"\n## AGENT CANDIDATES ({len(agent_candidates)})\n")
|
|
904
|
+
for cand in agent_candidates[:3]:
|
|
905
|
+
agent_name = cand['trigger'].replace(' ', '-')[:20] + '-agent'
|
|
906
|
+
print(f" {agent_name}")
|
|
907
|
+
print(f" Covers {len(cand['instincts'])} instincts")
|
|
908
|
+
print(f" Avg confidence: {cand['avg_confidence']:.0%}")
|
|
909
|
+
print()
|
|
910
|
+
|
|
911
|
+
# Promotion candidates (project instincts that could be global)
|
|
912
|
+
_show_promotion_candidates(project)
|
|
913
|
+
|
|
914
|
+
if args.generate:
|
|
915
|
+
evolved_dir = project["evolved_dir"] if project["id"] != "global" else GLOBAL_EVOLVED_DIR
|
|
916
|
+
generated = _generate_evolved(skill_candidates, workflow_instincts, agent_candidates, evolved_dir)
|
|
917
|
+
if generated:
|
|
918
|
+
print(f"\nGenerated {len(generated)} evolved structures:")
|
|
919
|
+
for path in generated:
|
|
920
|
+
print(f" {path}")
|
|
921
|
+
else:
|
|
922
|
+
print("\nNo structures generated (need higher-confidence clusters).")
|
|
923
|
+
|
|
924
|
+
print(f"\n{'='*60}\n")
|
|
925
|
+
return 0
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
# ─────────────────────────────────────────────
|
|
929
|
+
# Promote Command
|
|
930
|
+
# ─────────────────────────────────────────────
|
|
931
|
+
|
|
932
|
+
def _find_cross_project_instincts() -> dict:
|
|
933
|
+
"""Find instincts that appear in multiple projects (promotion candidates).
|
|
934
|
+
|
|
935
|
+
Returns dict mapping instinct ID → list of (project_id, instinct) tuples.
|
|
936
|
+
"""
|
|
937
|
+
registry = load_registry()
|
|
938
|
+
cross_project = defaultdict(list)
|
|
939
|
+
|
|
940
|
+
for pid, pinfo in registry.items():
|
|
941
|
+
project_dir = PROJECTS_DIR / pid
|
|
942
|
+
personal_dir = project_dir / "instincts" / "personal"
|
|
943
|
+
inherited_dir = project_dir / "instincts" / "inherited"
|
|
944
|
+
|
|
945
|
+
# Track instinct IDs already seen for this project to avoid counting
|
|
946
|
+
# the same instinct twice within one project (e.g. in both personal/ and inherited/)
|
|
947
|
+
seen_in_project = set()
|
|
948
|
+
for d, stype in [(personal_dir, "personal"), (inherited_dir, "inherited")]:
|
|
949
|
+
for inst in _load_instincts_from_dir(d, stype, "project"):
|
|
950
|
+
iid = inst.get('id')
|
|
951
|
+
if iid and iid not in seen_in_project:
|
|
952
|
+
seen_in_project.add(iid)
|
|
953
|
+
cross_project[iid].append((pid, pinfo.get('name', pid), inst))
|
|
954
|
+
|
|
955
|
+
# Filter to only those appearing in 2+ unique projects
|
|
956
|
+
return {iid: entries for iid, entries in cross_project.items() if len(entries) >= 2}
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
def _show_promotion_candidates(project: dict) -> None:
|
|
960
|
+
"""Show instincts that could be promoted from project to global."""
|
|
961
|
+
cross = _find_cross_project_instincts()
|
|
962
|
+
|
|
963
|
+
if not cross:
|
|
964
|
+
return
|
|
965
|
+
|
|
966
|
+
# Filter to high-confidence ones not already global
|
|
967
|
+
global_instincts = _load_instincts_from_dir(GLOBAL_PERSONAL_DIR, "personal", "global")
|
|
968
|
+
global_instincts += _load_instincts_from_dir(GLOBAL_INHERITED_DIR, "inherited", "global")
|
|
969
|
+
global_ids = {i.get('id') for i in global_instincts}
|
|
970
|
+
|
|
971
|
+
candidates = []
|
|
972
|
+
for iid, entries in cross.items():
|
|
973
|
+
if iid in global_ids:
|
|
974
|
+
continue
|
|
975
|
+
avg_conf = sum(e[2].get('confidence', 0.5) for e in entries) / len(entries)
|
|
976
|
+
if avg_conf >= PROMOTE_CONFIDENCE_THRESHOLD:
|
|
977
|
+
candidates.append({
|
|
978
|
+
'id': iid,
|
|
979
|
+
'projects': [(pid, pname) for pid, pname, _ in entries],
|
|
980
|
+
'avg_confidence': avg_conf,
|
|
981
|
+
'sample': entries[0][2],
|
|
982
|
+
})
|
|
983
|
+
|
|
984
|
+
if candidates:
|
|
985
|
+
print(f"\n## PROMOTION CANDIDATES (project -> global)\n")
|
|
986
|
+
print(f" These instincts appear in {PROMOTE_MIN_PROJECTS}+ projects with high confidence:\n")
|
|
987
|
+
for cand in candidates[:10]:
|
|
988
|
+
proj_names = ', '.join(pname for _, pname in cand['projects'])
|
|
989
|
+
print(f" * {cand['id']} (avg: {cand['avg_confidence']:.0%})")
|
|
990
|
+
print(f" Found in: {proj_names}")
|
|
991
|
+
print()
|
|
992
|
+
print(f" Run `instinct-cli.py promote` to promote these to global scope.\n")
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
def cmd_promote(args) -> int:
|
|
996
|
+
"""Promote project-scoped instincts to global scope."""
|
|
997
|
+
project = detect_project()
|
|
998
|
+
|
|
999
|
+
if args.instinct_id:
|
|
1000
|
+
# Promote a specific instinct
|
|
1001
|
+
return _promote_specific(project, args.instinct_id, args.force, args.dry_run)
|
|
1002
|
+
else:
|
|
1003
|
+
# Auto-detect promotion candidates
|
|
1004
|
+
return _promote_auto(project, args.force, args.dry_run)
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
def _promote_specific(project: dict, instinct_id: str, force: bool, dry_run: bool = False) -> int:
|
|
1008
|
+
"""Promote a specific instinct by ID from current project to global."""
|
|
1009
|
+
if not _validate_instinct_id(instinct_id):
|
|
1010
|
+
print(f"Invalid instinct ID: '{instinct_id}'.", file=sys.stderr)
|
|
1011
|
+
return 1
|
|
1012
|
+
|
|
1013
|
+
project_instincts = load_project_only_instincts(project)
|
|
1014
|
+
target = next((i for i in project_instincts if i.get('id') == instinct_id), None)
|
|
1015
|
+
|
|
1016
|
+
if not target:
|
|
1017
|
+
print(f"Instinct '{instinct_id}' not found in project {project['name']}.")
|
|
1018
|
+
return 1
|
|
1019
|
+
|
|
1020
|
+
# Check if already global
|
|
1021
|
+
global_instincts = _load_instincts_from_dir(GLOBAL_PERSONAL_DIR, "personal", "global")
|
|
1022
|
+
global_instincts += _load_instincts_from_dir(GLOBAL_INHERITED_DIR, "inherited", "global")
|
|
1023
|
+
if any(i.get('id') == instinct_id for i in global_instincts):
|
|
1024
|
+
print(f"Instinct '{instinct_id}' already exists in global scope.")
|
|
1025
|
+
return 1
|
|
1026
|
+
|
|
1027
|
+
print(f"\nPromoting: {instinct_id}")
|
|
1028
|
+
print(f" From: project '{project['name']}'")
|
|
1029
|
+
print(f" Confidence: {target.get('confidence', 0.5):.0%}")
|
|
1030
|
+
print(f" Domain: {target.get('domain', 'general')}")
|
|
1031
|
+
|
|
1032
|
+
if dry_run:
|
|
1033
|
+
print("\n[DRY RUN] No changes made.")
|
|
1034
|
+
return 0
|
|
1035
|
+
|
|
1036
|
+
if not force:
|
|
1037
|
+
response = input(f"\nPromote to global? [y/N] ")
|
|
1038
|
+
if response.lower() != 'y':
|
|
1039
|
+
print("Cancelled.")
|
|
1040
|
+
return 0
|
|
1041
|
+
|
|
1042
|
+
# Write to global personal directory
|
|
1043
|
+
output_file = GLOBAL_PERSONAL_DIR / f"{instinct_id}.yaml"
|
|
1044
|
+
output_content = "---\n"
|
|
1045
|
+
output_content += f"id: {target.get('id')}\n"
|
|
1046
|
+
output_content += f"trigger: {_yaml_quote(target.get('trigger', 'unknown'))}\n"
|
|
1047
|
+
output_content += f"confidence: {target.get('confidence', 0.5)}\n"
|
|
1048
|
+
output_content += f"domain: {target.get('domain', 'general')}\n"
|
|
1049
|
+
output_content += f"source: {target.get('source', 'promoted')}\n"
|
|
1050
|
+
output_content += f"scope: global\n"
|
|
1051
|
+
output_content += f"promoted_from: {project['id']}\n"
|
|
1052
|
+
output_content += f"promoted_date: {datetime.now(timezone.utc).isoformat().replace('+00:00', 'Z')}\n"
|
|
1053
|
+
output_content += "---\n\n"
|
|
1054
|
+
output_content += target.get('content', '') + "\n"
|
|
1055
|
+
|
|
1056
|
+
output_file.write_text(output_content, encoding="utf-8")
|
|
1057
|
+
print(f"\nPromoted '{instinct_id}' to global scope.")
|
|
1058
|
+
print(f" Saved to: {output_file}")
|
|
1059
|
+
return 0
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
def _promote_auto(project: dict, force: bool, dry_run: bool) -> int:
|
|
1063
|
+
"""Auto-promote instincts found in multiple projects."""
|
|
1064
|
+
cross = _find_cross_project_instincts()
|
|
1065
|
+
|
|
1066
|
+
global_instincts = _load_instincts_from_dir(GLOBAL_PERSONAL_DIR, "personal", "global")
|
|
1067
|
+
global_instincts += _load_instincts_from_dir(GLOBAL_INHERITED_DIR, "inherited", "global")
|
|
1068
|
+
global_ids = {i.get('id') for i in global_instincts}
|
|
1069
|
+
|
|
1070
|
+
candidates = []
|
|
1071
|
+
for iid, entries in cross.items():
|
|
1072
|
+
if iid in global_ids:
|
|
1073
|
+
continue
|
|
1074
|
+
avg_conf = sum(e[2].get('confidence', 0.5) for e in entries) / len(entries)
|
|
1075
|
+
if avg_conf >= PROMOTE_CONFIDENCE_THRESHOLD and len(entries) >= PROMOTE_MIN_PROJECTS:
|
|
1076
|
+
candidates.append({
|
|
1077
|
+
'id': iid,
|
|
1078
|
+
'entries': entries,
|
|
1079
|
+
'avg_confidence': avg_conf,
|
|
1080
|
+
})
|
|
1081
|
+
|
|
1082
|
+
if not candidates:
|
|
1083
|
+
print("No instincts qualify for auto-promotion.")
|
|
1084
|
+
print(f" Criteria: appears in {PROMOTE_MIN_PROJECTS}+ projects, avg confidence >= {PROMOTE_CONFIDENCE_THRESHOLD:.0%}")
|
|
1085
|
+
return 0
|
|
1086
|
+
|
|
1087
|
+
print(f"\n{'='*60}")
|
|
1088
|
+
print(f" AUTO-PROMOTION CANDIDATES - {len(candidates)} found")
|
|
1089
|
+
print(f"{'='*60}\n")
|
|
1090
|
+
|
|
1091
|
+
for cand in candidates:
|
|
1092
|
+
proj_names = ', '.join(pname for _, pname, _ in cand['entries'])
|
|
1093
|
+
print(f" {cand['id']} (avg: {cand['avg_confidence']:.0%})")
|
|
1094
|
+
print(f" Found in {len(cand['entries'])} projects: {proj_names}")
|
|
1095
|
+
|
|
1096
|
+
if dry_run:
|
|
1097
|
+
print(f"\n[DRY RUN] No changes made.")
|
|
1098
|
+
return 0
|
|
1099
|
+
|
|
1100
|
+
if not force:
|
|
1101
|
+
response = input(f"\nPromote {len(candidates)} instincts to global? [y/N] ")
|
|
1102
|
+
if response.lower() != 'y':
|
|
1103
|
+
print("Cancelled.")
|
|
1104
|
+
return 0
|
|
1105
|
+
|
|
1106
|
+
promoted = 0
|
|
1107
|
+
for cand in candidates:
|
|
1108
|
+
if not _validate_instinct_id(cand['id']):
|
|
1109
|
+
print(f"Skipping invalid instinct ID during promotion: {cand['id']}", file=sys.stderr)
|
|
1110
|
+
continue
|
|
1111
|
+
|
|
1112
|
+
# Use the highest-confidence version
|
|
1113
|
+
best_entry = max(cand['entries'], key=lambda e: e[2].get('confidence', 0.5))
|
|
1114
|
+
inst = best_entry[2]
|
|
1115
|
+
|
|
1116
|
+
output_file = GLOBAL_PERSONAL_DIR / f"{cand['id']}.yaml"
|
|
1117
|
+
output_content = "---\n"
|
|
1118
|
+
output_content += f"id: {inst.get('id')}\n"
|
|
1119
|
+
output_content += f"trigger: {_yaml_quote(inst.get('trigger', 'unknown'))}\n"
|
|
1120
|
+
output_content += f"confidence: {cand['avg_confidence']}\n"
|
|
1121
|
+
output_content += f"domain: {inst.get('domain', 'general')}\n"
|
|
1122
|
+
output_content += f"source: auto-promoted\n"
|
|
1123
|
+
output_content += f"scope: global\n"
|
|
1124
|
+
output_content += f"promoted_date: {datetime.now(timezone.utc).isoformat().replace('+00:00', 'Z')}\n"
|
|
1125
|
+
output_content += f"seen_in_projects: {len(cand['entries'])}\n"
|
|
1126
|
+
output_content += "---\n\n"
|
|
1127
|
+
output_content += inst.get('content', '') + "\n"
|
|
1128
|
+
|
|
1129
|
+
output_file.write_text(output_content, encoding="utf-8")
|
|
1130
|
+
promoted += 1
|
|
1131
|
+
|
|
1132
|
+
print(f"\nPromoted {promoted} instincts to global scope.")
|
|
1133
|
+
return 0
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
# ─────────────────────────────────────────────
|
|
1137
|
+
# Projects Command
|
|
1138
|
+
# ─────────────────────────────────────────────
|
|
1139
|
+
|
|
1140
|
+
def cmd_projects(args) -> int:
|
|
1141
|
+
"""List all known projects and their instinct counts."""
|
|
1142
|
+
registry = load_registry()
|
|
1143
|
+
|
|
1144
|
+
if not registry:
|
|
1145
|
+
print("No projects registered yet.")
|
|
1146
|
+
print("Projects are auto-detected when you use Claude Code in a git repo.")
|
|
1147
|
+
return 0
|
|
1148
|
+
|
|
1149
|
+
print(f"\n{'='*60}")
|
|
1150
|
+
print(f" KNOWN PROJECTS - {len(registry)} total")
|
|
1151
|
+
print(f"{'='*60}\n")
|
|
1152
|
+
|
|
1153
|
+
for pid, pinfo in sorted(registry.items(), key=lambda x: x[1].get('last_seen', ''), reverse=True):
|
|
1154
|
+
project_dir = PROJECTS_DIR / pid
|
|
1155
|
+
personal_dir = project_dir / "instincts" / "personal"
|
|
1156
|
+
inherited_dir = project_dir / "instincts" / "inherited"
|
|
1157
|
+
|
|
1158
|
+
personal_count = len(_load_instincts_from_dir(personal_dir, "personal", "project"))
|
|
1159
|
+
inherited_count = len(_load_instincts_from_dir(inherited_dir, "inherited", "project"))
|
|
1160
|
+
obs_file = project_dir / "observations.jsonl"
|
|
1161
|
+
if obs_file.exists():
|
|
1162
|
+
with open(obs_file, encoding="utf-8") as f:
|
|
1163
|
+
obs_count = sum(1 for _ in f)
|
|
1164
|
+
else:
|
|
1165
|
+
obs_count = 0
|
|
1166
|
+
|
|
1167
|
+
print(f" {pinfo.get('name', pid)} [{pid}]")
|
|
1168
|
+
print(f" Root: {pinfo.get('root', 'unknown')}")
|
|
1169
|
+
if pinfo.get('remote'):
|
|
1170
|
+
print(f" Remote: {pinfo['remote']}")
|
|
1171
|
+
print(f" Instincts: {personal_count} personal, {inherited_count} inherited")
|
|
1172
|
+
print(f" Observations: {obs_count} events")
|
|
1173
|
+
print(f" Last seen: {pinfo.get('last_seen', 'unknown')}")
|
|
1174
|
+
print()
|
|
1175
|
+
|
|
1176
|
+
# Global stats
|
|
1177
|
+
global_personal = len(_load_instincts_from_dir(GLOBAL_PERSONAL_DIR, "personal", "global"))
|
|
1178
|
+
global_inherited = len(_load_instincts_from_dir(GLOBAL_INHERITED_DIR, "inherited", "global"))
|
|
1179
|
+
print(f" GLOBAL")
|
|
1180
|
+
print(f" Instincts: {global_personal} personal, {global_inherited} inherited")
|
|
1181
|
+
|
|
1182
|
+
print(f"\n{'='*60}\n")
|
|
1183
|
+
return 0
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
# ─────────────────────────────────────────────
|
|
1187
|
+
# Generate Evolved Structures
|
|
1188
|
+
# ─────────────────────────────────────────────
|
|
1189
|
+
|
|
1190
|
+
def _generate_evolved(skill_candidates: list, workflow_instincts: list, agent_candidates: list, evolved_dir: Path) -> list[str]:
|
|
1191
|
+
"""Generate skill/command/agent files from analyzed instinct clusters."""
|
|
1192
|
+
generated = []
|
|
1193
|
+
|
|
1194
|
+
# Generate skills from top candidates
|
|
1195
|
+
for cand in skill_candidates[:5]:
|
|
1196
|
+
trigger = cand['trigger'].strip()
|
|
1197
|
+
if not trigger:
|
|
1198
|
+
continue
|
|
1199
|
+
name = re.sub(r'[^a-z0-9]+', '-', trigger.lower()).strip('-')[:30]
|
|
1200
|
+
if not name:
|
|
1201
|
+
continue
|
|
1202
|
+
|
|
1203
|
+
skill_dir = evolved_dir / "skills" / name
|
|
1204
|
+
skill_dir.mkdir(parents=True, exist_ok=True)
|
|
1205
|
+
|
|
1206
|
+
content = f"# {name}\n\n"
|
|
1207
|
+
content += f"Evolved from {len(cand['instincts'])} instincts "
|
|
1208
|
+
content += f"(avg confidence: {cand['avg_confidence']:.0%})\n\n"
|
|
1209
|
+
content += f"## When to Apply\n\n"
|
|
1210
|
+
content += f"Trigger: {trigger}\n\n"
|
|
1211
|
+
content += f"## Actions\n\n"
|
|
1212
|
+
for inst in cand['instincts']:
|
|
1213
|
+
inst_content = inst.get('content', '')
|
|
1214
|
+
action_match = re.search(r'## Action\s*\n\s*(.+?)(?:\n\n|\n##|$)', inst_content, re.DOTALL)
|
|
1215
|
+
action = action_match.group(1).strip() if action_match else inst.get('id', 'unnamed')
|
|
1216
|
+
content += f"- {action}\n"
|
|
1217
|
+
|
|
1218
|
+
(skill_dir / "SKILL.md").write_text(content, encoding="utf-8")
|
|
1219
|
+
generated.append(str(skill_dir / "SKILL.md"))
|
|
1220
|
+
|
|
1221
|
+
# Generate commands from workflow instincts
|
|
1222
|
+
for inst in workflow_instincts[:5]:
|
|
1223
|
+
trigger = inst.get('trigger', 'unknown')
|
|
1224
|
+
cmd_name = re.sub(r'[^a-z0-9]+', '-', trigger.lower().replace('when ', '').replace('implementing ', ''))
|
|
1225
|
+
cmd_name = cmd_name.strip('-')[:20]
|
|
1226
|
+
if not cmd_name:
|
|
1227
|
+
continue
|
|
1228
|
+
|
|
1229
|
+
cmd_file = evolved_dir / "commands" / f"{cmd_name}.md"
|
|
1230
|
+
content = f"# {cmd_name}\n\n"
|
|
1231
|
+
content += f"Evolved from instinct: {inst.get('id', 'unnamed')}\n"
|
|
1232
|
+
content += f"Confidence: {inst.get('confidence', 0.5):.0%}\n\n"
|
|
1233
|
+
content += inst.get('content', '')
|
|
1234
|
+
|
|
1235
|
+
cmd_file.write_text(content, encoding="utf-8")
|
|
1236
|
+
generated.append(str(cmd_file))
|
|
1237
|
+
|
|
1238
|
+
# Generate agents from complex clusters
|
|
1239
|
+
for cand in agent_candidates[:3]:
|
|
1240
|
+
trigger = cand['trigger'].strip()
|
|
1241
|
+
agent_name = re.sub(r'[^a-z0-9]+', '-', trigger.lower()).strip('-')[:20]
|
|
1242
|
+
if not agent_name:
|
|
1243
|
+
continue
|
|
1244
|
+
|
|
1245
|
+
agent_file = evolved_dir / "agents" / f"{agent_name}.md"
|
|
1246
|
+
domains = ', '.join(cand['domains'])
|
|
1247
|
+
instinct_ids = [i.get('id', 'unnamed') for i in cand['instincts']]
|
|
1248
|
+
|
|
1249
|
+
content = f"---\nmodel: sonnet\ntools: Read, Grep, Glob\n---\n"
|
|
1250
|
+
content += f"# {agent_name}\n\n"
|
|
1251
|
+
content += f"Evolved from {len(cand['instincts'])} instincts "
|
|
1252
|
+
content += f"(avg confidence: {cand['avg_confidence']:.0%})\n"
|
|
1253
|
+
content += f"Domains: {domains}\n\n"
|
|
1254
|
+
content += f"## Source Instincts\n\n"
|
|
1255
|
+
for iid in instinct_ids:
|
|
1256
|
+
content += f"- {iid}\n"
|
|
1257
|
+
|
|
1258
|
+
agent_file.write_text(content, encoding="utf-8")
|
|
1259
|
+
generated.append(str(agent_file))
|
|
1260
|
+
|
|
1261
|
+
return generated
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
# ─────────────────────────────────────────────
|
|
1265
|
+
# Pending Instinct Helpers
|
|
1266
|
+
# ─────────────────────────────────────────────
|
|
1267
|
+
|
|
1268
|
+
def _collect_pending_dirs() -> list[Path]:
|
|
1269
|
+
"""Return all pending instinct directories (global + per-project)."""
|
|
1270
|
+
dirs = []
|
|
1271
|
+
global_pending = GLOBAL_INSTINCTS_DIR / "pending"
|
|
1272
|
+
if global_pending.is_dir():
|
|
1273
|
+
dirs.append(global_pending)
|
|
1274
|
+
if PROJECTS_DIR.is_dir():
|
|
1275
|
+
for project_dir in sorted(PROJECTS_DIR.iterdir()):
|
|
1276
|
+
if project_dir.is_dir():
|
|
1277
|
+
pending = project_dir / "instincts" / "pending"
|
|
1278
|
+
if pending.is_dir():
|
|
1279
|
+
dirs.append(pending)
|
|
1280
|
+
return dirs
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
def _parse_created_date(file_path: Path) -> Optional[datetime]:
|
|
1284
|
+
"""Parse the 'created' date from YAML frontmatter of an instinct file.
|
|
1285
|
+
|
|
1286
|
+
Falls back to file mtime if no 'created' field is found.
|
|
1287
|
+
"""
|
|
1288
|
+
try:
|
|
1289
|
+
content = file_path.read_text(encoding="utf-8")
|
|
1290
|
+
except (OSError, UnicodeDecodeError):
|
|
1291
|
+
return None
|
|
1292
|
+
|
|
1293
|
+
in_frontmatter = False
|
|
1294
|
+
for line in content.split('\n'):
|
|
1295
|
+
stripped = line.strip()
|
|
1296
|
+
if stripped == '---':
|
|
1297
|
+
if in_frontmatter:
|
|
1298
|
+
break # end of frontmatter without finding created
|
|
1299
|
+
in_frontmatter = True
|
|
1300
|
+
continue
|
|
1301
|
+
if in_frontmatter and ':' in line:
|
|
1302
|
+
key, value = line.split(':', 1)
|
|
1303
|
+
if key.strip() == 'created':
|
|
1304
|
+
date_str = value.strip().strip('"').strip("'")
|
|
1305
|
+
for fmt in (
|
|
1306
|
+
"%Y-%m-%dT%H:%M:%S%z",
|
|
1307
|
+
"%Y-%m-%dT%H:%M:%SZ",
|
|
1308
|
+
"%Y-%m-%dT%H:%M:%S",
|
|
1309
|
+
"%Y-%m-%d",
|
|
1310
|
+
):
|
|
1311
|
+
try:
|
|
1312
|
+
dt = datetime.strptime(date_str, fmt)
|
|
1313
|
+
if dt.tzinfo is None:
|
|
1314
|
+
dt = dt.replace(tzinfo=timezone.utc)
|
|
1315
|
+
return dt
|
|
1316
|
+
except ValueError:
|
|
1317
|
+
continue
|
|
1318
|
+
|
|
1319
|
+
# Fallback: file modification time
|
|
1320
|
+
try:
|
|
1321
|
+
mtime = file_path.stat().st_mtime
|
|
1322
|
+
return datetime.fromtimestamp(mtime, tz=timezone.utc)
|
|
1323
|
+
except OSError:
|
|
1324
|
+
return None
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
def _collect_pending_instincts() -> list[dict]:
|
|
1328
|
+
"""Scan all pending directories and return info about each pending instinct.
|
|
1329
|
+
|
|
1330
|
+
Each dict contains: path, created, age_days, name, parent_dir.
|
|
1331
|
+
"""
|
|
1332
|
+
now = datetime.now(timezone.utc)
|
|
1333
|
+
results = []
|
|
1334
|
+
for pending_dir in _collect_pending_dirs():
|
|
1335
|
+
files = [
|
|
1336
|
+
f for f in sorted(pending_dir.iterdir())
|
|
1337
|
+
if f.is_file() and f.suffix.lower() in ALLOWED_INSTINCT_EXTENSIONS
|
|
1338
|
+
]
|
|
1339
|
+
for file_path in files:
|
|
1340
|
+
created = _parse_created_date(file_path)
|
|
1341
|
+
if created is None:
|
|
1342
|
+
print(f"Warning: could not parse age for pending instinct: {file_path.name}", file=sys.stderr)
|
|
1343
|
+
continue
|
|
1344
|
+
age = now - created
|
|
1345
|
+
results.append({
|
|
1346
|
+
"path": file_path,
|
|
1347
|
+
"created": created,
|
|
1348
|
+
"age_days": age.days,
|
|
1349
|
+
"name": file_path.stem,
|
|
1350
|
+
"parent_dir": str(pending_dir),
|
|
1351
|
+
})
|
|
1352
|
+
return results
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
# ─────────────────────────────────────────────
|
|
1356
|
+
# Prune Command
|
|
1357
|
+
# ─────────────────────────────────────────────
|
|
1358
|
+
|
|
1359
|
+
def cmd_prune(args) -> int:
|
|
1360
|
+
"""Delete pending instincts older than the TTL threshold."""
|
|
1361
|
+
max_age = args.max_age
|
|
1362
|
+
dry_run = args.dry_run
|
|
1363
|
+
quiet = args.quiet
|
|
1364
|
+
|
|
1365
|
+
pending = _collect_pending_instincts()
|
|
1366
|
+
|
|
1367
|
+
expired = [p for p in pending if p["age_days"] >= max_age]
|
|
1368
|
+
remaining = [p for p in pending if p["age_days"] < max_age]
|
|
1369
|
+
|
|
1370
|
+
if dry_run:
|
|
1371
|
+
if not quiet:
|
|
1372
|
+
if expired:
|
|
1373
|
+
print(f"\n[DRY RUN] Would prune {len(expired)} pending instinct(s) older than {max_age} days:\n")
|
|
1374
|
+
for item in expired:
|
|
1375
|
+
print(f" - {item['name']} (age: {item['age_days']}d) — {item['path']}")
|
|
1376
|
+
else:
|
|
1377
|
+
print(f"No pending instincts older than {max_age} days.")
|
|
1378
|
+
print(f"\nSummary: {len(expired)} would be pruned, {len(remaining)} remaining")
|
|
1379
|
+
return 0
|
|
1380
|
+
|
|
1381
|
+
pruned = 0
|
|
1382
|
+
pruned_items = []
|
|
1383
|
+
for item in expired:
|
|
1384
|
+
try:
|
|
1385
|
+
item["path"].unlink()
|
|
1386
|
+
pruned += 1
|
|
1387
|
+
pruned_items.append(item)
|
|
1388
|
+
except OSError as e:
|
|
1389
|
+
if not quiet:
|
|
1390
|
+
print(f"Warning: Failed to delete {item['path']}: {e}", file=sys.stderr)
|
|
1391
|
+
|
|
1392
|
+
if not quiet:
|
|
1393
|
+
if pruned > 0:
|
|
1394
|
+
print(f"\nPruned {pruned} pending instinct(s) older than {max_age} days.")
|
|
1395
|
+
for item in pruned_items:
|
|
1396
|
+
print(f" - {item['name']} (age: {item['age_days']}d)")
|
|
1397
|
+
else:
|
|
1398
|
+
print(f"No pending instincts older than {max_age} days.")
|
|
1399
|
+
failed = len(expired) - pruned
|
|
1400
|
+
remaining_total = len(remaining) + failed
|
|
1401
|
+
print(f"\nSummary: {pruned} pruned, {remaining_total} remaining")
|
|
1402
|
+
|
|
1403
|
+
return 0
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
# ─────────────────────────────────────────────
|
|
1407
|
+
# Main
|
|
1408
|
+
# ─────────────────────────────────────────────
|
|
1409
|
+
|
|
1410
|
+
def main() -> int:
|
|
1411
|
+
_ensure_global_dirs()
|
|
1412
|
+
parser = argparse.ArgumentParser(description='Instinct CLI for Continuous Learning v2.1 (Project-Scoped)')
|
|
1413
|
+
subparsers = parser.add_subparsers(dest='command', help='Available commands')
|
|
1414
|
+
|
|
1415
|
+
# Status
|
|
1416
|
+
status_parser = subparsers.add_parser('status', help='Show instinct status (project + global)')
|
|
1417
|
+
|
|
1418
|
+
# Import
|
|
1419
|
+
import_parser = subparsers.add_parser('import', help='Import instincts')
|
|
1420
|
+
import_parser.add_argument('source', help='File path or URL')
|
|
1421
|
+
import_parser.add_argument('--dry-run', action='store_true', help='Preview without importing')
|
|
1422
|
+
import_parser.add_argument('--force', action='store_true', help='Skip confirmation')
|
|
1423
|
+
import_parser.add_argument('--min-confidence', type=float, help='Minimum confidence threshold')
|
|
1424
|
+
import_parser.add_argument('--scope', choices=['project', 'global'], default='project',
|
|
1425
|
+
help='Import scope (default: project)')
|
|
1426
|
+
|
|
1427
|
+
# Export
|
|
1428
|
+
export_parser = subparsers.add_parser('export', help='Export instincts')
|
|
1429
|
+
export_parser.add_argument('--output', '-o', help='Output file')
|
|
1430
|
+
export_parser.add_argument('--domain', help='Filter by domain')
|
|
1431
|
+
export_parser.add_argument('--min-confidence', type=float, help='Minimum confidence')
|
|
1432
|
+
export_parser.add_argument('--scope', choices=['project', 'global', 'all'], default='all',
|
|
1433
|
+
help='Export scope (default: all)')
|
|
1434
|
+
|
|
1435
|
+
# Evolve
|
|
1436
|
+
evolve_parser = subparsers.add_parser('evolve', help='Analyze and evolve instincts')
|
|
1437
|
+
evolve_parser.add_argument('--generate', action='store_true', help='Generate evolved structures')
|
|
1438
|
+
|
|
1439
|
+
# Promote (new in v2.1)
|
|
1440
|
+
promote_parser = subparsers.add_parser('promote', help='Promote project instincts to global scope')
|
|
1441
|
+
promote_parser.add_argument('instinct_id', nargs='?', help='Specific instinct ID to promote')
|
|
1442
|
+
promote_parser.add_argument('--force', action='store_true', help='Skip confirmation')
|
|
1443
|
+
promote_parser.add_argument('--dry-run', action='store_true', help='Preview without promoting')
|
|
1444
|
+
|
|
1445
|
+
# Projects (new in v2.1)
|
|
1446
|
+
projects_parser = subparsers.add_parser('projects', help='List known projects and instinct counts')
|
|
1447
|
+
|
|
1448
|
+
# Prune (pending instinct TTL)
|
|
1449
|
+
prune_parser = subparsers.add_parser('prune', help='Delete pending instincts older than TTL')
|
|
1450
|
+
prune_parser.add_argument('--max-age', type=int, default=PENDING_TTL_DAYS,
|
|
1451
|
+
help=f'Max age in days before pruning (default: {PENDING_TTL_DAYS})')
|
|
1452
|
+
prune_parser.add_argument('--dry-run', action='store_true', help='Preview without deleting')
|
|
1453
|
+
prune_parser.add_argument('--quiet', action='store_true', help='Suppress output (for automated use)')
|
|
1454
|
+
|
|
1455
|
+
args = parser.parse_args()
|
|
1456
|
+
|
|
1457
|
+
if args.command == 'status':
|
|
1458
|
+
return cmd_status(args)
|
|
1459
|
+
elif args.command == 'import':
|
|
1460
|
+
return cmd_import(args)
|
|
1461
|
+
elif args.command == 'export':
|
|
1462
|
+
return cmd_export(args)
|
|
1463
|
+
elif args.command == 'evolve':
|
|
1464
|
+
return cmd_evolve(args)
|
|
1465
|
+
elif args.command == 'promote':
|
|
1466
|
+
return cmd_promote(args)
|
|
1467
|
+
elif args.command == 'projects':
|
|
1468
|
+
return cmd_projects(args)
|
|
1469
|
+
elif args.command == 'prune':
|
|
1470
|
+
return cmd_prune(args)
|
|
1471
|
+
else:
|
|
1472
|
+
parser.print_help()
|
|
1473
|
+
return 1
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
if __name__ == '__main__':
|
|
1477
|
+
sys.exit(main())
|