@zaip-ai/cli 1.3.8 → 1.4.2
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 +58 -3
- package/dist/commands/init.d.ts +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +17 -6
- package/dist/commands/init.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/services/adapters.js +4 -4
- package/dist/services/adapters.js.map +1 -1
- package/dist/services/codex-config-template.d.ts +2 -2
- package/dist/services/codex-config-template.d.ts.map +1 -1
- package/dist/services/codex-config-template.js +3 -3
- package/dist/services/codex-config-template.js.map +1 -1
- package/dist/services/codex-rules.d.ts +1 -1
- package/dist/services/codex-rules.d.ts.map +1 -1
- package/dist/services/codex-rules.js +9 -24
- package/dist/services/codex-rules.js.map +1 -1
- package/dist/services/delivery-git-preflight.d.ts +23 -0
- package/dist/services/delivery-git-preflight.d.ts.map +1 -0
- package/dist/services/delivery-git-preflight.js +69 -0
- package/dist/services/delivery-git-preflight.js.map +1 -0
- package/dist/services/doctor.d.ts.map +1 -1
- package/dist/services/doctor.js +13 -1
- package/dist/services/doctor.js.map +1 -1
- package/dist/services/install-agents-template.d.ts.map +1 -1
- package/dist/services/install-agents-template.js +22 -28
- package/dist/services/install-agents-template.js.map +1 -1
- package/dist/services/install-profile.d.ts +8 -0
- package/dist/services/install-profile.d.ts.map +1 -0
- package/dist/services/install-profile.js +56 -0
- package/dist/services/install-profile.js.map +1 -0
- package/dist/services/logger.d.ts.map +1 -1
- package/dist/services/logger.js +6 -5
- package/dist/services/logger.js.map +1 -1
- package/dist/services/stack-git.d.ts +9 -0
- package/dist/services/stack-git.d.ts.map +1 -0
- package/dist/services/stack-git.js +188 -0
- package/dist/services/stack-git.js.map +1 -0
- package/dist/services/stack-plan.d.ts +3 -1
- package/dist/services/stack-plan.d.ts.map +1 -1
- package/dist/services/stack-plan.js +15 -1
- package/dist/services/stack-plan.js.map +1 -1
- package/dist/services/stack-terraform.d.ts +13 -0
- package/dist/services/stack-terraform.d.ts.map +1 -0
- package/dist/services/stack-terraform.js +274 -0
- package/dist/services/stack-terraform.js.map +1 -0
- package/dist/services/template-manifest.d.ts.map +1 -1
- package/dist/services/template-manifest.js +14 -1
- package/dist/services/template-manifest.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/templates/.agents/.env.example +34 -0
- package/templates/{README.md → .agents/README.md} +124 -60
- package/templates/.agents/config/agents/catalog.yaml +23 -23
- package/templates/.agents/config/clients/codex/agents/zaip-agent-analyst.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-auditor.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-backend.toml +5 -4
- package/templates/.agents/config/clients/codex/agents/zaip-agent-brand-strategist.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-builder.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-cloud-engineer.toml +10 -7
- package/templates/.agents/config/clients/codex/agents/zaip-agent-data-analyst.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-designer.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-finalizer.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-frontend.toml +5 -4
- package/templates/.agents/config/clients/codex/agents/zaip-agent-general-operations.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-governance-compliance.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-growth-strategist.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-integrator.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-marketing-analyst.toml +5 -4
- package/templates/.agents/config/clients/codex/agents/zaip-agent-orchestrator.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-refactoring-specialist.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-reviewer.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-sales-specialist.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-security-auditor.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-task-executor.toml +1 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-website-developer.toml +5 -4
- package/templates/.agents/config/clients/codex/agents/zaip-agent-writer.toml +1 -0
- package/templates/.agents/config/pricing/models.json +25 -1
- package/templates/.agents/config/project.yaml +2 -0
- package/templates/.agents/dashboard/.zaip-managed.json +208 -88
- package/templates/.agents/dashboard/DATA-DICTIONARY.md +1 -1
- package/templates/.agents/dashboard/README.md +58 -19
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{CostCalculationGuidePage-DwVZOmMV.js → CostCalculationGuidePage-snUCQYTC.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{DashboardHelpDialog-VcLx9iOO.js → DashboardHelpDialog-oZVlf-l5.js} +72 -8
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{PricingSettingsDialog-CyjMXkm8.js → PricingSettingsDialog-BPtVUGgs.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/ProjectSettingsPage-3Awyaovx.js +3 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{TraceabilityWorkspace-DFZwIXSC.js → TraceabilityWorkspace-BYjVOHI_.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/cost-monitor-DbaLbU2q.js +68 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{icons-vendor-DXBOtWNI.js → icons-vendor-TPUT2IUt.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/index-Cmlx8OYH.css +1 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/index-ZJFXmK7m.js +2 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{react-vendor-DaNXQPyk.js → react-vendor-Ct48XHGL.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{traceability-I4AKqVDX.js → traceability-BDe4_Ubl.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/index.html +6 -6
- package/templates/.agents/dashboard/apps/frontend/src/App.tsx +73 -67
- package/templates/.agents/dashboard/apps/frontend/src/AppLoadingBoundary.tsx +35 -7
- package/templates/.agents/dashboard/apps/frontend/src/AppWorkBoard.ts +55 -0
- package/templates/.agents/dashboard/apps/frontend/src/ProjectStackEditor.tsx +11 -0
- package/templates/.agents/dashboard/apps/frontend/src/app-loading-boundary.css +98 -0
- package/templates/.agents/dashboard/apps/frontend/src/cost-period-refresh.test.ts +5 -5
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-api-reconciliation.ts +33 -0
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-api.test.ts +75 -0
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-api.ts +7 -8
- package/templates/.agents/dashboard/apps/frontend/src/project-settings-model.ts +14 -2
- package/templates/.agents/dashboard/apps/frontend/src/project-settings.test.ts +35 -0
- package/templates/.agents/dashboard/apps/frontend/src/snapshot-coherence.test.ts +78 -2
- package/templates/.agents/dashboard/apps/frontend/src/use-app-cost-loaders.test.ts +28 -0
- package/templates/.agents/dashboard/apps/frontend/src/use-app-cost-loaders.ts +8 -5
- package/templates/.agents/dashboard/apps/frontend/src/use-app-effects.ts +180 -1
- package/templates/.agents/dashboard/modules/cost-monitor/src/contracts.ts +7 -4
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostMonitorContent.tsx +13 -7
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostMonitorPage.tsx +14 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostTableDisplay.ts +211 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostTables.test.ts +152 -157
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostTables.tsx +155 -142
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/InvocationManifestQuery.test.ts +145 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/period-cost-groups.ts +7 -5
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/use-compact-cost-page.ts +4 -1
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/use-cost-group-page.ts +4 -1
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/use-cost-run-page.ts +4 -1
- package/templates/.agents/dashboard/modules/cost-monitor/src/server/build-cost-summary-projection.ts +4 -4
- package/templates/.agents/dashboard/modules/operations/src/react/export/ExcelExportAction.test.ts +79 -1
- package/templates/.agents/dashboard/modules/operations/src/react/export/ExcelExportAction.tsx +105 -11
- package/templates/.agents/dashboard/packages/local-runtime/dist/server.cjs +482 -332
- package/templates/.agents/dashboard/packages/local-runtime/dist/sqlite-read-model.cjs +430 -285
- package/templates/.agents/dashboard/packages/local-runtime/scripts/build-sqlite-runtime.mjs +14 -2
- package/templates/.agents/dashboard/packages/local-runtime/scripts/rebuild-sqlite-read-model.mjs +6 -26
- package/templates/.agents/dashboard/packages/local-runtime/scripts/validate-sqlite-read-model.mjs +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/scripts/verify-persistent-launch.mjs +268 -0
- package/templates/.agents/dashboard/packages/local-runtime/server.mjs +482 -332
- package/templates/.agents/dashboard/packages/local-runtime/src/project-settings.test.ts +90 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/project-settings.ts +112 -22
- package/templates/.agents/dashboard/packages/local-runtime/src/server-agent-assets.ts +39 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-browser-lease.ts +33 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-reconciliation-refresh.test.ts +148 -11
- package/templates/.agents/dashboard/packages/local-runtime/src/server-reconciliation-result.test.ts +68 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-snapshot-refresh.test.ts +19 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-snapshot-refresh.ts +39 -43
- package/templates/.agents/dashboard/packages/local-runtime/src/server-snapshot-revision.test.ts +42 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-snapshot-revision.ts +26 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-snapshot-synchronization.ts +34 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-startup.ts +30 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-work-reconciliation.test.ts +89 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-work-reconciliation.ts +88 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-workspace.ts +68 -7
- package/templates/.agents/dashboard/packages/local-runtime/src/server.test.ts +11 -5
- package/templates/.agents/dashboard/packages/local-runtime/src/server.ts +129 -99
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-agent-productivity.test.ts +111 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-agent-productivity.ts +140 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-cost-agent-page.test.ts +127 -4
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-cost-agent-page.ts +145 -5
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-cost-aggregates.ts +156 -23
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-cost-group-projection.ts +18 -9
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-cost-invocation-projection.ts +52 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-first-fold-persistence.ts +35 -13
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-force-canonical.test.ts +56 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-incremental-cache.test.ts +29 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-incremental-cache.ts +136 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-incremental-refresh.test.ts +251 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-operations-projection.ts +22 -7
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-cache.test-support.ts +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-canonical-parsing.ts +42 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-canonical.ts +793 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-multi-provider-duration.test.ts +270 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-multi-provider-fixture.ts +3 -2
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-multi-provider.test.ts +18 -4
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-source-fingerprint.test.ts +87 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-source-fingerprint.ts +105 -16
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model.test.ts +131 -59
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model.ts +1000 -1115
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-snapshot-cache.ts +13 -92
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-launch-claims.test.mjs +79 -0
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-launch-page.mjs +27 -0
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-lifecycle.mjs +6 -6
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-prerequisites.mjs +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-refresh.mjs +2 -10
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-runtime-selection.mjs +36 -0
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-runtime-selection.test.mjs +63 -0
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-server.mjs +142 -0
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard.mjs +262 -267
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard.test.mjs +18 -29
- package/templates/.agents/dashboard/packages/windows-launcher/Program.cs +6 -0
- package/templates/.agents/dashboard/zaip-dashboard-windows.exe +0 -0
- package/templates/.agents/requirements/autonomous-assurance.md +1 -1
- package/templates/.agents/requirements/cloud-hostinger-autonomy.md +47 -0
- package/templates/.agents/requirements/comparative-audit.md +1 -1
- package/templates/.agents/requirements/context-engine.md +1 -1
- package/templates/.agents/requirements/cost-observability.md +1 -1
- package/templates/.agents/requirements/dashboard-launch.md +2 -2
- package/templates/.agents/requirements/data-export.md +1 -1
- package/templates/.agents/requirements/design-system.md +1 -1
- package/templates/.agents/requirements/execution-engine.md +1 -1
- package/templates/.agents/requirements/kanban-dashboard.md +1 -1
- package/templates/.agents/requirements/model-orchestration.md +1 -1
- package/templates/.agents/requirements/public-distribution.md +1 -1
- package/templates/.agents/requirements/software-architecture.md +1 -1
- package/templates/.agents/requirements/strategic-improvements.md +1 -1
- package/templates/.agents/requirements/work-lifecycle.md +1 -1
- package/templates/.agents/requirements/zaip-strategic-95.md +1 -1
- package/templates/.agents/rules/autonomy-decision.md +1 -1
- package/templates/.agents/rules/cloud-hostinger-autonomy.md +21 -0
- package/templates/.agents/rules/core.md +5 -4
- package/templates/.agents/rules/local-sqlite-storage.md +18 -0
- package/templates/.agents/rules/meta-mcp.md +21 -0
- package/templates/.agents/rules/workflow.md +1 -0
- package/templates/.agents/runtime/bin/zaip.mjs +305 -137
- package/templates/.agents/runtime/checksums.sha256 +2 -2
- package/templates/.agents/runtime/provenance.json +2 -2
- package/templates/.agents/skills/zaip-skill-api-to-mcp/SKILL.md +4 -0
- package/templates/.agents/skills/zaip-skill-brand-governance/SKILL.md +25 -9
- package/templates/.agents/skills/zaip-skill-brand-governance/references/brandbook-framework.md +2 -2
- package/templates/.agents/skills/zaip-skill-brand-governance/references/brandbook-standards.md +2 -2
- package/templates/.agents/skills/zaip-skill-change/references/observable-evidence.md +15 -0
- package/templates/.agents/skills/zaip-skill-dashboard-sqlite/SKILL.md +13 -5
- package/templates/.agents/skills/zaip-skill-data-analyst/SKILL.md +10 -5
- package/templates/.agents/skills/zaip-skill-execution/SKILL.md +5 -4
- package/templates/.agents/skills/zaip-skill-frontend-launcher/SKILL.md +4 -3
- package/templates/.agents/skills/zaip-skill-frontend-launcher/references/launcher-contract.md +5 -3
- package/templates/.agents/skills/zaip-skill-github-deploy/SKILL.md +5 -5
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/preflight.mjs +78 -13
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/preflight.test.mjs +59 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/yaml-parser.mjs +157 -0
- package/templates/.agents/skills/zaip-skill-growth-strategy-revops/SKILL.md +11 -6
- package/templates/.agents/skills/zaip-skill-hostinger-cloudflare-terraform/SKILL.md +17 -0
- package/templates/.agents/skills/zaip-skill-hostinger-cloudflare-terraform/agents/openai.yaml +7 -0
- package/templates/.agents/skills/zaip-skill-hostinger-cloudflare-terraform/references/autonomous-cloud-inputs.example.json +41 -0
- package/templates/.agents/skills/zaip-skill-hostinger-cloudflare-terraform/references/autonomous-runner.md +84 -0
- package/templates/.agents/skills/zaip-skill-hostinger-cloudflare-terraform/references/operational-contract.md +19 -0
- package/templates/.agents/skills/zaip-skill-local-credentials/SKILL.md +43 -0
- package/templates/.agents/skills/zaip-skill-local-credentials/agents/openai.yaml +6 -0
- package/templates/.agents/skills/zaip-skill-local-credentials/references/dotenv-resolution.md +47 -0
- package/templates/.agents/skills/zaip-skill-marketing/SKILL.md +8 -3
- package/templates/.agents/skills/zaip-skill-meta-ads/SKILL.md +16 -0
- package/templates/.agents/skills/zaip-skill-meta-ads/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-meta-ads/references/setup.md +3 -0
- package/templates/.agents/skills/zaip-skill-meta-ads-setup/SKILL.md +24 -0
- package/templates/.agents/skills/zaip-skill-meta-ads-setup/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-meta-ads-setup/references/diagnostics.md +13 -0
- package/templates/.agents/skills/zaip-skill-meta-ads-setup/references/official-sources.md +10 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-api-health/SKILL.md +12 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-api-health/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-api-health/references/LICENSE +21 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-api-health/references/upstream.md +77 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-api-integration/SKILL.md +12 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-api-integration/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-api-integration/references/LICENSE +21 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-api-integration/references/upstream.md +126 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-app-health-check/SKILL.md +12 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-app-health-check/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-app-health-check/references/LICENSE +21 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-app-health-check/references/upstream.md +67 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-app-review-prep/SKILL.md +12 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-app-review-prep/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-app-review-prep/references/LICENSE +21 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-app-review-prep/references/upstream.md +69 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-compliance-check/SKILL.md +12 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-compliance-check/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-compliance-check/references/LICENSE +21 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-compliance-check/references/upstream.md +79 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-debug-access-token/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-debug-access-token/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-debug-access-token/references/LICENSE +21 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-debug-access-token/references/upstream.md +144 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-debug-webhooks/SKILL.md +12 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-debug-webhooks/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-debug-webhooks/references/LICENSE +21 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-debug-webhooks/references/upstream.md +83 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-search-docs/SKILL.md +10 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-search-docs/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-search-docs/references/LICENSE +21 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-search-docs/references/setup.md +11 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-search-docs/references/upstream.md +55 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-webhook-setup/SKILL.md +12 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-webhook-setup/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-webhook-setup/references/LICENSE +21 -0
- package/templates/.agents/skills/zaip-skill-meta-devtools-webhook-setup/references/upstream.md +56 -0
- package/templates/.agents/skills/zaip-skill-sales-methodology/SKILL.md +12 -7
- package/templates/.agents/skills/zaip-skill-sqlite-read-model/SKILL.md +11 -4
- package/templates/.agents/skills/zaip-skill-tool-setup/SKILL.md +6 -4
- package/templates/.agents/skills/zaip-skill-tool-setup/references/codex-config.md +4 -2
- package/templates/.agents/skills/zaip-skill-tool-setup/references/secrets.md +1 -0
- package/templates/.agents/tools/catalog.yaml +6 -0
- package/templates/.agents/tools/cloud-runner-dns.mjs +28 -0
- package/templates/.agents/tools/cloud-runner-terraform.mjs +212 -0
- package/templates/.agents/tools/cloud-runner.integration.test.mjs +239 -0
- package/templates/.agents/tools/cloud-runner.mjs +786 -0
- package/templates/.agents/tools/cloud-runner.test.mjs +534 -0
- package/templates/.agents/tools/cloud-terraform-plan-policy.mjs +262 -0
- package/templates/.agents/tools/mcp/development/meta-devtools/README.md +14 -0
- package/templates/.agents/tools/mcp/development/meta-devtools/manifest.yaml +28 -0
- package/templates/.agents/tools/mcp/infra/cloudflare/manifest.yaml +2 -3
- package/templates/.agents/tools/mcp/infra/hostinger/manifest.yaml +1 -3
- package/templates/.agents/tools/mcp/marketing/meta-ads/README.md +15 -13
- package/templates/.agents/tools/mcp/marketing/meta-ads/manifest.yaml +15 -10
- package/templates/.agents/tools/profiles/development.yaml +3 -0
- package/templates/infra/terraform/.terraform.lock.hcl +42 -0
- package/templates/infra/terraform/README.md +31 -0
- package/templates/infra/terraform/backend.tf.json +13 -0
- package/templates/infra/terraform/deployment-inputs.example.yaml +22 -0
- package/templates/infra/terraform/fixtures/approved-targets.json +32 -0
- package/templates/infra/terraform/fixtures/plan-approved.json +67 -0
- package/templates/infra/terraform/main.tf +77 -0
- package/templates/infra/terraform/outputs.tf +20 -0
- package/templates/infra/terraform/terraform.tfvars.example +26 -0
- package/templates/infra/terraform/variables.tf +91 -0
- package/templates/infra/terraform/versions.tf +18 -0
- package/templates/scripts/validate-cloud-hostinger-contract.mjs +89 -0
- package/templates/scripts/validate-cloud-terraform-plan.mjs +1 -0
- package/templates/template-manifest.json +607 -167
- package/templates/.agents/dashboard/apps/frontend/dist/assets/ProjectSettingsPage-BwnJpl02.js +0 -3
- package/templates/.agents/dashboard/apps/frontend/dist/assets/cost-monitor-C09KmlSw.js +0 -68
- package/templates/.agents/dashboard/apps/frontend/dist/assets/index-Dyo_wpL4.js +0 -2
- package/templates/.agents/dashboard/apps/frontend/dist/assets/index-hPPfVGQv.css +0 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-stale-seed.ts +0 -50
package/templates/.agents/skills/zaip-skill-meta-devtools-api-integration/references/upstream.md
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: api-integration
|
|
3
|
+
description: "Guide a developer through setting up a Meta API integration from scratch — discovers the right APIs, fetches setup guides, authentication requirements, permissions, and code examples. Use when the user wants to build with a specific Meta product (WhatsApp, Instagram, Messenger, Pages, Ads, etc.)."
|
|
4
|
+
allowed-tools: mcp__devtools__devtools_discovery, mcp__devtools__devtools_app, mcp__devtools__devtools_app_review, mcp__devtools__devtools_app_list, mcp__devtools__devtools_skill_invocation
|
|
5
|
+
license: MIT
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# API Integration
|
|
9
|
+
|
|
10
|
+
Help a developer go from "I want to integrate with X" to having everything they need to start writing code.
|
|
11
|
+
|
|
12
|
+
## Workflow
|
|
13
|
+
|
|
14
|
+
1. **Start tracking.** Before any other work, call `devtools_skill_invocation` with action `start` and `skill_name` `api-integration`. Pass `skill_name` `api-integration` on every `devtools_*` tool call in the following steps.
|
|
15
|
+
|
|
16
|
+
2. **Identify the integration.** Ask the user what they want to build if not clear. Common integrations:
|
|
17
|
+
- WhatsApp Business API (send/receive messages, templates, media)
|
|
18
|
+
- Instagram Graph API (publish content, read insights, manage comments)
|
|
19
|
+
- Messenger Platform (chatbots, send API, webhooks)
|
|
20
|
+
- Pages API (post content, read insights, manage pages)
|
|
21
|
+
- Marketing API (create campaigns, manage ads, read analytics)
|
|
22
|
+
- Login with Facebook / Login with Instagram
|
|
23
|
+
- Facebook Login for Business
|
|
24
|
+
|
|
25
|
+
3. **Research the integration.** Run multiple searches to build a complete picture. Do NOT stop at one search — layer queries to cover all aspects:
|
|
26
|
+
|
|
27
|
+
**Search 1 — Overview and getting started:**
|
|
28
|
+
- `devtools_discovery` → `search_docs` with the product name + "getting started" or "overview"
|
|
29
|
+
- e.g., "WhatsApp Business API getting started"
|
|
30
|
+
|
|
31
|
+
**Search 2 — Authentication and access tokens:**
|
|
32
|
+
- `devtools_discovery` → `search_docs` for authentication requirements
|
|
33
|
+
- e.g., "WhatsApp Business API access token authentication"
|
|
34
|
+
|
|
35
|
+
**Search 3 — Required permissions and app review:**
|
|
36
|
+
- `devtools_discovery` → `search_docs` for permissions
|
|
37
|
+
- e.g., "WhatsApp Business API permissions"
|
|
38
|
+
- Also check the app if an app_id is provided: `devtools_app_review` → `requirements` and `privileges`
|
|
39
|
+
|
|
40
|
+
**Search 4 — Core API endpoints:**
|
|
41
|
+
- `devtools_discovery` → `search_docs` for the specific operations the user needs
|
|
42
|
+
- e.g., "WhatsApp send message API" or "Instagram publish media API"
|
|
43
|
+
|
|
44
|
+
**Search 5 — Webhooks (if applicable):**
|
|
45
|
+
- `devtools_discovery` → `search_docs` for webhook setup
|
|
46
|
+
- e.g., "WhatsApp webhooks setup"
|
|
47
|
+
|
|
48
|
+
**Search 6 — Rate limits and quotas:**
|
|
49
|
+
- `devtools_discovery` → `search_docs` for product-specific rate limits and throughput tiers
|
|
50
|
+
- e.g., "WhatsApp Business API rate limits messaging tiers" or "Instagram API rate limits"
|
|
51
|
+
|
|
52
|
+
**Search 7 — Code examples and SDKs:**
|
|
53
|
+
- `devtools_discovery` → `search_docs` for SDK, client library, or code samples
|
|
54
|
+
- Try product-specific queries first: "WhatsApp Business Platform Node.js" or "Instagram Graph API Python"
|
|
55
|
+
- If no SDK results, search for "Graph API client library" or the product's quickstart guide
|
|
56
|
+
- Fall back to constructing examples from the endpoint documentation in Search 4
|
|
57
|
+
|
|
58
|
+
Run searches 1-5 in parallel for speed. Run 6-7 after if needed. Use `max_results` of 10 and pagination via `offset` to get comprehensive results. Refine queries if initial results are too broad or miss key topics.
|
|
59
|
+
|
|
60
|
+
4. **Check app readiness** (if the user has an app):
|
|
61
|
+
- If they referred to the app by **name** (or aren't sure of the ID), resolve it to an `app_id` first via `devtools_app_list` (action `list`); if ambiguous, show the candidates (name, ID, viewer role) and ask them to pick
|
|
62
|
+
- `devtools_app` → `basic_settings` to confirm app type and status
|
|
63
|
+
- `devtools_app_review` → `privileges` to see what's already approved
|
|
64
|
+
- `devtools_app_review` → `requirements` to see what's needed
|
|
65
|
+
|
|
66
|
+
5. **Synthesize an integration guide.** Extract the key information from search results — do NOT dump raw results. Organize findings into an actionable document:
|
|
67
|
+
|
|
68
|
+
### Guide Format
|
|
69
|
+
|
|
70
|
+
**Overview**
|
|
71
|
+
- What the API does and what the user can build with it
|
|
72
|
+
- Link to the official product documentation
|
|
73
|
+
|
|
74
|
+
**Prerequisites**
|
|
75
|
+
- Meta Developer account
|
|
76
|
+
- App type required (Business, Consumer, etc.)
|
|
77
|
+
- Any product-specific prerequisites (e.g., WhatsApp Business Account, Facebook Page)
|
|
78
|
+
|
|
79
|
+
**Authentication**
|
|
80
|
+
- Token type needed (User, Page, System User, etc.)
|
|
81
|
+
- How to generate tokens
|
|
82
|
+
- Token permissions/scopes required
|
|
83
|
+
- Token expiration and refresh flow
|
|
84
|
+
|
|
85
|
+
**Required Permissions**
|
|
86
|
+
- List each permission needed and what it grants
|
|
87
|
+
- Which permissions need App Review vs. are auto-approved
|
|
88
|
+
- If app_id provided: which are already granted vs. still needed
|
|
89
|
+
|
|
90
|
+
**Setup Steps**
|
|
91
|
+
- Step-by-step from zero to first API call
|
|
92
|
+
- Include webhook setup if the integration requires it
|
|
93
|
+
|
|
94
|
+
**Key API Endpoints**
|
|
95
|
+
- Each endpoint with: method, URL pattern, key parameters, example response
|
|
96
|
+
- Focused on what the user asked for, not an exhaustive list
|
|
97
|
+
|
|
98
|
+
**Code Example**
|
|
99
|
+
- A working starter example in the user's preferred language
|
|
100
|
+
- Include authentication, a basic API call, and error handling
|
|
101
|
+
- Use the official SDK if one exists, raw HTTP (curl/fetch) if not
|
|
102
|
+
- Include webhook handler code if the integration is webhook-based
|
|
103
|
+
|
|
104
|
+
**Rate Limits and Quotas**
|
|
105
|
+
- Product-specific rate limits and throughput tiers (e.g., WhatsApp messaging tiers: 1K/10K/100K/unlimited)
|
|
106
|
+
- Per-endpoint rate limits if applicable
|
|
107
|
+
- Suggest `/api-health` for ongoing monitoring
|
|
108
|
+
|
|
109
|
+
**Common Pitfalls**
|
|
110
|
+
- Product-specific gotchas the docs call out
|
|
111
|
+
- Permission mistakes, token type confusion, webhook verification issues
|
|
112
|
+
|
|
113
|
+
6. **Offer next steps:**
|
|
114
|
+
- `/app-review-prep` if permissions need App Review
|
|
115
|
+
- `/webhook-setup` if the integration uses webhooks
|
|
116
|
+
- `/api-health` to monitor usage once live
|
|
117
|
+
|
|
118
|
+
7. **End tracking.** After completing all preceding steps, call `devtools_skill_invocation` with action `end` and `skill_name` `api-integration`.
|
|
119
|
+
|
|
120
|
+
## Tips
|
|
121
|
+
|
|
122
|
+
- Always search multiple times with different queries. A single search rarely covers authentication + permissions + endpoints + examples.
|
|
123
|
+
- Prefer the user's stated language/framework for code examples. Default to Node.js/JavaScript if not specified.
|
|
124
|
+
- If the user has an app_id, cross-reference their current permissions against what the integration requires — this saves them time.
|
|
125
|
+
- Some integrations (WhatsApp, Instagram) require a Business-type app. Call this out early if the user's app is the wrong type.
|
|
126
|
+
- Webhook-based integrations (Messenger, WhatsApp) won't work without a callback URL. Suggest `/webhook-setup` proactively.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: zaip-skill-meta-devtools-app-health-check
|
|
3
|
+
description: Use Meta Social Technologies Dev Tools to inspect an app's configuration, health signals, and actionable warnings.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Meta Dev Tools: App Health Check
|
|
7
|
+
|
|
8
|
+
Adapted from Meta's official `app-health-check` skill (MIT; `facebook/agentic-tools` commit `2a1a2710ae1907906adf441fcb8cdea4582f9065`). Resolve the app ID, read its health/configuration signals and present prioritized findings with source evidence. Do not infer a passing app from absent fields. Keep diagnostics read-only and require approval for app changes.
|
|
9
|
+
|
|
10
|
+
Read the complete [official workflow snapshot](references/upstream.md) and apply `RULE-META-MCP` before tool use.
|
|
11
|
+
|
|
12
|
+
Follow the [central Dev Tools setup](../zaip-skill-meta-devtools-search-docs/references/setup.md).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/templates/.agents/skills/zaip-skill-meta-devtools-app-health-check/references/upstream.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: app-health-check
|
|
3
|
+
description: "Run a comprehensive health check on a Meta app — audits settings, security, compliance, app review status, rate limits, and API deprecations in one pass. Use when you want a full picture of an app's current state."
|
|
4
|
+
allowed-tools: mcp__devtools__devtools_app, mcp__devtools__devtools_app_review, mcp__devtools__devtools_compliance, mcp__devtools__devtools_api_usage, mcp__devtools__devtools_app_list, mcp__devtools__devtools_skill_invocation
|
|
5
|
+
license: MIT
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# App Health Check
|
|
9
|
+
|
|
10
|
+
Run a full audit of a Meta app and produce an actionable report.
|
|
11
|
+
|
|
12
|
+
## Workflow
|
|
13
|
+
|
|
14
|
+
1. **Start tracking.** Before any other work, call `devtools_skill_invocation` with action `start` and `skill_name` `app-health-check`. Pass `skill_name` `app-health-check` on every `devtools_*` tool call in the following steps.
|
|
15
|
+
|
|
16
|
+
2. **Identify the app.** Ask the user for the app **name or ID**. If they give a name (or aren't sure of the ID), call `devtools_app_list` (action `list`) and resolve it to an `app_id` — match the name case-insensitively. If several apps match or it's ambiguous, show the candidates (name, ID, viewer role) and ask the user to pick. If they give a numeric ID, use it directly.
|
|
17
|
+
|
|
18
|
+
3. **Collect data in parallel.** Run all calls concurrently to minimize latency:
|
|
19
|
+
- `devtools_app` with action `basic_settings` — app name, category, platform, contact info
|
|
20
|
+
- `devtools_app` with action `security` — app secret rotation, allowed domains, data deletion URL
|
|
21
|
+
- `devtools_compliance` with action `status` — open required actions, violations, recommendations
|
|
22
|
+
- `devtools_app_review` with action `status` — current review state, pending submissions
|
|
23
|
+
- `devtools_api_usage` with action `rate_limits` — current rate limit health
|
|
24
|
+
- `devtools_api_usage` with action `deprecations` — deprecated APIs needing migration
|
|
25
|
+
|
|
26
|
+
4. **Synthesize the report.** Organize findings into these sections:
|
|
27
|
+
|
|
28
|
+
### Report Format
|
|
29
|
+
|
|
30
|
+
**App Overview**
|
|
31
|
+
- App name, ID, category, status
|
|
32
|
+
|
|
33
|
+
**Security**
|
|
34
|
+
- Highlight any issues: missing data deletion URL, stale app secret, overly broad domain allowlist
|
|
35
|
+
- Flag if App Secret has not been rotated recently
|
|
36
|
+
|
|
37
|
+
**Compliance**
|
|
38
|
+
- List any open required actions with deadlines
|
|
39
|
+
- List any active violations
|
|
40
|
+
- Summarize recommendations
|
|
41
|
+
|
|
42
|
+
**App Review**
|
|
43
|
+
- Current review status
|
|
44
|
+
- Any pending or rejected submissions
|
|
45
|
+
- Permissions/features that still need review
|
|
46
|
+
|
|
47
|
+
**API Health**
|
|
48
|
+
- Rate limit status: report the `overall_status` field as returned — `healthy`, `warning`, `critical`, `throttled`, or `unmetered`
|
|
49
|
+
- Usage at or above the 70% warning band, flagging 90%+ as critical
|
|
50
|
+
- Deprecated APIs with severity and migration recommendations
|
|
51
|
+
|
|
52
|
+
**Action Items**
|
|
53
|
+
- Prioritized list of things to fix, ordered by severity (violations > required actions > recommendations > improvements)
|
|
54
|
+
|
|
55
|
+
5. **Offer next steps.** Suggest relevant follow-up skills:
|
|
56
|
+
- `/compliance-check` for deeper compliance remediation
|
|
57
|
+
- `/app-review-prep` if there are pending review requirements
|
|
58
|
+
- `/webhook-setup` if webhooks aren't configured yet
|
|
59
|
+
- `/api-health` for deeper API usage analysis and endpoint-level investigation
|
|
60
|
+
|
|
61
|
+
6. **End tracking.** After completing all preceding steps, call `devtools_skill_invocation` with action `end` and `skill_name` `app-health-check`.
|
|
62
|
+
|
|
63
|
+
## Tips
|
|
64
|
+
|
|
65
|
+
- If any MCP call fails, report the failure in the relevant section rather than aborting the whole check.
|
|
66
|
+
- Always include the app ID in the report header for easy reference.
|
|
67
|
+
- For apps with no issues, keep the report short — don't pad with unnecessary detail.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: zaip-skill-meta-devtools-app-review-prep
|
|
3
|
+
description: Use Meta Social Technologies Dev Tools to prepare a Meta app-review submission from documented permissions and evidence.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Meta Dev Tools: App Review Prep
|
|
7
|
+
|
|
8
|
+
Adapted from Meta's official `app-review-prep` skill (MIT; `facebook/agentic-tools` commit `2a1a2710ae1907906adf441fcb8cdea4582f9065`). Discover current requirements for each permission, inventory the app's actual use and list evidence gaps. Prepare a review checklist and draft explanations only. Submitting review material or modifying app settings remains an approval-gated external action.
|
|
9
|
+
|
|
10
|
+
Read the complete [official workflow snapshot](references/upstream.md) and apply `RULE-META-MCP` before tool use.
|
|
11
|
+
|
|
12
|
+
Follow the [central Dev Tools setup](../zaip-skill-meta-devtools-search-docs/references/setup.md).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/templates/.agents/skills/zaip-skill-meta-devtools-app-review-prep/references/upstream.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: app-review-prep
|
|
3
|
+
description: "Prepare a Meta app for App Review — checks current status, outstanding requirements, granted privileges, and submission history. Use before submitting an app for review."
|
|
4
|
+
allowed-tools: mcp__devtools__devtools_app_review, mcp__devtools__devtools_app, mcp__devtools__devtools_compliance, mcp__devtools__devtools_app_list, mcp__devtools__devtools_skill_invocation
|
|
5
|
+
license: MIT
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# App Review Prep
|
|
9
|
+
|
|
10
|
+
Check everything needed before submitting a Meta app for App Review.
|
|
11
|
+
|
|
12
|
+
## Workflow
|
|
13
|
+
|
|
14
|
+
1. **Start tracking.** Before any other work, call `devtools_skill_invocation` with action `start` and `skill_name` `app-review-prep`. Pass `skill_name` `app-review-prep` on every `devtools_*` tool call in the following steps.
|
|
15
|
+
|
|
16
|
+
2. **Identify the app.** Ask the user for the app **name or ID**. If they give a name (or aren't sure of the ID), call `devtools_app_list` (action `list`) and resolve it to an `app_id` — match the name case-insensitively. If several apps match or it's ambiguous, show the candidates (name, ID, viewer role) and ask the user to pick. If they give a numeric ID, use it directly.
|
|
17
|
+
|
|
18
|
+
3. **Collect review data in parallel.** Run all calls concurrently:
|
|
19
|
+
- `devtools_app` with action `basic_settings` — app name, category, status for report context
|
|
20
|
+
- `devtools_app_review` with action `status` — current review state
|
|
21
|
+
- `devtools_app_review` with action `requirements` — what's needed for approval
|
|
22
|
+
- `devtools_app_review` with action `privileges` — currently granted permissions/features
|
|
23
|
+
- `devtools_app_review` with action `history` — past submissions and their outcomes
|
|
24
|
+
- `devtools_compliance` with action `status` — compliance blockers that could prevent approval
|
|
25
|
+
|
|
26
|
+
4. **Analyze readiness.** Evaluate:
|
|
27
|
+
- Are all required items complete?
|
|
28
|
+
- Are there compliance violations that would block review?
|
|
29
|
+
- Have previous submissions been rejected? If so, what was the reason?
|
|
30
|
+
- Which permissions/features are already approved vs. still needed?
|
|
31
|
+
|
|
32
|
+
5. **Produce a readiness report:**
|
|
33
|
+
|
|
34
|
+
### Report Format
|
|
35
|
+
|
|
36
|
+
**Current Status**
|
|
37
|
+
- Review state (e.g., not submitted, in review, approved, rejected)
|
|
38
|
+
- Last submission date and outcome (if any)
|
|
39
|
+
|
|
40
|
+
**Granted Privileges**
|
|
41
|
+
- List of approved permissions and features
|
|
42
|
+
|
|
43
|
+
**Outstanding Requirements**
|
|
44
|
+
- Each requirement with its completion status
|
|
45
|
+
- Clear description of what's needed to fulfill incomplete items
|
|
46
|
+
|
|
47
|
+
**Compliance Blockers**
|
|
48
|
+
- Any violations or required actions that must be resolved before submission
|
|
49
|
+
|
|
50
|
+
**Submission History**
|
|
51
|
+
- Past submissions with dates, statuses, and rejection reasons (if any)
|
|
52
|
+
- Pattern analysis if there are repeated rejections
|
|
53
|
+
|
|
54
|
+
**Readiness Verdict**
|
|
55
|
+
- READY: all requirements met, no blockers
|
|
56
|
+
- NOT READY: list exactly what needs to be done, in priority order
|
|
57
|
+
|
|
58
|
+
6. **Suggest next steps** based on the verdict:
|
|
59
|
+
- If NOT READY: specific actions to take, in order
|
|
60
|
+
- If READY: guidance on what to expect during the review process
|
|
61
|
+
- If there are compliance issues: suggest `/compliance-check` for remediation
|
|
62
|
+
|
|
63
|
+
7. **End tracking.** After completing all preceding steps, call `devtools_skill_invocation` with action `end` and `skill_name` `app-review-prep`.
|
|
64
|
+
|
|
65
|
+
## Tips
|
|
66
|
+
|
|
67
|
+
- Rejected submissions often cite the same issues. If history shows a pattern, call it out prominently.
|
|
68
|
+
- Compliance status is a prerequisite — resolve violations before worrying about other requirements.
|
|
69
|
+
- Some requirements need evidence (screenshots, privacy policy URLs, etc.) that can't be checked programmatically. Flag these as "manual verification needed."
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: zaip-skill-meta-devtools-compliance-check
|
|
3
|
+
description: Use Meta Social Technologies Dev Tools to inspect Meta app compliance status and document remediation needs.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Meta Dev Tools: Compliance Check
|
|
7
|
+
|
|
8
|
+
Adapted from Meta's official `compliance-check` skill (MIT; `facebook/agentic-tools` commit `2a1a2710ae1907906adf441fcb8cdea4582f9065`). Resolve the exact app and retrieve its compliance signals. Report status, deadlines, requested remediation and evidence gaps as observed. Do not certify compliance or submit remediation automatically.
|
|
9
|
+
|
|
10
|
+
Read the complete [official workflow snapshot](references/upstream.md) and apply `RULE-META-MCP` before tool use.
|
|
11
|
+
|
|
12
|
+
Follow the [central Dev Tools setup](../zaip-skill-meta-devtools-search-docs/references/setup.md).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/templates/.agents/skills/zaip-skill-meta-devtools-compliance-check/references/upstream.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: compliance-check
|
|
3
|
+
description: "Check compliance status for a Meta app — surfaces open required actions, active violations, and recommendations with remediation guidance. Use to audit compliance posture or resolve compliance blockers."
|
|
4
|
+
allowed-tools: mcp__devtools__devtools_compliance, mcp__devtools__devtools_app, mcp__devtools__devtools_app_list, mcp__devtools__devtools_skill_invocation
|
|
5
|
+
license: MIT
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Compliance Check
|
|
9
|
+
|
|
10
|
+
Audit the compliance posture of a Meta app and provide remediation guidance.
|
|
11
|
+
|
|
12
|
+
## Workflow
|
|
13
|
+
|
|
14
|
+
1. **Start tracking.** Before any other work, call `devtools_skill_invocation` with action `start` and `skill_name` `compliance-check`. Pass `skill_name` `compliance-check` on every `devtools_*` tool call in the following steps.
|
|
15
|
+
|
|
16
|
+
2. **Identify the app.** Ask the user for the app **name or ID**. If they give a name (or aren't sure of the ID), call `devtools_app_list` (action `list`) and resolve it to an `app_id` — match the name case-insensitively. If several apps match or it's ambiguous, show the candidates (name, ID, viewer role) and ask the user to pick. If they give a numeric ID, use it directly.
|
|
17
|
+
|
|
18
|
+
3. **Collect data in parallel:**
|
|
19
|
+
- `devtools_compliance` with action `status` — full compliance status
|
|
20
|
+
- `devtools_app` with action `basic_settings` — app context (name, category, status)
|
|
21
|
+
- `devtools_app` with action `data_protection_officer` — DPO contact info
|
|
22
|
+
|
|
23
|
+
4. **Analyze compliance status.** Categorize findings by severity:
|
|
24
|
+
|
|
25
|
+
**Violations** (critical — may result in app restrictions or removal)
|
|
26
|
+
- What the violation is
|
|
27
|
+
- When it was flagged
|
|
28
|
+
- What action is required
|
|
29
|
+
- Deadline for resolution
|
|
30
|
+
|
|
31
|
+
**Required Actions** (high — must be completed by deadline)
|
|
32
|
+
- Description of the required action
|
|
33
|
+
- Deadline
|
|
34
|
+
- Steps to complete
|
|
35
|
+
|
|
36
|
+
**Recommendations** (low — suggested improvements)
|
|
37
|
+
- What's recommended and why
|
|
38
|
+
- How to implement
|
|
39
|
+
|
|
40
|
+
5. **Produce the compliance report:**
|
|
41
|
+
|
|
42
|
+
### Report Format
|
|
43
|
+
|
|
44
|
+
**App Overview**
|
|
45
|
+
- App name, ID, category
|
|
46
|
+
|
|
47
|
+
**Compliance Score**
|
|
48
|
+
- Overall status: COMPLIANT / ACTION REQUIRED / VIOLATION
|
|
49
|
+
- Count of items by severity
|
|
50
|
+
|
|
51
|
+
**Violations** (if any)
|
|
52
|
+
- Each violation with description, deadline, and remediation steps
|
|
53
|
+
|
|
54
|
+
**Required Actions** (if any)
|
|
55
|
+
- Each action with description, deadline, and steps to complete
|
|
56
|
+
|
|
57
|
+
**Recommendations** (if any)
|
|
58
|
+
- Each recommendation with description and implementation guidance
|
|
59
|
+
|
|
60
|
+
**Data Protection Officer**
|
|
61
|
+
- Current DPO contact info
|
|
62
|
+
- Flag if DPO info is missing or incomplete
|
|
63
|
+
|
|
64
|
+
**Action Plan**
|
|
65
|
+
- Prioritized list: violations first, then required actions by deadline, then recommendations
|
|
66
|
+
- For each item, provide specific steps the developer can take
|
|
67
|
+
|
|
68
|
+
6. **Suggest follow-ups:**
|
|
69
|
+
- If violations exist: emphasize urgency and potential consequences
|
|
70
|
+
- If DPO info is missing: explain why it matters and how to set it up
|
|
71
|
+
- If app review is blocked by compliance: suggest `/app-review-prep` after resolving issues
|
|
72
|
+
|
|
73
|
+
7. **End tracking.** After completing all preceding steps, call `devtools_skill_invocation` with action `end` and `skill_name` `compliance-check`.
|
|
74
|
+
|
|
75
|
+
## Tips
|
|
76
|
+
|
|
77
|
+
- Compliance deadlines are hard deadlines — missing them can result in app restrictions.
|
|
78
|
+
- Some compliance items require changes in the Meta Developer Dashboard that can't be done via API. Flag these clearly as "manual action required in Developer Dashboard."
|
|
79
|
+
- If the app is fully compliant, keep the report brief and congratulatory.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: zaip-skill-meta-devtools-debug-access-token
|
|
3
|
+
description: Diagnose Meta token metadata safely without accepting, storing, or exposing an access token or app secret.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Meta Dev Tools: Debug Access Token
|
|
7
|
+
|
|
8
|
+
Adapted from Meta's official `debug-access-token` skill (MIT; `facebook/agentic-tools` commit `2a1a2710ae1907906adf441fcb8cdea4582f9065`), excluding its bundled credential script. Never request a token or app secret in chat. The operator uses Meta's Access Token Debugger and shares only redacted metadata: validity, token type, app ID, expiry, scopes and error code/subcode. Interpret those values and recommend remediation; rotate a credential pasted into chat.
|
|
9
|
+
|
|
10
|
+
Read the complete [official workflow snapshot](references/upstream.md) and apply `RULE-META-MCP` before tool use.
|
|
11
|
+
|
|
12
|
+
Follow the [central Dev Tools setup](../zaip-skill-meta-devtools-search-docs/references/setup.md).
|
|
13
|
+
|
|
14
|
+
Do not execute the unavailable upstream token-probe script; the snapshot is reference-only.
|
package/templates/.agents/skills/zaip-skill-meta-devtools-debug-access-token/references/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|