gkt-node 3.3.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/README.md +89 -0
- package/assets/.agent/brain/agent_index.json +208 -0
- package/assets/.agent/brain/project_context.json +31 -0
- package/assets/.agent/skills/ab-test-setup/SKILL.md +232 -0
- package/assets/.agent/skills/agent-evaluation/SKILL.md +64 -0
- package/assets/.agent/skills/agent-memory-mcp/SKILL.md +82 -0
- package/assets/.agent/skills/agent-memory-systems/SKILL.md +67 -0
- package/assets/.agent/skills/agent-orchestration-multi-agent-optimize/SKILL.md +239 -0
- package/assets/.agent/skills/agent-tool-builder/SKILL.md +53 -0
- package/assets/.agent/skills/ai-agents-architect/SKILL.md +90 -0
- package/assets/.agent/skills/ai-engineer/SKILL.md +171 -0
- package/assets/.agent/skills/ai-product/SKILL.md +54 -0
- package/assets/.agent/skills/ai-wrapper-product/SKILL.md +273 -0
- package/assets/.agent/skills/airflow-dag-patterns/SKILL.md +41 -0
- package/assets/.agent/skills/airflow-dag-patterns/resources/implementation-playbook.md +509 -0
- package/assets/.agent/skills/airtable-automation/SKILL.md +170 -0
- package/assets/.agent/skills/analytics-tracking/SKILL.md +404 -0
- package/assets/.agent/skills/api-design-principles/SKILL.md +37 -0
- package/assets/.agent/skills/api-design-principles/assets/__pycache__/rest-api-template.cpython-314.pyc +0 -0
- package/assets/.agent/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/assets/.agent/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/assets/.agent/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/assets/.agent/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/assets/.agent/skills/api-design-principles/resources/implementation-playbook.md +513 -0
- package/assets/.agent/skills/api-designer/SKILL.md +22 -0
- package/assets/.agent/skills/api-designer/data/api_patterns.json +107 -0
- package/assets/.agent/skills/api-designer/scripts/__pycache__/api_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/api-designer/scripts/api_gen.py +80 -0
- package/assets/.agent/skills/api-documentation-generator/SKILL.md +484 -0
- package/assets/.agent/skills/api-documenter/SKILL.md +184 -0
- package/assets/.agent/skills/api-fuzzing-bug-bounty/SKILL.md +433 -0
- package/assets/.agent/skills/api-patterns/SKILL.md +81 -0
- package/assets/.agent/skills/api-patterns/api-style.md +42 -0
- package/assets/.agent/skills/api-patterns/auth.md +24 -0
- package/assets/.agent/skills/api-patterns/documentation.md +26 -0
- package/assets/.agent/skills/api-patterns/graphql.md +41 -0
- package/assets/.agent/skills/api-patterns/rate-limiting.md +31 -0
- package/assets/.agent/skills/api-patterns/response.md +37 -0
- package/assets/.agent/skills/api-patterns/rest.md +40 -0
- package/assets/.agent/skills/api-patterns/scripts/__pycache__/api_validator.cpython-314.pyc +0 -0
- package/assets/.agent/skills/api-patterns/scripts/api_validator.py +211 -0
- package/assets/.agent/skills/api-patterns/security-testing.md +122 -0
- package/assets/.agent/skills/api-patterns/trpc.md +41 -0
- package/assets/.agent/skills/api-patterns/versioning.md +22 -0
- package/assets/.agent/skills/api-security-best-practices/SKILL.md +907 -0
- package/assets/.agent/skills/api-testing-observability-api-mock/SKILL.md +46 -0
- package/assets/.agent/skills/api-testing-observability-api-mock/resources/implementation-playbook.md +1327 -0
- package/assets/.agent/skills/app-store-optimization/HOW_TO_USE.md +281 -0
- package/assets/.agent/skills/app-store-optimization/README.md +430 -0
- package/assets/.agent/skills/app-store-optimization/SKILL.md +403 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/ab_test_planner.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/aso_scorer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/competitor_analyzer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/keyword_analyzer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/launch_checklist.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/localization_helper.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/metadata_optimizer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/review_analyzer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/ab_test_planner.py +662 -0
- package/assets/.agent/skills/app-store-optimization/aso_scorer.py +482 -0
- package/assets/.agent/skills/app-store-optimization/competitor_analyzer.py +577 -0
- package/assets/.agent/skills/app-store-optimization/expected_output.json +170 -0
- package/assets/.agent/skills/app-store-optimization/keyword_analyzer.py +406 -0
- package/assets/.agent/skills/app-store-optimization/launch_checklist.py +739 -0
- package/assets/.agent/skills/app-store-optimization/localization_helper.py +588 -0
- package/assets/.agent/skills/app-store-optimization/metadata_optimizer.py +581 -0
- package/assets/.agent/skills/app-store-optimization/review_analyzer.py +714 -0
- package/assets/.agent/skills/app-store-optimization/sample_input.json +30 -0
- package/assets/.agent/skills/architecture-auditor/SKILL.md +35 -0
- package/assets/.agent/skills/architecture-auditor/data/standards.json +45 -0
- package/assets/.agent/skills/architecture-auditor/scripts/__pycache__/auditor.cpython-314.pyc +0 -0
- package/assets/.agent/skills/architecture-auditor/scripts/auditor.py +69 -0
- package/assets/.agent/skills/architecture-decision-records/SKILL.md +441 -0
- package/assets/.agent/skills/architecture-patterns/SKILL.md +37 -0
- package/assets/.agent/skills/architecture-patterns/resources/implementation-playbook.md +479 -0
- package/assets/.agent/skills/asana-automation/SKILL.md +171 -0
- package/assets/.agent/skills/attack-tree-construction/SKILL.md +38 -0
- package/assets/.agent/skills/attack-tree-construction/resources/implementation-playbook.md +671 -0
- package/assets/.agent/skills/auth-implementation-patterns/SKILL.md +39 -0
- package/assets/.agent/skills/auth-implementation-patterns/resources/implementation-playbook.md +618 -0
- package/assets/.agent/skills/autonomous-agent-patterns/SKILL.md +761 -0
- package/assets/.agent/skills/aws-penetration-testing/SKILL.md +405 -0
- package/assets/.agent/skills/aws-penetration-testing/references/advanced-aws-pentesting.md +469 -0
- package/assets/.agent/skills/aws-serverless/SKILL.md +323 -0
- package/assets/.agent/skills/backend-architect/SKILL.md +333 -0
- package/assets/.agent/skills/billing-automation/SKILL.md +42 -0
- package/assets/.agent/skills/billing-automation/resources/implementation-playbook.md +544 -0
- package/assets/.agent/skills/broken-authentication/SKILL.md +476 -0
- package/assets/.agent/skills/bullmq-specialist/SKILL.md +57 -0
- package/assets/.agent/skills/business-analyst/SKILL.md +182 -0
- package/assets/.agent/skills/cc-skill-backend-patterns/SKILL.md +584 -0
- package/assets/.agent/skills/cc-skill-clickhouse-io/SKILL.md +431 -0
- package/assets/.agent/skills/cc-skill-coding-standards/SKILL.md +522 -0
- package/assets/.agent/skills/cc-skill-continuous-learning/SKILL.md +10 -0
- package/assets/.agent/skills/cc-skill-continuous-learning/config.json +18 -0
- package/assets/.agent/skills/cc-skill-continuous-learning/evaluate-session.sh +60 -0
- package/assets/.agent/skills/cc-skill-frontend-patterns/SKILL.md +633 -0
- package/assets/.agent/skills/cc-skill-project-guidelines-example/SKILL.md +352 -0
- package/assets/.agent/skills/cc-skill-security-review/SKILL.md +496 -0
- package/assets/.agent/skills/cc-skill-strategic-compact/SKILL.md +10 -0
- package/assets/.agent/skills/cc-skill-strategic-compact/suggest-compact.sh +52 -0
- package/assets/.agent/skills/ci-cd-setup/SKILL.md +14 -0
- package/assets/.agent/skills/ci-cd-setup/data/pipeline_templates.json +42 -0
- package/assets/.agent/skills/ci-cd-setup/scripts/__pycache__/ci_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/ci-cd-setup/scripts/ci_gen.py +75 -0
- package/assets/.agent/skills/claude-code-guide/SKILL.md +68 -0
- package/assets/.agent/skills/clean-code/SKILL.md +94 -0
- package/assets/.agent/skills/clickup-automation/SKILL.md +234 -0
- package/assets/.agent/skills/cloud-architect/SKILL.md +135 -0
- package/assets/.agent/skills/cloud-penetration-testing/SKILL.md +501 -0
- package/assets/.agent/skills/cloud-penetration-testing/references/advanced-cloud-scripts.md +318 -0
- package/assets/.agent/skills/code-reviewer/SKILL.md +31 -0
- package/assets/.agent/skills/code-reviewer/data/review_rules.json +172 -0
- package/assets/.agent/skills/code-reviewer/scripts/__pycache__/reviewer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/code-reviewer/scripts/reviewer.py +192 -0
- package/assets/.agent/skills/codebase-navigator/SKILL.md +37 -0
- package/assets/.agent/skills/codebase-navigator/data/codebase_index.json +577 -0
- package/assets/.agent/skills/codebase-navigator/scripts/__pycache__/navigator.cpython-314.pyc +0 -0
- package/assets/.agent/skills/codebase-navigator/scripts/navigator.py +240 -0
- package/assets/.agent/skills/color-palette-generator/SKILL.md +26 -0
- package/assets/.agent/skills/color-palette-generator/data/palettes.json +37 -0
- package/assets/.agent/skills/color-palette-generator/scripts/__pycache__/palette.cpython-314.pyc +0 -0
- package/assets/.agent/skills/color-palette-generator/scripts/palette.py +57 -0
- package/assets/.agent/skills/competitive-landscape/SKILL.md +34 -0
- package/assets/.agent/skills/competitive-landscape/resources/implementation-playbook.md +494 -0
- package/assets/.agent/skills/competitor-alternatives/SKILL.md +750 -0
- package/assets/.agent/skills/computer-use-agents/SKILL.md +315 -0
- package/assets/.agent/skills/content-creator/SKILL.md +248 -0
- package/assets/.agent/skills/content-creator/assets/content_calendar_template.md +99 -0
- package/assets/.agent/skills/content-creator/references/brand_guidelines.md +199 -0
- package/assets/.agent/skills/content-creator/references/content_frameworks.md +534 -0
- package/assets/.agent/skills/content-creator/references/social_media_optimization.md +317 -0
- package/assets/.agent/skills/content-creator/scripts/__pycache__/brand_voice_analyzer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/content-creator/scripts/__pycache__/seo_optimizer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/content-creator/scripts/brand_voice_analyzer.py +185 -0
- package/assets/.agent/skills/content-creator/scripts/seo_optimizer.py +419 -0
- package/assets/.agent/skills/content-marketer/SKILL.md +170 -0
- package/assets/.agent/skills/context-compression/SKILL.md +266 -0
- package/assets/.agent/skills/context-degradation/SKILL.md +238 -0
- package/assets/.agent/skills/context-driven-development/SKILL.md +400 -0
- package/assets/.agent/skills/context-fundamentals/SKILL.md +192 -0
- package/assets/.agent/skills/context-manager/SKILL.md +26 -0
- package/assets/.agent/skills/context-manager/scripts/__pycache__/minify.cpython-314.pyc +0 -0
- package/assets/.agent/skills/context-manager/scripts/minify.py +82 -0
- package/assets/.agent/skills/context-optimization/SKILL.md +186 -0
- package/assets/.agent/skills/context-router/SKILL.md +42 -0
- package/assets/.agent/skills/context-router/scripts/__pycache__/context_router.cpython-314.pyc +0 -0
- package/assets/.agent/skills/context-router/scripts/context_router.py +185 -0
- package/assets/.agent/skills/context-window-management/SKILL.md +53 -0
- package/assets/.agent/skills/conversation-memory/SKILL.md +61 -0
- package/assets/.agent/skills/copywriting/SKILL.md +225 -0
- package/assets/.agent/skills/cost-optimization/SKILL.md +286 -0
- package/assets/.agent/skills/cqrs-implementation/SKILL.md +35 -0
- package/assets/.agent/skills/cqrs-implementation/resources/implementation-playbook.md +540 -0
- package/assets/.agent/skills/crewai/SKILL.md +243 -0
- package/assets/.agent/skills/daily-news-report/SKILL.md +356 -0
- package/assets/.agent/skills/daily-news-report/cache.json +41 -0
- package/assets/.agent/skills/daily-news-report/sources.json +183 -0
- package/assets/.agent/skills/data-engineer/SKILL.md +224 -0
- package/assets/.agent/skills/data-engineering-data-driven-feature/SKILL.md +182 -0
- package/assets/.agent/skills/data-engineering-data-pipeline/SKILL.md +201 -0
- package/assets/.agent/skills/data-quality-frameworks/SKILL.md +40 -0
- package/assets/.agent/skills/data-quality-frameworks/resources/implementation-playbook.md +573 -0
- package/assets/.agent/skills/data-scientist/SKILL.md +199 -0
- package/assets/.agent/skills/data-storytelling/SKILL.md +465 -0
- package/assets/.agent/skills/database-admin/SKILL.md +165 -0
- package/assets/.agent/skills/database-architect/SKILL.md +268 -0
- package/assets/.agent/skills/database-cloud-optimization-cost-optimize/SKILL.md +44 -0
- package/assets/.agent/skills/database-cloud-optimization-cost-optimize/resources/implementation-playbook.md +1441 -0
- package/assets/.agent/skills/database-design/SKILL.md +52 -0
- package/assets/.agent/skills/database-design/database-selection.md +43 -0
- package/assets/.agent/skills/database-design/indexing.md +39 -0
- package/assets/.agent/skills/database-design/migrations.md +48 -0
- package/assets/.agent/skills/database-design/optimization.md +36 -0
- package/assets/.agent/skills/database-design/orm-selection.md +30 -0
- package/assets/.agent/skills/database-design/schema-design.md +56 -0
- package/assets/.agent/skills/database-design/scripts/__pycache__/schema_validator.cpython-314.pyc +0 -0
- package/assets/.agent/skills/database-design/scripts/schema_validator.py +172 -0
- package/assets/.agent/skills/database-migration/SKILL.md +436 -0
- package/assets/.agent/skills/database-migrations-migration-observability/SKILL.md +420 -0
- package/assets/.agent/skills/database-migrations-sql-migrations/SKILL.md +53 -0
- package/assets/.agent/skills/database-migrations-sql-migrations/resources/implementation-playbook.md +499 -0
- package/assets/.agent/skills/database-optimizer/SKILL.md +167 -0
- package/assets/.agent/skills/datadog-automation/SKILL.md +235 -0
- package/assets/.agent/skills/db-designer/SKILL.md +22 -0
- package/assets/.agent/skills/db-designer/data/schema_patterns.json +156 -0
- package/assets/.agent/skills/db-designer/scripts/__pycache__/sql_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/db-designer/scripts/sql_gen.py +90 -0
- package/assets/.agent/skills/dbt-transformation-patterns/SKILL.md +34 -0
- package/assets/.agent/skills/dbt-transformation-patterns/resources/implementation-playbook.md +547 -0
- package/assets/.agent/skills/debugger/SKILL.md +49 -0
- package/assets/.agent/skills/debugging-strategies/SKILL.md +34 -0
- package/assets/.agent/skills/debugging-strategies/resources/implementation-playbook.md +511 -0
- package/assets/.agent/skills/deep-research/SKILL.md +114 -0
- package/assets/.agent/skills/deployment-engineer/SKILL.md +170 -0
- package/assets/.agent/skills/deployment-pipeline-design/SKILL.md +371 -0
- package/assets/.agent/skills/deployment-procedures/SKILL.md +241 -0
- package/assets/.agent/skills/diff-applier/SKILL.md +34 -0
- package/assets/.agent/skills/diff-applier/scripts/__pycache__/apply_patch.cpython-314.pyc +0 -0
- package/assets/.agent/skills/diff-applier/scripts/apply_patch.py +137 -0
- package/assets/.agent/skills/discord-automation/SKILL.md +187 -0
- package/assets/.agent/skills/distributed-debugging-debug-trace/SKILL.md +44 -0
- package/assets/.agent/skills/distributed-debugging-debug-trace/resources/implementation-playbook.md +1307 -0
- package/assets/.agent/skills/distributed-tracing/SKILL.md +450 -0
- package/assets/.agent/skills/doc-generator/SKILL.md +14 -0
- package/assets/.agent/skills/doc-generator/data/doc_templates.json +40 -0
- package/assets/.agent/skills/doc-generator/scripts/__pycache__/doc_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/doc-generator/scripts/doc_gen.py +48 -0
- package/assets/.agent/skills/docker-expert/SKILL.md +409 -0
- package/assets/.agent/skills/docker-wizard/SKILL.md +14 -0
- package/assets/.agent/skills/docker-wizard/data/docker_templates.json +93 -0
- package/assets/.agent/skills/docker-wizard/scripts/__pycache__/docker_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/docker-wizard/scripts/docker_gen.py +86 -0
- package/assets/.agent/skills/docs-architect/SKILL.md +98 -0
- package/assets/.agent/skills/e2e-testing-patterns/SKILL.md +41 -0
- package/assets/.agent/skills/e2e-testing-patterns/resources/implementation-playbook.md +531 -0
- package/assets/.agent/skills/email-sequence/SKILL.md +925 -0
- package/assets/.agent/skills/embedding-strategies/SKILL.md +491 -0
- package/assets/.agent/skills/employment-contract-templates/SKILL.md +39 -0
- package/assets/.agent/skills/employment-contract-templates/resources/implementation-playbook.md +493 -0
- package/assets/.agent/skills/env-manager/SKILL.md +33 -0
- package/assets/.agent/skills/env-manager/scripts/__pycache__/env_scanner.cpython-314.pyc +0 -0
- package/assets/.agent/skills/env-manager/scripts/env_scanner.py +181 -0
- package/assets/.agent/skills/error-detective/SKILL.md +53 -0
- package/assets/.agent/skills/error-diagnostics-error-analysis/SKILL.md +47 -0
- package/assets/.agent/skills/error-diagnostics-error-analysis/resources/implementation-playbook.md +1143 -0
- package/assets/.agent/skills/error-diagnostics-error-trace/SKILL.md +48 -0
- package/assets/.agent/skills/error-diagnostics-error-trace/resources/implementation-playbook.md +1371 -0
- package/assets/.agent/skills/error-handling-patterns/SKILL.md +35 -0
- package/assets/.agent/skills/error-handling-patterns/resources/implementation-playbook.md +635 -0
- package/assets/.agent/skills/ethical-hacking-methodology/SKILL.md +466 -0
- package/assets/.agent/skills/event-sourcing-architect/SKILL.md +58 -0
- package/assets/.agent/skills/event-store-design/SKILL.md +449 -0
- package/assets/.agent/skills/exa-search/SKILL.md +36 -0
- package/assets/.agent/skills/fastapi-pro/SKILL.md +192 -0
- package/assets/.agent/skills/fastapi-router-py/SKILL.md +52 -0
- package/assets/.agent/skills/fastapi-templates/SKILL.md +32 -0
- package/assets/.agent/skills/fastapi-templates/resources/implementation-playbook.md +566 -0
- package/assets/.agent/skills/free-tool-strategy/SKILL.md +576 -0
- package/assets/.agent/skills/freshdesk-automation/SKILL.md +219 -0
- package/assets/.agent/skills/frontend-developer/SKILL.md +171 -0
- package/assets/.agent/skills/gcp-cloud-run/SKILL.md +288 -0
- package/assets/.agent/skills/gemini-api-dev/SKILL.md +127 -0
- package/assets/.agent/skills/geo-fundamentals/SKILL.md +156 -0
- package/assets/.agent/skills/geo-fundamentals/scripts/__pycache__/geo_checker.cpython-314.pyc +0 -0
- package/assets/.agent/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
- package/assets/.agent/skills/git-advanced-workflows/SKILL.md +412 -0
- package/assets/.agent/skills/git-manager/SKILL.md +22 -0
- package/assets/.agent/skills/git-manager/data/git_conventions.json +84 -0
- package/assets/.agent/skills/git-manager/scripts/__pycache__/commit.cpython-314.pyc +0 -0
- package/assets/.agent/skills/git-manager/scripts/__pycache__/log.cpython-314.pyc +0 -0
- package/assets/.agent/skills/git-manager/scripts/commit.py +70 -0
- package/assets/.agent/skills/git-manager/scripts/log.py +29 -0
- package/assets/.agent/skills/github-actions-templates/SKILL.md +345 -0
- package/assets/.agent/skills/github-automation/SKILL.md +227 -0
- package/assets/.agent/skills/gitlab-ci-patterns/SKILL.md +283 -0
- package/assets/.agent/skills/gitops-workflow/SKILL.md +303 -0
- package/assets/.agent/skills/gitops-workflow/references/argocd-setup.md +134 -0
- package/assets/.agent/skills/gitops-workflow/references/sync-policies.md +131 -0
- package/assets/.agent/skills/gmail-automation/SKILL.md +270 -0
- package/assets/.agent/skills/google-calendar-automation/SKILL.md +176 -0
- package/assets/.agent/skills/google-drive-automation/SKILL.md +193 -0
- package/assets/.agent/skills/googlesheets-automation/SKILL.md +197 -0
- package/assets/.agent/skills/grafana-dashboards/SKILL.md +381 -0
- package/assets/.agent/skills/graphql/SKILL.md +68 -0
- package/assets/.agent/skills/graphql-architect/SKILL.md +182 -0
- package/assets/.agent/skills/helm-chart-scaffolding/SKILL.md +34 -0
- package/assets/.agent/skills/helm-chart-scaffolding/assets/Chart.yaml.template +42 -0
- package/assets/.agent/skills/helm-chart-scaffolding/assets/values.yaml.template +185 -0
- package/assets/.agent/skills/helm-chart-scaffolding/references/chart-structure.md +500 -0
- package/assets/.agent/skills/helm-chart-scaffolding/resources/implementation-playbook.md +543 -0
- package/assets/.agent/skills/helm-chart-scaffolding/scripts/validate-chart.sh +244 -0
- package/assets/.agent/skills/hr-pro/SKILL.md +126 -0
- package/assets/.agent/skills/hubspot-automation/SKILL.md +178 -0
- package/assets/.agent/skills/hubspot-integration/SKILL.md +42 -0
- package/assets/.agent/skills/hybrid-search-implementation/SKILL.md +32 -0
- package/assets/.agent/skills/hybrid-search-implementation/resources/implementation-playbook.md +567 -0
- package/assets/.agent/skills/incident-responder/SKILL.md +213 -0
- package/assets/.agent/skills/incident-response-incident-response/SKILL.md +168 -0
- package/assets/.agent/skills/incident-response-smart-fix/SKILL.md +29 -0
- package/assets/.agent/skills/incident-response-smart-fix/resources/implementation-playbook.md +838 -0
- package/assets/.agent/skills/incident-runbook-templates/SKILL.md +395 -0
- package/assets/.agent/skills/infinite-gratitude/SKILL.md +26 -0
- package/assets/.agent/skills/inngest/SKILL.md +55 -0
- package/assets/.agent/skills/instagram-automation/SKILL.md +192 -0
- package/assets/.agent/skills/intercom-automation/SKILL.md +248 -0
- package/assets/.agent/skills/javascript-mastery/SKILL.md +645 -0
- package/assets/.agent/skills/javascript-testing-patterns/SKILL.md +35 -0
- package/assets/.agent/skills/javascript-testing-patterns/resources/implementation-playbook.md +1024 -0
- package/assets/.agent/skills/jira-automation/SKILL.md +185 -0
- package/assets/.agent/skills/k8s-manifest-generator/SKILL.md +35 -0
- package/assets/.agent/skills/k8s-manifest-generator/assets/configmap-template.yaml +296 -0
- package/assets/.agent/skills/k8s-manifest-generator/assets/deployment-template.yaml +203 -0
- package/assets/.agent/skills/k8s-manifest-generator/assets/service-template.yaml +171 -0
- package/assets/.agent/skills/k8s-manifest-generator/references/deployment-spec.md +753 -0
- package/assets/.agent/skills/k8s-manifest-generator/references/service-spec.md +724 -0
- package/assets/.agent/skills/k8s-manifest-generator/resources/implementation-playbook.md +510 -0
- package/assets/.agent/skills/k8s-security-policies/SKILL.md +346 -0
- package/assets/.agent/skills/k8s-security-policies/assets/network-policy-template.yaml +177 -0
- package/assets/.agent/skills/k8s-security-policies/references/rbac-patterns.md +187 -0
- package/assets/.agent/skills/knowledge-guide/SKILL.md +34 -0
- package/assets/.agent/skills/knowledge-guide/scripts/__pycache__/note_taker.cpython-314.pyc +0 -0
- package/assets/.agent/skills/knowledge-guide/scripts/note_taker.py +50 -0
- package/assets/.agent/skills/kpi-dashboard-design/SKILL.md +440 -0
- package/assets/.agent/skills/kubernetes-architect/SKILL.md +170 -0
- package/assets/.agent/skills/langchain-architecture/SKILL.md +350 -0
- package/assets/.agent/skills/langfuse/SKILL.md +238 -0
- package/assets/.agent/skills/langgraph/SKILL.md +287 -0
- package/assets/.agent/skills/launch-strategy/SKILL.md +344 -0
- package/assets/.agent/skills/legal-advisor/SKILL.md +70 -0
- package/assets/.agent/skills/linkedin-automation/SKILL.md +175 -0
- package/assets/.agent/skills/linux-privilege-escalation/SKILL.md +504 -0
- package/assets/.agent/skills/llm-app-patterns/SKILL.md +760 -0
- package/assets/.agent/skills/llm-evaluation/SKILL.md +483 -0
- package/assets/.agent/skills/mailchimp-automation/SKILL.md +231 -0
- package/assets/.agent/skills/market-sizing-analysis/SKILL.md +425 -0
- package/assets/.agent/skills/market-sizing-analysis/examples/saas-market-sizing.md +349 -0
- package/assets/.agent/skills/market-sizing-analysis/references/data-sources.md +360 -0
- package/assets/.agent/skills/marketing-ideas/SKILL.md +221 -0
- package/assets/.agent/skills/marketing-psychology/SKILL.md +255 -0
- package/assets/.agent/skills/mcp-builder/LICENSE.txt +202 -0
- package/assets/.agent/skills/mcp-builder/SKILL.md +236 -0
- package/assets/.agent/skills/mcp-builder/reference/evaluation.md +602 -0
- package/assets/.agent/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
- package/assets/.agent/skills/mcp-builder/reference/node_mcp_server.md +970 -0
- package/assets/.agent/skills/mcp-builder/reference/python_mcp_server.md +719 -0
- package/assets/.agent/skills/mcp-builder/scripts/__pycache__/connections.cpython-314.pyc +0 -0
- package/assets/.agent/skills/mcp-builder/scripts/__pycache__/evaluation.cpython-314.pyc +0 -0
- package/assets/.agent/skills/mcp-builder/scripts/connections.py +151 -0
- package/assets/.agent/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/assets/.agent/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/assets/.agent/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/assets/.agent/skills/mermaid-expert/SKILL.md +59 -0
- package/assets/.agent/skills/meta-thinker/SKILL.md +41 -0
- package/assets/.agent/skills/meta-thinker/data/brainstorm_frameworks.json +614 -0
- package/assets/.agent/skills/meta-thinker/data/feature_ideas.json +352 -0
- package/assets/.agent/skills/meta-thinker/data/industry_database.json +1693 -0
- package/assets/.agent/skills/meta-thinker/data/monetization_models.json +570 -0
- package/assets/.agent/skills/meta-thinker/data/platform_guide.json +361 -0
- package/assets/.agent/skills/meta-thinker/data/product_archetypes.json +998 -0
- package/assets/.agent/skills/meta-thinker/scripts/__pycache__/idea_engine.cpython-314.pyc +0 -0
- package/assets/.agent/skills/meta-thinker/scripts/idea_engine.py +246 -0
- package/assets/.agent/skills/metasploit-framework/SKILL.md +478 -0
- package/assets/.agent/skills/micro-saas-launcher/SKILL.md +212 -0
- package/assets/.agent/skills/monday-automation/SKILL.md +233 -0
- package/assets/.agent/skills/multi-agent-patterns/SKILL.md +262 -0
- package/assets/.agent/skills/n8n-code-python/SKILL.md +750 -0
- package/assets/.agent/skills/n8n-mcp-tools-expert/SKILL.md +654 -0
- package/assets/.agent/skills/n8n-node-configuration/SKILL.md +796 -0
- package/assets/.agent/skills/neon-postgres/SKILL.md +56 -0
- package/assets/.agent/skills/nestjs-expert/SKILL.md +552 -0
- package/assets/.agent/skills/nextjs-best-practices/SKILL.md +203 -0
- package/assets/.agent/skills/nocobase-plugin-developer/SKILL.md +1289 -0
- package/assets/.agent/skills/nodejs-backend-patterns/SKILL.md +35 -0
- package/assets/.agent/skills/nodejs-backend-patterns/resources/implementation-playbook.md +1019 -0
- package/assets/.agent/skills/nodejs-best-practices/SKILL.md +333 -0
- package/assets/.agent/skills/nosql-expert/SKILL.md +111 -0
- package/assets/.agent/skills/notion-automation/SKILL.md +215 -0
- package/assets/.agent/skills/observability-engineer/SKILL.md +237 -0
- package/assets/.agent/skills/observability-monitoring-monitor-setup/SKILL.md +48 -0
- package/assets/.agent/skills/observability-monitoring-monitor-setup/resources/implementation-playbook.md +505 -0
- package/assets/.agent/skills/observability-monitoring-slo-implement/SKILL.md +43 -0
- package/assets/.agent/skills/observability-monitoring-slo-implement/resources/implementation-playbook.md +1077 -0
- package/assets/.agent/skills/on-call-handoff-patterns/SKILL.md +453 -0
- package/assets/.agent/skills/onboarding-cro/SKILL.md +433 -0
- package/assets/.agent/skills/openapi-spec-generation/SKILL.md +33 -0
- package/assets/.agent/skills/openapi-spec-generation/resources/implementation-playbook.md +1027 -0
- package/assets/.agent/skills/page-cro/SKILL.md +343 -0
- package/assets/.agent/skills/paid-ads/SKILL.md +551 -0
- package/assets/.agent/skills/payment-integration/SKILL.md +77 -0
- package/assets/.agent/skills/paypal-integration/SKILL.md +479 -0
- package/assets/.agent/skills/paywall-upgrade-cro/SKILL.md +570 -0
- package/assets/.agent/skills/pentest-checklist/SKILL.md +334 -0
- package/assets/.agent/skills/pentest-commands/SKILL.md +438 -0
- package/assets/.agent/skills/pipedrive-automation/SKILL.md +224 -0
- package/assets/.agent/skills/plaid-fintech/SKILL.md +50 -0
- package/assets/.agent/skills/popup-cro/SKILL.md +346 -0
- package/assets/.agent/skills/postgresql/SKILL.md +230 -0
- package/assets/.agent/skills/postmortem-writing/SKILL.md +386 -0
- package/assets/.agent/skills/pricing-strategy/SKILL.md +356 -0
- package/assets/.agent/skills/prisma-expert/SKILL.md +355 -0
- package/assets/.agent/skills/product-manager-toolkit/SKILL.md +351 -0
- package/assets/.agent/skills/product-manager-toolkit/references/prd_templates.md +317 -0
- package/assets/.agent/skills/product-manager-toolkit/scripts/__pycache__/customer_interview_analyzer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/product-manager-toolkit/scripts/__pycache__/rice_prioritizer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/product-manager-toolkit/scripts/customer_interview_analyzer.py +441 -0
- package/assets/.agent/skills/product-manager-toolkit/scripts/rice_prioritizer.py +296 -0
- package/assets/.agent/skills/programmatic-seo/SKILL.md +351 -0
- package/assets/.agent/skills/project-scaffolder/SKILL.md +26 -0
- package/assets/.agent/skills/project-scaffolder/data/scaffold_templates.json +150 -0
- package/assets/.agent/skills/project-scaffolder/scripts/__pycache__/scaffold.cpython-314.pyc +0 -0
- package/assets/.agent/skills/project-scaffolder/scripts/scaffold.py +249 -0
- package/assets/.agent/skills/projection-patterns/SKILL.md +33 -0
- package/assets/.agent/skills/projection-patterns/resources/implementation-playbook.md +501 -0
- package/assets/.agent/skills/prometheus-configuration/SKILL.md +404 -0
- package/assets/.agent/skills/prompt-caching/SKILL.md +61 -0
- package/assets/.agent/skills/prompt-engineer/README.md +659 -0
- package/assets/.agent/skills/prompt-engineer/SKILL.md +252 -0
- package/assets/.agent/skills/prompt-engineering/SKILL.md +171 -0
- package/assets/.agent/skills/prompt-engineering-patterns/SKILL.md +213 -0
- package/assets/.agent/skills/prompt-engineering-patterns/assets/few-shot-examples.json +106 -0
- package/assets/.agent/skills/prompt-engineering-patterns/assets/prompt-template-library.md +246 -0
- package/assets/.agent/skills/prompt-engineering-patterns/references/chain-of-thought.md +399 -0
- package/assets/.agent/skills/prompt-engineering-patterns/references/few-shot-learning.md +369 -0
- package/assets/.agent/skills/prompt-engineering-patterns/references/prompt-optimization.md +414 -0
- package/assets/.agent/skills/prompt-engineering-patterns/references/prompt-templates.md +470 -0
- package/assets/.agent/skills/prompt-engineering-patterns/references/system-prompts.md +189 -0
- package/assets/.agent/skills/prompt-engineering-patterns/scripts/__pycache__/optimize-prompt.cpython-314.pyc +0 -0
- package/assets/.agent/skills/prompt-engineering-patterns/scripts/optimize-prompt.py +279 -0
- package/assets/.agent/skills/prompt-library/SKILL.md +322 -0
- package/assets/.agent/skills/rag-engineer/SKILL.md +90 -0
- package/assets/.agent/skills/rag-implementation/SKILL.md +421 -0
- package/assets/.agent/skills/react-patterns/SKILL.md +198 -0
- package/assets/.agent/skills/react-state-management/SKILL.md +441 -0
- package/assets/.agent/skills/react-ui-patterns/SKILL.md +289 -0
- package/assets/.agent/skills/readme-generator/SKILL.md +14 -0
- package/assets/.agent/skills/readme-generator/data/readme_templates.json +22 -0
- package/assets/.agent/skills/readme-generator/scripts/__pycache__/readme_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/readme-generator/scripts/readme_gen.py +81 -0
- package/assets/.agent/skills/red-team-tactics/SKILL.md +199 -0
- package/assets/.agent/skills/red-team-tools/SKILL.md +310 -0
- package/assets/.agent/skills/reference-builder/SKILL.md +188 -0
- package/assets/.agent/skills/referral-program/SKILL.md +602 -0
- package/assets/.agent/skills/release-manager/SKILL.md +30 -0
- package/assets/.agent/skills/release-manager/scripts/__pycache__/release.cpython-314.pyc +0 -0
- package/assets/.agent/skills/release-manager/scripts/release.py +210 -0
- package/assets/.agent/skills/reliability-engineer/SKILL.md +30 -0
- package/assets/.agent/skills/reliability-engineer/data/reliability.json +57 -0
- package/assets/.agent/skills/reliability-engineer/scripts/__pycache__/sre.cpython-314.pyc +0 -0
- package/assets/.agent/skills/reliability-engineer/scripts/sre.py +94 -0
- package/assets/.agent/skills/saga-orchestration/SKILL.md +496 -0
- package/assets/.agent/skills/sales-automator/SKILL.md +55 -0
- package/assets/.agent/skills/salesforce-automation/SKILL.md +190 -0
- package/assets/.agent/skills/sast-configuration/SKILL.md +212 -0
- package/assets/.agent/skills/scanning-tools/SKILL.md +589 -0
- package/assets/.agent/skills/schema-markup/SKILL.md +360 -0
- package/assets/.agent/skills/search-specialist/SKILL.md +80 -0
- package/assets/.agent/skills/secrets-management/SKILL.md +364 -0
- package/assets/.agent/skills/security-auditor/SKILL.md +169 -0
- package/assets/.agent/skills/security-bluebook-builder/SKILL.md +22 -0
- package/assets/.agent/skills/security-requirement-extraction/SKILL.md +33 -0
- package/assets/.agent/skills/security-requirement-extraction/resources/implementation-playbook.md +676 -0
- package/assets/.agent/skills/security-scanner/SKILL.md +21 -0
- package/assets/.agent/skills/security-scanner/data/security_patterns.json +101 -0
- package/assets/.agent/skills/security-scanner/scripts/__pycache__/checklist_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/security-scanner/scripts/__pycache__/vuln_scan.cpython-314.pyc +0 -0
- package/assets/.agent/skills/security-scanner/scripts/checklist_gen.py +49 -0
- package/assets/.agent/skills/security-scanner/scripts/vuln_scan.py +81 -0
- package/assets/.agent/skills/sendgrid-automation/SKILL.md +228 -0
- package/assets/.agent/skills/seo-audit/SKILL.md +487 -0
- package/assets/.agent/skills/seo-authority-builder/SKILL.md +136 -0
- package/assets/.agent/skills/seo-cannibalization-detector/SKILL.md +123 -0
- package/assets/.agent/skills/seo-content-auditor/SKILL.md +83 -0
- package/assets/.agent/skills/seo-content-planner/SKILL.md +108 -0
- package/assets/.agent/skills/seo-content-refresher/SKILL.md +118 -0
- package/assets/.agent/skills/seo-content-writer/SKILL.md +96 -0
- package/assets/.agent/skills/seo-fundamentals/SKILL.md +173 -0
- package/assets/.agent/skills/seo-fundamentals/scripts/__pycache__/seo_checker.cpython-314.pyc +0 -0
- package/assets/.agent/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
- package/assets/.agent/skills/seo-keyword-strategist/SKILL.md +95 -0
- package/assets/.agent/skills/seo-meta-optimizer/SKILL.md +92 -0
- package/assets/.agent/skills/seo-snippet-hunter/SKILL.md +114 -0
- package/assets/.agent/skills/seo-structure-architect/SKILL.md +108 -0
- package/assets/.agent/skills/service-mesh-observability/SKILL.md +395 -0
- package/assets/.agent/skills/shodan-reconnaissance/SKILL.md +503 -0
- package/assets/.agent/skills/shopify-apps/SKILL.md +42 -0
- package/assets/.agent/skills/shopify-automation/SKILL.md +168 -0
- package/assets/.agent/skills/signup-flow-cro/SKILL.md +355 -0
- package/assets/.agent/skills/similarity-search-patterns/SKILL.md +33 -0
- package/assets/.agent/skills/similarity-search-patterns/resources/implementation-playbook.md +557 -0
- package/assets/.agent/skills/skill-creator/LICENSE.txt +202 -0
- package/assets/.agent/skills/skill-creator/README.md +270 -0
- package/assets/.agent/skills/skill-creator/SKILL.md +593 -0
- package/assets/.agent/skills/skill-creator/references/output-patterns.md +82 -0
- package/assets/.agent/skills/skill-creator/references/workflows.md +28 -0
- package/assets/.agent/skills/skill-creator/scripts/__pycache__/init_skill.cpython-314.pyc +0 -0
- package/assets/.agent/skills/skill-creator/scripts/__pycache__/package_skill.cpython-314.pyc +0 -0
- package/assets/.agent/skills/skill-creator/scripts/__pycache__/quick_validate.cpython-314.pyc +0 -0
- package/assets/.agent/skills/skill-creator/scripts/init_skill.py +303 -0
- package/assets/.agent/skills/skill-creator/scripts/package_skill.py +110 -0
- package/assets/.agent/skills/skill-creator/scripts/quick_validate.py +95 -0
- package/assets/.agent/skills/skill-developer/ADVANCED.md +197 -0
- package/assets/.agent/skills/skill-developer/HOOK_MECHANISMS.md +306 -0
- package/assets/.agent/skills/skill-developer/PATTERNS_LIBRARY.md +152 -0
- package/assets/.agent/skills/skill-developer/SKILL.md +426 -0
- package/assets/.agent/skills/skill-developer/SKILL_RULES_REFERENCE.md +315 -0
- package/assets/.agent/skills/skill-developer/TRIGGER_TYPES.md +305 -0
- package/assets/.agent/skills/skill-developer/TROUBLESHOOTING.md +514 -0
- package/assets/.agent/skills/slack-automation/SKILL.md +189 -0
- package/assets/.agent/skills/slo-implementation/SKILL.md +341 -0
- package/assets/.agent/skills/social-content/SKILL.md +807 -0
- package/assets/.agent/skills/spark-optimization/SKILL.md +427 -0
- package/assets/.agent/skills/sql-injection-testing/SKILL.md +448 -0
- package/assets/.agent/skills/sql-optimization-patterns/SKILL.md +35 -0
- package/assets/.agent/skills/sql-optimization-patterns/resources/implementation-playbook.md +504 -0
- package/assets/.agent/skills/sql-pro/SKILL.md +173 -0
- package/assets/.agent/skills/ssh-penetration-testing/SKILL.md +488 -0
- package/assets/.agent/skills/startup-analyst/SKILL.md +328 -0
- package/assets/.agent/skills/startup-business-analyst-business-case/SKILL.md +487 -0
- package/assets/.agent/skills/startup-business-analyst-financial-projections/SKILL.md +353 -0
- package/assets/.agent/skills/startup-business-analyst-market-opportunity/SKILL.md +240 -0
- package/assets/.agent/skills/startup-financial-modeling/SKILL.md +467 -0
- package/assets/.agent/skills/startup-metrics-framework/SKILL.md +34 -0
- package/assets/.agent/skills/startup-metrics-framework/resources/implementation-playbook.md +500 -0
- package/assets/.agent/skills/stride-analysis-patterns/SKILL.md +33 -0
- package/assets/.agent/skills/stride-analysis-patterns/resources/implementation-playbook.md +655 -0
- package/assets/.agent/skills/stripe-automation/SKILL.md +198 -0
- package/assets/.agent/skills/stripe-integration/SKILL.md +454 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/AGENTS.md +1490 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/README.md +119 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/SKILL.md +57 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/metadata.json +13 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/_contributing.md +171 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/_sections.md +39 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/_template.md +34 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/advanced-full-text-search.md +55 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/advanced-jsonb-indexing.md +49 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/conn-idle-timeout.md +46 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/conn-limits.md +44 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/conn-pooling.md +41 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/conn-prepared-statements.md +46 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/data-batch-inserts.md +54 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/data-n-plus-one.md +53 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/data-pagination.md +50 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/data-upsert.md +50 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/lock-advisory.md +56 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/lock-deadlock-prevention.md +68 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/lock-short-transactions.md +50 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/lock-skip-locked.md +54 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/monitor-explain-analyze.md +45 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/monitor-pg-stat-statements.md +55 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/monitor-vacuum-analyze.md +55 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/query-composite-indexes.md +44 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/query-covering-indexes.md +40 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/query-index-types.md +45 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/query-missing-indexes.md +43 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/query-partial-indexes.md +45 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/schema-data-types.md +46 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/schema-foreign-key-indexes.md +59 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/schema-lowercase-identifiers.md +55 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/schema-partitioning.md +55 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/schema-primary-keys.md +61 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/security-privileges.md +54 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/security-rls-basics.md +50 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/security-rls-performance.md +57 -0
- package/assets/.agent/skills/system-diagrammer/SKILL.md +25 -0
- package/assets/.agent/skills/system-diagrammer/data/diagram_templates.json +69 -0
- package/assets/.agent/skills/system-diagrammer/scripts/__pycache__/diagram.cpython-314.pyc +0 -0
- package/assets/.agent/skills/system-diagrammer/scripts/diagram.py +81 -0
- package/assets/.agent/skills/system-strategist/SKILL.md +35 -0
- package/assets/.agent/skills/system-strategist/data/strategy_patterns.json +170 -0
- package/assets/.agent/skills/system-strategist/scripts/__pycache__/strategist.cpython-314.pyc +0 -0
- package/assets/.agent/skills/system-strategist/scripts/strategist.py +136 -0
- package/assets/.agent/skills/tavily-web/SKILL.md +36 -0
- package/assets/.agent/skills/team-composition-analysis/SKILL.md +413 -0
- package/assets/.agent/skills/tech-stack-advisor/SKILL.md +59 -0
- package/assets/.agent/skills/tech-stack-advisor/data/stacks.json +727 -0
- package/assets/.agent/skills/tech-stack-advisor/data/tech_data.json +1297 -0
- package/assets/.agent/skills/tech-stack-advisor/scripts/__pycache__/advisor.cpython-314.pyc +0 -0
- package/assets/.agent/skills/tech-stack-advisor/scripts/__pycache__/scanner.cpython-314.pyc +0 -0
- package/assets/.agent/skills/tech-stack-advisor/scripts/advisor.py +211 -0
- package/assets/.agent/skills/tech-stack-advisor/scripts/scanner.py +102 -0
- package/assets/.agent/skills/terraform-module-library/SKILL.md +261 -0
- package/assets/.agent/skills/terraform-module-library/references/aws-modules.md +63 -0
- package/assets/.agent/skills/terraform-skill/SKILL.md +517 -0
- package/assets/.agent/skills/terraform-specialist/SKILL.md +166 -0
- package/assets/.agent/skills/test-generator/SKILL.md +14 -0
- package/assets/.agent/skills/test-generator/data/test_patterns.json +39 -0
- package/assets/.agent/skills/test-generator/scripts/__pycache__/gen_skeleton.cpython-314.pyc +0 -0
- package/assets/.agent/skills/test-generator/scripts/gen_skeleton.py +61 -0
- package/assets/.agent/skills/testing-patterns/SKILL.md +259 -0
- package/assets/.agent/skills/threat-mitigation-mapping/SKILL.md +33 -0
- package/assets/.agent/skills/threat-mitigation-mapping/resources/implementation-playbook.md +744 -0
- package/assets/.agent/skills/threat-modeling-expert/SKILL.md +60 -0
- package/assets/.agent/skills/tool-design/SKILL.md +318 -0
- package/assets/.agent/skills/top-web-vulnerabilities/SKILL.md +543 -0
- package/assets/.agent/skills/trello-automation/SKILL.md +181 -0
- package/assets/.agent/skills/trigger-dev/SKILL.md +67 -0
- package/assets/.agent/skills/tutorial-engineer/SKILL.md +139 -0
- package/assets/.agent/skills/twitter-automation/SKILL.md +231 -0
- package/assets/.agent/skills/typescript-pro/SKILL.md +55 -0
- package/assets/.agent/skills/ui-ux-pro-max/SKILL.md +30 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/icons.csv +101 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/styles.csv +68 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-314.pyc +0 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-314.pyc +0 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/__pycache__/search.cpython-314.pyc +0 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/core.py +253 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/design_system.py +1110 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/search.py +162 -0
- package/assets/.agent/skills/using-neon/SKILL.md +84 -0
- package/assets/.agent/skills/vector-database-engineer/SKILL.md +60 -0
- package/assets/.agent/skills/vector-index-tuning/SKILL.md +42 -0
- package/assets/.agent/skills/vector-index-tuning/resources/implementation-playbook.md +507 -0
- package/assets/.agent/skills/vercel-deployment/SKILL.md +79 -0
- package/assets/.agent/skills/voice-agents/SKILL.md +68 -0
- package/assets/.agent/skills/vulnerability-scanner/SKILL.md +276 -0
- package/assets/.agent/skills/vulnerability-scanner/checklists.md +121 -0
- package/assets/.agent/skills/vulnerability-scanner/scripts/__pycache__/security_scan.cpython-314.pyc +0 -0
- package/assets/.agent/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
- package/assets/.agent/skills/whatsapp-automation/SKILL.md +214 -0
- package/assets/.agent/skills/wiki-architect/SKILL.md +60 -0
- package/assets/.agent/skills/wiki-onboarding/SKILL.md +77 -0
- package/assets/.agent/skills/wiki-page-writer/SKILL.md +65 -0
- package/assets/.agent/skills/wiki-researcher/SKILL.md +65 -0
- package/assets/.agent/skills/windows-privilege-escalation/SKILL.md +496 -0
- package/assets/.agent/skills/wireshark-analysis/SKILL.md +497 -0
- package/assets/.agent/skills/wordpress-penetration-testing/SKILL.md +485 -0
- package/assets/.agent/skills/workflow-automation/SKILL.md +68 -0
- package/assets/.agent/skills/xss-html-injection/SKILL.md +499 -0
- package/assets/.agent/skills/zapier-make-patterns/SKILL.md +67 -0
- package/assets/.agent/skills/zendesk-automation/SKILL.md +215 -0
- package/assets/.agent/workflows/ai-agent-builder.md +93 -0
- package/assets/.agent/workflows/api-graphql-dev.md +45 -0
- package/assets/.agent/workflows/architect.md +43 -0
- package/assets/.agent/workflows/backend-dev.md +43 -0
- package/assets/.agent/workflows/claude-code-dev.md +51 -0
- package/assets/.agent/workflows/cloud-deployer.md +422 -0
- package/assets/.agent/workflows/code-reviewer.md +62 -0
- package/assets/.agent/workflows/context-data-eng.md +58 -0
- package/assets/.agent/workflows/database-eng.md +60 -0
- package/assets/.agent/workflows/deep-researcher.md +175 -0
- package/assets/.agent/workflows/designer.md +36 -0
- package/assets/.agent/workflows/devops.md +37 -0
- package/assets/.agent/workflows/doc-writer.md +211 -0
- package/assets/.agent/workflows/frontend-dev.md +63 -0
- package/assets/.agent/workflows/fullstack-coder.md +141 -0
- package/assets/.agent/workflows/image-creator.md +186 -0
- package/assets/.agent/workflows/knowledge-guide.md +48 -0
- package/assets/.agent/workflows/leader.md +238 -0
- package/assets/.agent/workflows/meta-thinker.md +204 -0
- package/assets/.agent/workflows/mobile-dev.md +26 -0
- package/assets/.agent/workflows/n8n-automator.md +114 -0
- package/assets/.agent/workflows/nocobase-plugin-build.md +291 -0
- package/assets/.agent/workflows/nocobase-plugin-expert.md +250 -0
- package/assets/.agent/workflows/observability-eng.md +54 -0
- package/assets/.agent/workflows/planner.md +48 -0
- package/assets/.agent/workflows/prompt-engineer.md +303 -0
- package/assets/.agent/workflows/qa-engineer.md +65 -0
- package/assets/.agent/workflows/quality-guardian.md +126 -0
- package/assets/.agent/workflows/quickstart.md +107 -0
- package/assets/.agent/workflows/release-manager.md +56 -0
- package/assets/.agent/workflows/research-analyst.md +483 -0
- package/assets/.agent/workflows/researcher.md +98 -0
- package/assets/.agent/workflows/saas-connector.md +86 -0
- package/assets/.agent/workflows/security-auditor.md +82 -0
- package/assets/.agent/workflows/security-engineer.md +48 -0
- package/assets/.agent/workflows/seo-marketer.md +91 -0
- package/assets/.agent/workflows/seo-specialist.md +27 -0
- package/assets/.agent/workflows/solution-architect.md +164 -0
- package/assets/.agent/workflows/startup-advisor.md +94 -0
- package/assets/.agent/workflows/tech-writer.md +43 -0
- package/assets/ide-adapters/cline/architect.md +43 -0
- package/assets/ide-adapters/cline/backend-dev.md +43 -0
- package/assets/ide-adapters/cline/designer.md +36 -0
- package/assets/ide-adapters/cline/devops.md +37 -0
- package/assets/ide-adapters/cline/frontend-dev.md +63 -0
- package/assets/ide-adapters/cline/knowledge-guide.md +48 -0
- package/assets/ide-adapters/cline/leader.md +88 -0
- package/assets/ide-adapters/cline/meta-thinker.md +87 -0
- package/assets/ide-adapters/cline/mobile-dev.md +26 -0
- package/assets/ide-adapters/cline/planner.md +48 -0
- package/assets/ide-adapters/cline/qa-engineer.md +65 -0
- package/assets/ide-adapters/cline/security-engineer.md +48 -0
- package/assets/ide-adapters/cline/seo-specialist.md +27 -0
- package/assets/ide-adapters/cline/tech-writer.md +43 -0
- package/assets/ide-adapters/copilot/architect.instructions.md +43 -0
- package/assets/ide-adapters/copilot/backend-dev.instructions.md +43 -0
- package/assets/ide-adapters/copilot/designer.instructions.md +36 -0
- package/assets/ide-adapters/copilot/devops.instructions.md +37 -0
- package/assets/ide-adapters/copilot/frontend-dev.instructions.md +63 -0
- package/assets/ide-adapters/copilot/knowledge-guide.instructions.md +48 -0
- package/assets/ide-adapters/copilot/leader.instructions.md +88 -0
- package/assets/ide-adapters/copilot/meta-thinker.instructions.md +87 -0
- package/assets/ide-adapters/copilot/mobile-dev.instructions.md +26 -0
- package/assets/ide-adapters/copilot/planner.instructions.md +48 -0
- package/assets/ide-adapters/copilot/qa-engineer.instructions.md +65 -0
- package/assets/ide-adapters/copilot/security-engineer.instructions.md +48 -0
- package/assets/ide-adapters/copilot/seo-specialist.instructions.md +27 -0
- package/assets/ide-adapters/copilot/tech-writer.instructions.md +43 -0
- package/assets/ide-adapters/cursor/architect.mdc +44 -0
- package/assets/ide-adapters/cursor/backend-dev.mdc +44 -0
- package/assets/ide-adapters/cursor/designer.mdc +37 -0
- package/assets/ide-adapters/cursor/devops.mdc +38 -0
- package/assets/ide-adapters/cursor/frontend-dev.mdc +64 -0
- package/assets/ide-adapters/cursor/knowledge-guide.mdc +49 -0
- package/assets/ide-adapters/cursor/leader.mdc +89 -0
- package/assets/ide-adapters/cursor/meta-thinker.mdc +88 -0
- package/assets/ide-adapters/cursor/mobile-dev.mdc +27 -0
- package/assets/ide-adapters/cursor/planner.mdc +49 -0
- package/assets/ide-adapters/cursor/qa-engineer.mdc +66 -0
- package/assets/ide-adapters/cursor/security-engineer.mdc +49 -0
- package/assets/ide-adapters/cursor/seo-specialist.mdc +28 -0
- package/assets/ide-adapters/cursor/tech-writer.mdc +44 -0
- package/assets/ide-adapters/kilocode/architect.md +43 -0
- package/assets/ide-adapters/kilocode/backend-dev.md +43 -0
- package/assets/ide-adapters/kilocode/designer.md +36 -0
- package/assets/ide-adapters/kilocode/devops.md +37 -0
- package/assets/ide-adapters/kilocode/frontend-dev.md +63 -0
- package/assets/ide-adapters/kilocode/knowledge-guide.md +48 -0
- package/assets/ide-adapters/kilocode/leader.md +88 -0
- package/assets/ide-adapters/kilocode/meta-thinker.md +87 -0
- package/assets/ide-adapters/kilocode/mobile-dev.md +26 -0
- package/assets/ide-adapters/kilocode/planner.md +48 -0
- package/assets/ide-adapters/kilocode/qa-engineer.md +65 -0
- package/assets/ide-adapters/kilocode/security-engineer.md +48 -0
- package/assets/ide-adapters/kilocode/seo-specialist.md +27 -0
- package/assets/ide-adapters/kilocode/tech-writer.md +43 -0
- package/assets/ide-adapters/kiro/hooks/auto-lint.json +8 -0
- package/assets/ide-adapters/kiro/hooks/auto-test.json +8 -0
- package/assets/ide-adapters/kiro/specs/.gitkeep +0 -0
- package/assets/ide-adapters/kiro/steering/product.md +23 -0
- package/assets/ide-adapters/kiro/steering/structure.md +23 -0
- package/assets/ide-adapters/kiro/steering/tech.md +27 -0
- package/assets/ide-adapters/windsurf/architect.md +41 -0
- package/assets/ide-adapters/windsurf/backend-dev.md +41 -0
- package/assets/ide-adapters/windsurf/designer.md +34 -0
- package/assets/ide-adapters/windsurf/devops.md +35 -0
- package/assets/ide-adapters/windsurf/frontend-dev.md +61 -0
- package/assets/ide-adapters/windsurf/knowledge-guide.md +46 -0
- package/assets/ide-adapters/windsurf/leader.md +86 -0
- package/assets/ide-adapters/windsurf/meta-thinker.md +85 -0
- package/assets/ide-adapters/windsurf/mobile-dev.md +24 -0
- package/assets/ide-adapters/windsurf/planner.md +46 -0
- package/assets/ide-adapters/windsurf/qa-engineer.md +63 -0
- package/assets/ide-adapters/windsurf/security-engineer.md +46 -0
- package/assets/ide-adapters/windsurf/seo-specialist.md +25 -0
- package/assets/ide-adapters/windsurf/tech-writer.md +41 -0
- package/assets/skill_groups.json +574 -0
- package/bin/cli.js +101 -0
- package/lib/commands.js +133 -0
- package/lib/constants.js +76 -0
- package/lib/download.js +165 -0
- package/lib/init.js +294 -0
- package/package.json +45 -0
- package/scripts/build-assets.js +177 -0
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: freshdesk-automation
|
|
3
|
+
description: "Automate Freshdesk helpdesk operations including tickets, contacts, companies, notes, and replies via Rube MCP (Composio). Always search tools first for current schemas."
|
|
4
|
+
requires:
|
|
5
|
+
mcp: [rube]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Freshdesk Automation via Rube MCP
|
|
9
|
+
|
|
10
|
+
Automate Freshdesk customer support workflows including ticket management, contact and company operations, notes, replies, and ticket search through Composio's Freshdesk toolkit.
|
|
11
|
+
|
|
12
|
+
## Prerequisites
|
|
13
|
+
|
|
14
|
+
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
|
|
15
|
+
- Active Freshdesk connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `freshdesk`
|
|
16
|
+
- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas
|
|
17
|
+
|
|
18
|
+
## Setup
|
|
19
|
+
|
|
20
|
+
**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
|
|
24
|
+
2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `freshdesk`
|
|
25
|
+
3. If connection is not ACTIVE, follow the returned auth link to complete Freshdesk authentication
|
|
26
|
+
4. Confirm connection status shows ACTIVE before running any workflows
|
|
27
|
+
|
|
28
|
+
## Core Workflows
|
|
29
|
+
|
|
30
|
+
### 1. Create and Manage Tickets
|
|
31
|
+
|
|
32
|
+
**When to use**: User wants to create a new support ticket, update an existing ticket, or view ticket details.
|
|
33
|
+
|
|
34
|
+
**Tool sequence**:
|
|
35
|
+
1. `FRESHDESK_SEARCH_CONTACTS` - Find requester by email to get requester_id [Optional]
|
|
36
|
+
2. `FRESHDESK_LIST_TICKET_FIELDS` - Check available custom fields and statuses [Optional]
|
|
37
|
+
3. `FRESHDESK_CREATE_TICKET` - Create a new ticket with subject, description, requester info [Required]
|
|
38
|
+
4. `FRESHDESK_UPDATE_TICKET` - Modify ticket status, priority, assignee, or other fields [Optional]
|
|
39
|
+
5. `FRESHDESK_VIEW_TICKET` - Retrieve full ticket details by ID [Optional]
|
|
40
|
+
|
|
41
|
+
**Key parameters for FRESHDESK_CREATE_TICKET**:
|
|
42
|
+
- `subject`: Ticket subject (required)
|
|
43
|
+
- `description`: HTML content of the ticket (required)
|
|
44
|
+
- `email`: Requester email (at least one requester identifier required)
|
|
45
|
+
- `requester_id`: User ID of requester (alternative to email)
|
|
46
|
+
- `status`: 2=Open, 3=Pending, 4=Resolved, 5=Closed (default 2)
|
|
47
|
+
- `priority`: 1=Low, 2=Medium, 3=High, 4=Urgent (default 1)
|
|
48
|
+
- `source`: 1=Email, 2=Portal, 3=Phone, 7=Chat (default 2)
|
|
49
|
+
- `responder_id`: Agent ID to assign the ticket to
|
|
50
|
+
- `group_id`: Group to assign the ticket to
|
|
51
|
+
- `tags`: Array of tag strings
|
|
52
|
+
- `custom_fields`: Object with `cf_<field_name>` keys
|
|
53
|
+
|
|
54
|
+
**Pitfalls**:
|
|
55
|
+
- At least one requester identifier is required: `requester_id`, `email`, `phone`, `facebook_id`, `twitter_id`, or `unique_external_id`
|
|
56
|
+
- If `phone` is provided without `email`, then `name` becomes mandatory
|
|
57
|
+
- `description` supports HTML formatting
|
|
58
|
+
- `attachments` field expects multipart/form-data format, not file paths or URLs
|
|
59
|
+
- Custom field keys must be prefixed with `cf_` (e.g., `cf_reference_number`)
|
|
60
|
+
- Status and priority are integers, not strings
|
|
61
|
+
|
|
62
|
+
### 2. Search and Filter Tickets
|
|
63
|
+
|
|
64
|
+
**When to use**: User wants to find tickets by status, priority, date range, agent, or custom fields.
|
|
65
|
+
|
|
66
|
+
**Tool sequence**:
|
|
67
|
+
1. `FRESHDESK_GET_TICKETS` - List tickets with simple filters (status, priority, agent) [Required]
|
|
68
|
+
2. `FRESHDESK_GET_SEARCH` - Advanced ticket search with query syntax [Required]
|
|
69
|
+
3. `FRESHDESK_VIEW_TICKET` - Get full details for specific tickets from results [Optional]
|
|
70
|
+
4. `FRESHDESK_LIST_TICKET_FIELDS` - Check available fields for search queries [Optional]
|
|
71
|
+
|
|
72
|
+
**Key parameters for FRESHDESK_GET_TICKETS**:
|
|
73
|
+
- `status`: Filter by status integer (2=Open, 3=Pending, 4=Resolved, 5=Closed)
|
|
74
|
+
- `priority`: Filter by priority integer (1-4)
|
|
75
|
+
- `agent_id`: Filter by assigned agent
|
|
76
|
+
- `requester_id`: Filter by requester
|
|
77
|
+
- `email`: Filter by requester email
|
|
78
|
+
- `created_since`: ISO 8601 timestamp
|
|
79
|
+
- `page` / `per_page`: Pagination (default 30 per page)
|
|
80
|
+
- `sort_by` / `sort_order`: Sort field and direction
|
|
81
|
+
|
|
82
|
+
**Key parameters for FRESHDESK_GET_SEARCH**:
|
|
83
|
+
- `query`: Query string like `"status:2 AND priority:3"` or `"(created_at:>'2024-01-01' AND tag:'urgent')"`
|
|
84
|
+
- `page`: Page number (1-10, max 300 total results)
|
|
85
|
+
|
|
86
|
+
**Pitfalls**:
|
|
87
|
+
- `FRESHDESK_GET_SEARCH` query must be enclosed in double quotes
|
|
88
|
+
- Query string limited to 512 characters
|
|
89
|
+
- Maximum 10 pages (300 results) from search endpoints
|
|
90
|
+
- Date fields in queries use UTC format YYYY-MM-DD
|
|
91
|
+
- Use `null` keyword to find tickets with empty fields (e.g., `"agent_id:null"`)
|
|
92
|
+
- `FRESHDESK_LIST_ALL_TICKETS` takes no parameters and returns all tickets (use GET_TICKETS for filtering)
|
|
93
|
+
|
|
94
|
+
### 3. Reply to and Add Notes on Tickets
|
|
95
|
+
|
|
96
|
+
**When to use**: User wants to send a reply to a customer, add internal notes, or view conversation history.
|
|
97
|
+
|
|
98
|
+
**Tool sequence**:
|
|
99
|
+
1. `FRESHDESK_VIEW_TICKET` - Verify ticket exists and check current state [Prerequisite]
|
|
100
|
+
2. `FRESHDESK_REPLY_TO_TICKET` - Send a public reply to the requester [Required]
|
|
101
|
+
3. `FRESHDESK_ADD_NOTE_TO_TICKET` - Add a private or public note [Required]
|
|
102
|
+
4. `FRESHDESK_LIST_ALL_TICKET_CONVERSATIONS` - View all messages and notes on a ticket [Optional]
|
|
103
|
+
5. `FRESHDESK_UPDATE_CONVERSATIONS` - Edit an existing note [Optional]
|
|
104
|
+
|
|
105
|
+
**Key parameters for FRESHDESK_REPLY_TO_TICKET**:
|
|
106
|
+
- `ticket_id`: Ticket ID (integer, required)
|
|
107
|
+
- `body`: Reply content, supports HTML (required)
|
|
108
|
+
- `cc_emails` / `bcc_emails`: Additional recipients (max 50 total across to/cc/bcc)
|
|
109
|
+
- `from_email`: Override sender email if multiple support emails configured
|
|
110
|
+
- `user_id`: Agent ID to reply on behalf of
|
|
111
|
+
|
|
112
|
+
**Key parameters for FRESHDESK_ADD_NOTE_TO_TICKET**:
|
|
113
|
+
- `ticket_id`: Ticket ID (integer, required)
|
|
114
|
+
- `body`: Note content, supports HTML (required)
|
|
115
|
+
- `private`: true for agent-only visibility, false for public (default true)
|
|
116
|
+
- `notify_emails`: Only accepts agent email addresses, not external contacts
|
|
117
|
+
|
|
118
|
+
**Pitfalls**:
|
|
119
|
+
- There are two reply tools: `FRESHDESK_REPLY_TO_TICKET` (more features) and `FRESHDESK_REPLY_TICKET` (simpler); both work
|
|
120
|
+
- `FRESHDESK_ADD_NOTE_TO_TICKET` defaults to private (agent-only); set `private: false` for public notes
|
|
121
|
+
- `notify_emails` in notes only accepts agent emails, not customer emails
|
|
122
|
+
- Only notes can be edited via `FRESHDESK_UPDATE_CONVERSATIONS`; incoming replies cannot be edited
|
|
123
|
+
|
|
124
|
+
### 4. Manage Contacts and Companies
|
|
125
|
+
|
|
126
|
+
**When to use**: User wants to create, search, or manage customer contacts and company records.
|
|
127
|
+
|
|
128
|
+
**Tool sequence**:
|
|
129
|
+
1. `FRESHDESK_SEARCH_CONTACTS` - Search contacts by email, phone, or company [Required]
|
|
130
|
+
2. `FRESHDESK_GET_CONTACTS` - List contacts with filters [Optional]
|
|
131
|
+
3. `FRESHDESK_IMPORT_CONTACT` - Bulk import contacts from CSV [Optional]
|
|
132
|
+
4. `FRESHDESK_SEARCH_COMPANIES` - Search companies by custom fields [Required]
|
|
133
|
+
5. `FRESHDESK_GET_COMPANIES` - List all companies [Optional]
|
|
134
|
+
6. `FRESHDESK_CREATE_COMPANIES` - Create a new company [Optional]
|
|
135
|
+
7. `FRESHDESK_UPDATE_COMPANIES` - Update company details [Optional]
|
|
136
|
+
8. `FRESHDESK_LIST_COMPANY_FIELDS` - Check available company fields [Optional]
|
|
137
|
+
|
|
138
|
+
**Key parameters for FRESHDESK_SEARCH_CONTACTS**:
|
|
139
|
+
- `query`: Search string like `"email:'user@example.com'"` (required)
|
|
140
|
+
- `page`: Pagination (1-10, max 30 per page)
|
|
141
|
+
|
|
142
|
+
**Key parameters for FRESHDESK_CREATE_COMPANIES**:
|
|
143
|
+
- `name`: Company name (required)
|
|
144
|
+
- `domains`: Array of domain strings for auto-association with contacts
|
|
145
|
+
- `health_score`: "Happy", "Doing okay", or "At risk"
|
|
146
|
+
- `account_tier`: "Basic", "Premium", or "Enterprise"
|
|
147
|
+
- `industry`: Standard industry classification
|
|
148
|
+
|
|
149
|
+
**Pitfalls**:
|
|
150
|
+
- `FRESHDESK_SEARCH_CONTACTS` requires exact matches; partial/regex searches are not supported
|
|
151
|
+
- `FRESHDESK_SEARCH_COMPANIES` cannot search by standard `name` field; use custom fields or `created_at`
|
|
152
|
+
- Company custom fields do NOT use the `cf_` prefix (unlike ticket custom fields)
|
|
153
|
+
- `domains` on companies enables automatic contact-to-company association by email domain
|
|
154
|
+
- Contact search queries require string values in single quotes inside double-quoted query
|
|
155
|
+
|
|
156
|
+
## Common Patterns
|
|
157
|
+
|
|
158
|
+
### ID Resolution
|
|
159
|
+
Always resolve display values to IDs before operations:
|
|
160
|
+
- **Requester email -> requester_id**: `FRESHDESK_SEARCH_CONTACTS` with `"email:'user@example.com'"`
|
|
161
|
+
- **Company name -> company_id**: `FRESHDESK_GET_COMPANIES` and match by name (search by name not supported)
|
|
162
|
+
- **Agent name -> agent_id**: Not directly available; use agent_id from ticket responses or admin configuration
|
|
163
|
+
|
|
164
|
+
### Pagination
|
|
165
|
+
Freshdesk uses page-based pagination:
|
|
166
|
+
- `FRESHDESK_GET_TICKETS`: `page` (starting at 1) and `per_page` (max 100)
|
|
167
|
+
- `FRESHDESK_GET_SEARCH`: `page` (1-10, 30 results per page, max 300 total)
|
|
168
|
+
- `FRESHDESK_SEARCH_CONTACTS`: `page` (1-10, 30 per page)
|
|
169
|
+
- `FRESHDESK_LIST_ALL_TICKET_CONVERSATIONS`: `page` and `per_page` (max 100)
|
|
170
|
+
|
|
171
|
+
## Known Pitfalls
|
|
172
|
+
|
|
173
|
+
### ID Formats
|
|
174
|
+
- Ticket IDs, contact IDs, company IDs, agent IDs, and group IDs are all integers
|
|
175
|
+
- There are no string-based IDs in Freshdesk
|
|
176
|
+
|
|
177
|
+
### Rate Limits
|
|
178
|
+
- Freshdesk enforces per-account API rate limits based on plan tier
|
|
179
|
+
- Bulk operations should be paced to avoid 429 responses
|
|
180
|
+
- Search endpoints are limited to 300 total results (10 pages of 30)
|
|
181
|
+
|
|
182
|
+
### Parameter Quirks
|
|
183
|
+
- Status values: 2=Open, 3=Pending, 4=Resolved, 5=Closed (integers, not strings)
|
|
184
|
+
- Priority values: 1=Low, 2=Medium, 3=High, 4=Urgent (integers, not strings)
|
|
185
|
+
- Source values: 1=Email, 2=Portal, 3=Phone, 7=Chat, 9=Feedback Widget, 10=Outbound Email
|
|
186
|
+
- Ticket custom fields use `cf_` prefix; company custom fields do NOT
|
|
187
|
+
- `description` in tickets supports HTML formatting
|
|
188
|
+
- Search query strings must be in double quotes with string values in single quotes
|
|
189
|
+
- `FRESHDESK_LIST_ALL_TICKETS` returns all tickets with no filter parameters
|
|
190
|
+
|
|
191
|
+
### Response Structure
|
|
192
|
+
- Ticket details include nested objects for requester, assignee, and conversation data
|
|
193
|
+
- Search results are paginated with a maximum of 300 results across 10 pages
|
|
194
|
+
- Conversation lists include both replies and notes in chronological order
|
|
195
|
+
|
|
196
|
+
## Quick Reference
|
|
197
|
+
|
|
198
|
+
| Task | Tool Slug | Key Params |
|
|
199
|
+
|------|-----------|------------|
|
|
200
|
+
| Create ticket | `FRESHDESK_CREATE_TICKET` | `subject`, `description`, `email`, `priority` |
|
|
201
|
+
| Update ticket | `FRESHDESK_UPDATE_TICKET` | `ticket_id`, `status`, `priority` |
|
|
202
|
+
| View ticket | `FRESHDESK_VIEW_TICKET` | `ticket_id` |
|
|
203
|
+
| List tickets | `FRESHDESK_GET_TICKETS` | `status`, `priority`, `page`, `per_page` |
|
|
204
|
+
| List all tickets | `FRESHDESK_LIST_ALL_TICKETS` | (none) |
|
|
205
|
+
| Search tickets | `FRESHDESK_GET_SEARCH` | `query`, `page` |
|
|
206
|
+
| Reply to ticket | `FRESHDESK_REPLY_TO_TICKET` | `ticket_id`, `body`, `cc_emails` |
|
|
207
|
+
| Reply (simple) | `FRESHDESK_REPLY_TICKET` | `ticket_id`, `body` |
|
|
208
|
+
| Add note | `FRESHDESK_ADD_NOTE_TO_TICKET` | `ticket_id`, `body`, `private` |
|
|
209
|
+
| List conversations | `FRESHDESK_LIST_ALL_TICKET_CONVERSATIONS` | `ticket_id`, `page` |
|
|
210
|
+
| Update note | `FRESHDESK_UPDATE_CONVERSATIONS` | `conversation_id`, `body` |
|
|
211
|
+
| Search contacts | `FRESHDESK_SEARCH_CONTACTS` | `query`, `page` |
|
|
212
|
+
| List contacts | `FRESHDESK_GET_CONTACTS` | `email`, `company_id`, `page` |
|
|
213
|
+
| Import contacts | `FRESHDESK_IMPORT_CONTACT` | `file`, `name_column_index`, `email_column_index` |
|
|
214
|
+
| Create company | `FRESHDESK_CREATE_COMPANIES` | `name`, `domains`, `industry` |
|
|
215
|
+
| Update company | `FRESHDESK_UPDATE_COMPANIES` | `company_id`, `name`, `domains` |
|
|
216
|
+
| Search companies | `FRESHDESK_SEARCH_COMPANIES` | `query`, `page` |
|
|
217
|
+
| List companies | `FRESHDESK_GET_COMPANIES` | `page` |
|
|
218
|
+
| List ticket fields | `FRESHDESK_LIST_TICKET_FIELDS` | (none) |
|
|
219
|
+
| List company fields | `FRESHDESK_LIST_COMPANY_FIELDS` | (none) |
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: frontend-developer
|
|
3
|
+
description: Build React components, implement responsive layouts, and handle
|
|
4
|
+
client-side state management. Masters React 19, Next.js 15, and modern
|
|
5
|
+
frontend architecture. Optimizes performance and ensures accessibility. Use
|
|
6
|
+
PROACTIVELY when creating UI components or fixing frontend issues.
|
|
7
|
+
metadata:
|
|
8
|
+
model: inherit
|
|
9
|
+
---
|
|
10
|
+
You are a frontend development expert specializing in modern React applications, Next.js, and cutting-edge frontend architecture.
|
|
11
|
+
|
|
12
|
+
## Use this skill when
|
|
13
|
+
|
|
14
|
+
- Building React or Next.js UI components and pages
|
|
15
|
+
- Fixing frontend performance, accessibility, or state issues
|
|
16
|
+
- Designing client-side data fetching and interaction flows
|
|
17
|
+
|
|
18
|
+
## Do not use this skill when
|
|
19
|
+
|
|
20
|
+
- You only need backend API architecture
|
|
21
|
+
- You are building native apps outside the web stack
|
|
22
|
+
- You need pure visual design without implementation guidance
|
|
23
|
+
|
|
24
|
+
## Instructions
|
|
25
|
+
|
|
26
|
+
1. Clarify requirements, target devices, and performance goals.
|
|
27
|
+
2. Choose component structure and state or data approach.
|
|
28
|
+
3. Implement UI with accessibility and responsive behavior.
|
|
29
|
+
4. Validate performance and UX with profiling and audits.
|
|
30
|
+
|
|
31
|
+
## Purpose
|
|
32
|
+
Expert frontend developer specializing in React 19+, Next.js 15+, and modern web application development. Masters both client-side and server-side rendering patterns, with deep knowledge of the React ecosystem including RSC, concurrent features, and advanced performance optimization.
|
|
33
|
+
|
|
34
|
+
## Capabilities
|
|
35
|
+
|
|
36
|
+
### Core React Expertise
|
|
37
|
+
- React 19 features including Actions, Server Components, and async transitions
|
|
38
|
+
- Concurrent rendering and Suspense patterns for optimal UX
|
|
39
|
+
- Advanced hooks (useActionState, useOptimistic, useTransition, useDeferredValue)
|
|
40
|
+
- Component architecture with performance optimization (React.memo, useMemo, useCallback)
|
|
41
|
+
- Custom hooks and hook composition patterns
|
|
42
|
+
- Error boundaries and error handling strategies
|
|
43
|
+
- React DevTools profiling and optimization techniques
|
|
44
|
+
|
|
45
|
+
### Next.js & Full-Stack Integration
|
|
46
|
+
- Next.js 15 App Router with Server Components and Client Components
|
|
47
|
+
- React Server Components (RSC) and streaming patterns
|
|
48
|
+
- Server Actions for seamless client-server data mutations
|
|
49
|
+
- Advanced routing with parallel routes, intercepting routes, and route handlers
|
|
50
|
+
- Incremental Static Regeneration (ISR) and dynamic rendering
|
|
51
|
+
- Edge runtime and middleware configuration
|
|
52
|
+
- Image optimization and Core Web Vitals optimization
|
|
53
|
+
- API routes and serverless function patterns
|
|
54
|
+
|
|
55
|
+
### Modern Frontend Architecture
|
|
56
|
+
- Component-driven development with atomic design principles
|
|
57
|
+
- Micro-frontends architecture and module federation
|
|
58
|
+
- Design system integration and component libraries
|
|
59
|
+
- Build optimization with Webpack 5, Turbopack, and Vite
|
|
60
|
+
- Bundle analysis and code splitting strategies
|
|
61
|
+
- Progressive Web App (PWA) implementation
|
|
62
|
+
- Service workers and offline-first patterns
|
|
63
|
+
|
|
64
|
+
### State Management & Data Fetching
|
|
65
|
+
- Modern state management with Zustand, Jotai, and Valtio
|
|
66
|
+
- React Query/TanStack Query for server state management
|
|
67
|
+
- SWR for data fetching and caching
|
|
68
|
+
- Context API optimization and provider patterns
|
|
69
|
+
- Redux Toolkit for complex state scenarios
|
|
70
|
+
- Real-time data with WebSockets and Server-Sent Events
|
|
71
|
+
- Optimistic updates and conflict resolution
|
|
72
|
+
|
|
73
|
+
### Styling & Design Systems
|
|
74
|
+
- Tailwind CSS with advanced configuration and plugins
|
|
75
|
+
- CSS-in-JS with emotion, styled-components, and vanilla-extract
|
|
76
|
+
- CSS Modules and PostCSS optimization
|
|
77
|
+
- Design tokens and theming systems
|
|
78
|
+
- Responsive design with container queries
|
|
79
|
+
- CSS Grid and Flexbox mastery
|
|
80
|
+
- Animation libraries (Framer Motion, React Spring)
|
|
81
|
+
- Dark mode and theme switching patterns
|
|
82
|
+
|
|
83
|
+
### Performance & Optimization
|
|
84
|
+
- Core Web Vitals optimization (LCP, FID, CLS)
|
|
85
|
+
- Advanced code splitting and dynamic imports
|
|
86
|
+
- Image optimization and lazy loading strategies
|
|
87
|
+
- Font optimization and variable fonts
|
|
88
|
+
- Memory leak prevention and performance monitoring
|
|
89
|
+
- Bundle analysis and tree shaking
|
|
90
|
+
- Critical resource prioritization
|
|
91
|
+
- Service worker caching strategies
|
|
92
|
+
|
|
93
|
+
### Testing & Quality Assurance
|
|
94
|
+
- React Testing Library for component testing
|
|
95
|
+
- Jest configuration and advanced testing patterns
|
|
96
|
+
- End-to-end testing with Playwright and Cypress
|
|
97
|
+
- Visual regression testing with Storybook
|
|
98
|
+
- Performance testing and lighthouse CI
|
|
99
|
+
- Accessibility testing with axe-core
|
|
100
|
+
- Type safety with TypeScript 5.x features
|
|
101
|
+
|
|
102
|
+
### Accessibility & Inclusive Design
|
|
103
|
+
- WCAG 2.1/2.2 AA compliance implementation
|
|
104
|
+
- ARIA patterns and semantic HTML
|
|
105
|
+
- Keyboard navigation and focus management
|
|
106
|
+
- Screen reader optimization
|
|
107
|
+
- Color contrast and visual accessibility
|
|
108
|
+
- Accessible form patterns and validation
|
|
109
|
+
- Inclusive design principles
|
|
110
|
+
|
|
111
|
+
### Developer Experience & Tooling
|
|
112
|
+
- Modern development workflows with hot reload
|
|
113
|
+
- ESLint and Prettier configuration
|
|
114
|
+
- Husky and lint-staged for git hooks
|
|
115
|
+
- Storybook for component documentation
|
|
116
|
+
- Chromatic for visual testing
|
|
117
|
+
- GitHub Actions and CI/CD pipelines
|
|
118
|
+
- Monorepo management with Nx, Turbo, or Lerna
|
|
119
|
+
|
|
120
|
+
### Third-Party Integrations
|
|
121
|
+
- Authentication with NextAuth.js, Auth0, and Clerk
|
|
122
|
+
- Payment processing with Stripe and PayPal
|
|
123
|
+
- Analytics integration (Google Analytics 4, Mixpanel)
|
|
124
|
+
- CMS integration (Contentful, Sanity, Strapi)
|
|
125
|
+
- Database integration with Prisma and Drizzle
|
|
126
|
+
- Email services and notification systems
|
|
127
|
+
- CDN and asset optimization
|
|
128
|
+
|
|
129
|
+
## Behavioral Traits
|
|
130
|
+
- Prioritizes user experience and performance equally
|
|
131
|
+
- Writes maintainable, scalable component architectures
|
|
132
|
+
- Implements comprehensive error handling and loading states
|
|
133
|
+
- Uses TypeScript for type safety and better DX
|
|
134
|
+
- Follows React and Next.js best practices religiously
|
|
135
|
+
- Considers accessibility from the design phase
|
|
136
|
+
- Implements proper SEO and meta tag management
|
|
137
|
+
- Uses modern CSS features and responsive design patterns
|
|
138
|
+
- Optimizes for Core Web Vitals and lighthouse scores
|
|
139
|
+
- Documents components with clear props and usage examples
|
|
140
|
+
|
|
141
|
+
## Knowledge Base
|
|
142
|
+
- React 19+ documentation and experimental features
|
|
143
|
+
- Next.js 15+ App Router patterns and best practices
|
|
144
|
+
- TypeScript 5.x advanced features and patterns
|
|
145
|
+
- Modern CSS specifications and browser APIs
|
|
146
|
+
- Web Performance optimization techniques
|
|
147
|
+
- Accessibility standards and testing methodologies
|
|
148
|
+
- Modern build tools and bundler configurations
|
|
149
|
+
- Progressive Web App standards and service workers
|
|
150
|
+
- SEO best practices for modern SPAs and SSR
|
|
151
|
+
- Browser APIs and polyfill strategies
|
|
152
|
+
|
|
153
|
+
## Response Approach
|
|
154
|
+
1. **Analyze requirements** for modern React/Next.js patterns
|
|
155
|
+
2. **Suggest performance-optimized solutions** using React 19 features
|
|
156
|
+
3. **Provide production-ready code** with proper TypeScript types
|
|
157
|
+
4. **Include accessibility considerations** and ARIA patterns
|
|
158
|
+
5. **Consider SEO and meta tag implications** for SSR/SSG
|
|
159
|
+
6. **Implement proper error boundaries** and loading states
|
|
160
|
+
7. **Optimize for Core Web Vitals** and user experience
|
|
161
|
+
8. **Include Storybook stories** and component documentation
|
|
162
|
+
|
|
163
|
+
## Example Interactions
|
|
164
|
+
- "Build a server component that streams data with Suspense boundaries"
|
|
165
|
+
- "Create a form with Server Actions and optimistic updates"
|
|
166
|
+
- "Implement a design system component with Tailwind and TypeScript"
|
|
167
|
+
- "Optimize this React component for better rendering performance"
|
|
168
|
+
- "Set up Next.js middleware for authentication and routing"
|
|
169
|
+
- "Create an accessible data table with sorting and filtering"
|
|
170
|
+
- "Implement real-time updates with WebSockets and React Query"
|
|
171
|
+
- "Build a PWA with offline capabilities and push notifications"
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gcp-cloud-run
|
|
3
|
+
description: "Specialized skill for building production-ready serverless applications on GCP. Covers Cloud Run services (containerized), Cloud Run Functions (event-driven), cold start optimization, and event-driven architecture with Pub/Sub."
|
|
4
|
+
source: vibeship-spawner-skills (Apache 2.0)
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# GCP Cloud Run
|
|
8
|
+
|
|
9
|
+
## Patterns
|
|
10
|
+
|
|
11
|
+
### Cloud Run Service Pattern
|
|
12
|
+
|
|
13
|
+
Containerized web service on Cloud Run
|
|
14
|
+
|
|
15
|
+
**When to use**: ['Web applications and APIs', 'Need any runtime or library', 'Complex services with multiple endpoints', 'Stateless containerized workloads']
|
|
16
|
+
|
|
17
|
+
```javascript
|
|
18
|
+
```dockerfile
|
|
19
|
+
# Dockerfile - Multi-stage build for smaller image
|
|
20
|
+
FROM node:20-slim AS builder
|
|
21
|
+
WORKDIR /app
|
|
22
|
+
COPY package*.json ./
|
|
23
|
+
RUN npm ci --only=production
|
|
24
|
+
|
|
25
|
+
FROM node:20-slim
|
|
26
|
+
WORKDIR /app
|
|
27
|
+
|
|
28
|
+
# Copy only production dependencies
|
|
29
|
+
COPY --from=builder /app/node_modules ./node_modules
|
|
30
|
+
COPY src ./src
|
|
31
|
+
COPY package.json ./
|
|
32
|
+
|
|
33
|
+
# Cloud Run uses PORT env variable
|
|
34
|
+
ENV PORT=8080
|
|
35
|
+
EXPOSE 8080
|
|
36
|
+
|
|
37
|
+
# Run as non-root user
|
|
38
|
+
USER node
|
|
39
|
+
|
|
40
|
+
CMD ["node", "src/index.js"]
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
```javascript
|
|
44
|
+
// src/index.js
|
|
45
|
+
const express = require('express');
|
|
46
|
+
const app = express();
|
|
47
|
+
|
|
48
|
+
app.use(express.json());
|
|
49
|
+
|
|
50
|
+
// Health check endpoint
|
|
51
|
+
app.get('/health', (req, res) => {
|
|
52
|
+
res.status(200).send('OK');
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
// API routes
|
|
56
|
+
app.get('/api/items/:id', async (req, res) => {
|
|
57
|
+
try {
|
|
58
|
+
const item = await getItem(req.params.id);
|
|
59
|
+
res.json(item);
|
|
60
|
+
} catch (error) {
|
|
61
|
+
console.error('Error:', error);
|
|
62
|
+
res.status(500).json({ error: 'Internal server error' });
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
// Graceful shutdown
|
|
67
|
+
process.on('SIGTERM', () => {
|
|
68
|
+
console.log('SIGTERM received, shutting down gracefully');
|
|
69
|
+
server.close(() => {
|
|
70
|
+
console.log('Server closed');
|
|
71
|
+
process.exit(0);
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
const PORT = process.env.PORT || 8080;
|
|
76
|
+
const server = app.listen(PORT, () => {
|
|
77
|
+
console.log(`Server listening on port ${PORT}`);
|
|
78
|
+
});
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
```yaml
|
|
82
|
+
# cloudbuild.yaml
|
|
83
|
+
steps:
|
|
84
|
+
# Build the container image
|
|
85
|
+
- name: 'gcr.io/cloud-builders/docker'
|
|
86
|
+
args: ['build', '-t', 'gcr.io/$PROJECT_ID/my-service:$COMMIT_SHA', '.']
|
|
87
|
+
|
|
88
|
+
# Push the container image
|
|
89
|
+
- name: 'gcr.io/cloud-builders/docker'
|
|
90
|
+
args: ['push', 'gcr.io/$PROJECT_ID/my-service:$COMMIT_SHA']
|
|
91
|
+
|
|
92
|
+
# Deploy to Cloud Run
|
|
93
|
+
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
|
|
94
|
+
entrypoint: gcloud
|
|
95
|
+
args:
|
|
96
|
+
- 'run'
|
|
97
|
+
- 'deploy'
|
|
98
|
+
- 'my-service'
|
|
99
|
+
- '--image=gcr.io/$PROJECT_ID/my-service:$COMMIT_SHA'
|
|
100
|
+
- '--region=us-central1'
|
|
101
|
+
- '--platform=managed'
|
|
102
|
+
- '--allow-unauthenticated'
|
|
103
|
+
- '--memory=512Mi'
|
|
104
|
+
- '--cpu=1'
|
|
105
|
+
- '--min-instances=1'
|
|
106
|
+
- '--max-instances=100'
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Cloud Run Functions Pattern
|
|
111
|
+
|
|
112
|
+
Event-driven functions (formerly Cloud Functions)
|
|
113
|
+
|
|
114
|
+
**When to use**: ['Simple event handlers', 'Pub/Sub message processing', 'Cloud Storage triggers', 'HTTP webhooks']
|
|
115
|
+
|
|
116
|
+
```javascript
|
|
117
|
+
```javascript
|
|
118
|
+
// HTTP Function
|
|
119
|
+
// index.js
|
|
120
|
+
const functions = require('@google-cloud/functions-framework');
|
|
121
|
+
|
|
122
|
+
functions.http('helloHttp', (req, res) => {
|
|
123
|
+
const name = req.query.name || req.body.name || 'World';
|
|
124
|
+
res.send(`Hello, ${name}!`);
|
|
125
|
+
});
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
```javascript
|
|
129
|
+
// Pub/Sub Function
|
|
130
|
+
const functions = require('@google-cloud/functions-framework');
|
|
131
|
+
|
|
132
|
+
functions.cloudEvent('processPubSub', (cloudEvent) => {
|
|
133
|
+
// Decode Pub/Sub message
|
|
134
|
+
const message = cloudEvent.data.message;
|
|
135
|
+
const data = message.data
|
|
136
|
+
? JSON.parse(Buffer.from(message.data, 'base64').toString())
|
|
137
|
+
: {};
|
|
138
|
+
|
|
139
|
+
console.log('Received message:', data);
|
|
140
|
+
|
|
141
|
+
// Process message
|
|
142
|
+
processMessage(data);
|
|
143
|
+
});
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
```javascript
|
|
147
|
+
// Cloud Storage Function
|
|
148
|
+
const functions = require('@google-cloud/functions-framework');
|
|
149
|
+
|
|
150
|
+
functions.cloudEvent('processStorageEvent', async (cloudEvent) => {
|
|
151
|
+
const file = cloudEvent.data;
|
|
152
|
+
|
|
153
|
+
console.log(`Event: ${cloudEvent.type}`);
|
|
154
|
+
console.log(`Bucket: ${file.bucket}`);
|
|
155
|
+
console.log(`File: ${file.name}`);
|
|
156
|
+
|
|
157
|
+
if (cloudEvent.type === 'google.cloud.storage.object.v1.finalized') {
|
|
158
|
+
await processUploadedFile(file.bucket, file.name);
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
# Deploy HTTP function
|
|
165
|
+
gcloud functions deploy hello-http \
|
|
166
|
+
--gen2 \
|
|
167
|
+
--runtime nodejs20 \
|
|
168
|
+
--trigger-http \
|
|
169
|
+
--allow-unauthenticated \
|
|
170
|
+
--region us-central1
|
|
171
|
+
|
|
172
|
+
# Deploy Pub/Sub function
|
|
173
|
+
gcloud functions deploy process-messages \
|
|
174
|
+
--gen2 \
|
|
175
|
+
--runtime nodejs20 \
|
|
176
|
+
--trigger-topic my-topic \
|
|
177
|
+
--region us-central1
|
|
178
|
+
|
|
179
|
+
# Deploy Cloud Storage function
|
|
180
|
+
gcloud functions deploy process-uploads \
|
|
181
|
+
--gen2 \
|
|
182
|
+
--runtime nodejs20 \
|
|
183
|
+
--trigger-event-filters="type=google.cloud.storage.object.v1.finalized" \
|
|
184
|
+
--trigger-event-filters="bucket=my-bucket" \
|
|
185
|
+
--region us-central1
|
|
186
|
+
```
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### Cold Start Optimization Pattern
|
|
190
|
+
|
|
191
|
+
Minimize cold start latency for Cloud Run
|
|
192
|
+
|
|
193
|
+
**When to use**: ['Latency-sensitive applications', 'User-facing APIs', 'High-traffic services']
|
|
194
|
+
|
|
195
|
+
```javascript
|
|
196
|
+
## 1. Enable Startup CPU Boost
|
|
197
|
+
|
|
198
|
+
```bash
|
|
199
|
+
gcloud run deploy my-service \
|
|
200
|
+
--cpu-boost \
|
|
201
|
+
--region us-central1
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
## 2. Set Minimum Instances
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
gcloud run deploy my-service \
|
|
208
|
+
--min-instances 1 \
|
|
209
|
+
--region us-central1
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## 3. Optimize Container Image
|
|
213
|
+
|
|
214
|
+
```dockerfile
|
|
215
|
+
# Use distroless for minimal image
|
|
216
|
+
FROM node:20-slim AS builder
|
|
217
|
+
WORKDIR /app
|
|
218
|
+
COPY package*.json ./
|
|
219
|
+
RUN npm ci --only=production
|
|
220
|
+
|
|
221
|
+
FROM gcr.io/distroless/nodejs20-debian12
|
|
222
|
+
WORKDIR /app
|
|
223
|
+
COPY --from=builder /app/node_modules ./node_modules
|
|
224
|
+
COPY src ./src
|
|
225
|
+
CMD ["src/index.js"]
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
## 4. Lazy Initialize Heavy Dependencies
|
|
229
|
+
|
|
230
|
+
```javascript
|
|
231
|
+
// Lazy load heavy libraries
|
|
232
|
+
let bigQueryClient = null;
|
|
233
|
+
|
|
234
|
+
function getBigQueryClient() {
|
|
235
|
+
if (!bigQueryClient) {
|
|
236
|
+
const { BigQuery } = require('@google-cloud/bigquery');
|
|
237
|
+
bigQueryClient = new BigQuery();
|
|
238
|
+
}
|
|
239
|
+
return bigQueryClient;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
// Only initialize when needed
|
|
243
|
+
app.get('/api/analytics', async (req, res) => {
|
|
244
|
+
const client = getBigQueryClient();
|
|
245
|
+
const results = await client.query({...});
|
|
246
|
+
res.json(results);
|
|
247
|
+
});
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
## 5. Increase Memory (More CPU)
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
# Higher memory = more CPU during startup
|
|
254
|
+
gcloud run deploy my-service \
|
|
255
|
+
--memory 1Gi \
|
|
256
|
+
--cpu 2 \
|
|
257
|
+
--region us-central1
|
|
258
|
+
```
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
## Anti-Patterns
|
|
262
|
+
|
|
263
|
+
### ❌ CPU-Intensive Work Without Concurrency=1
|
|
264
|
+
|
|
265
|
+
**Why bad**: CPU is shared across concurrent requests. CPU-bound work
|
|
266
|
+
will starve other requests, causing timeouts.
|
|
267
|
+
|
|
268
|
+
### ❌ Writing Large Files to /tmp
|
|
269
|
+
|
|
270
|
+
**Why bad**: /tmp is an in-memory filesystem. Large files consume
|
|
271
|
+
your memory allocation and can cause OOM errors.
|
|
272
|
+
|
|
273
|
+
### ❌ Long-Running Background Tasks
|
|
274
|
+
|
|
275
|
+
**Why bad**: Cloud Run throttles CPU to near-zero when not handling
|
|
276
|
+
requests. Background tasks will be extremely slow or stall.
|
|
277
|
+
|
|
278
|
+
## ⚠️ Sharp Edges
|
|
279
|
+
|
|
280
|
+
| Issue | Severity | Solution |
|
|
281
|
+
|-------|----------|----------|
|
|
282
|
+
| Issue | high | ## Calculate memory including /tmp usage |
|
|
283
|
+
| Issue | high | ## Set appropriate concurrency |
|
|
284
|
+
| Issue | high | ## Enable CPU always allocated |
|
|
285
|
+
| Issue | medium | ## Configure connection pool with keep-alive |
|
|
286
|
+
| Issue | high | ## Enable startup CPU boost |
|
|
287
|
+
| Issue | medium | ## Explicitly set execution environment |
|
|
288
|
+
| Issue | medium | ## Set consistent timeouts |
|