@synapta/skills 0.1.1 → 0.2.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/dist/index.js +11 -4
- package/package.json +3 -4
- package/skills/ATTRIBUTION.md +80 -0
- package/skills/accessibility-audit/SKILL.md +325 -0
- package/skills/accessibility-audit/reference/wcag-checklist.md +103 -0
- package/skills/apns-notifier/SKILL.md +86 -0
- package/skills/approval-policy-enforcer/SKILL.md +66 -0
- package/skills/apps-sdk-builder/LICENSE.txt +201 -0
- package/skills/apps-sdk-builder/SKILL.md +328 -0
- package/skills/apps-sdk-builder/agents/openai.yaml +13 -0
- package/skills/apps-sdk-builder/references/app-archetypes.md +132 -0
- package/skills/apps-sdk-builder/references/apps-sdk-docs-workflow.md +135 -0
- package/skills/apps-sdk-builder/references/interactive-state-sync-patterns.md +113 -0
- package/skills/apps-sdk-builder/references/repo-contract-and-validation.md +93 -0
- package/skills/apps-sdk-builder/references/search-fetch-standard.md +67 -0
- package/skills/apps-sdk-builder/references/upstream-example-workflow.md +79 -0
- package/skills/apps-sdk-builder/references/window-openai-patterns.md +79 -0
- package/skills/apps-sdk-builder/scripts/scaffold_node_ext_apps.mjs +606 -0
- package/skills/architecture-selector/SKILL.md +64 -0
- package/skills/backlog-planner/SKILL.md +68 -0
- package/skills/carplay-entitlement-checker/SKILL.md +82 -0
- package/skills/concept-deepener/SKILL.md +86 -0
- package/skills/concept-discovery/SKILL.md +517 -0
- package/skills/concept-discovery/assets/sample-analysis.json +81 -0
- package/skills/concept-discovery/expected_outputs/sample-enum-dictionary.md +25 -0
- package/skills/concept-discovery/expected_outputs/sample-page-user-list.md +83 -0
- package/skills/concept-discovery/expected_outputs/sample-prd-readme.md +43 -0
- package/skills/concept-discovery/references/framework-patterns.md +228 -0
- package/skills/concept-discovery/references/prd-quality-checklist.md +65 -0
- package/skills/concept-discovery/scripts/codebase_analyzer.py +732 -0
- package/skills/concept-discovery/scripts/prd_scaffolder.py +435 -0
- package/skills/dast-zap/SKILL.md +453 -0
- package/skills/dast-zap/assets/.gitkeep +9 -0
- package/skills/dast-zap/assets/github_action.yml +207 -0
- package/skills/dast-zap/assets/gitlab_ci.yml +226 -0
- package/skills/dast-zap/assets/zap_automation.yaml +196 -0
- package/skills/dast-zap/assets/zap_context.xml +192 -0
- package/skills/dast-zap/references/EXAMPLE.md +40 -0
- package/skills/dast-zap/references/api_testing_guide.md +475 -0
- package/skills/dast-zap/references/authentication_guide.md +431 -0
- package/skills/dast-zap/references/false_positive_handling.md +427 -0
- package/skills/dast-zap/references/owasp_mapping.md +255 -0
- package/skills/dep-sbom-scan/SKILL.md +466 -0
- package/skills/deploy-cloudflare/SKILL.md +930 -0
- package/skills/deploy-docker/SKILL.md +55 -0
- package/skills/deploy-fly/SKILL.md +228 -0
- package/skills/deploy-k8s/SKILL.md +108 -0
- package/skills/deploy-k8s/assets/logo.png +0 -0
- package/skills/deploy-k8s/docs/README.md +29 -0
- package/skills/deploy-k8s/docs/SUMMARY.md +56 -0
- package/skills/deploy-k8s/docs/advanced/token-efficiency.md +61 -0
- package/skills/deploy-k8s/docs/architecture/multi-tenancy.md +96 -0
- package/skills/deploy-k8s/docs/architecture/storage-and-state.md +102 -0
- package/skills/deploy-k8s/docs/architecture/workload-patterns.md +87 -0
- package/skills/deploy-k8s/docs/book.json +16 -0
- package/skills/deploy-k8s/docs/community/changelog.md +34 -0
- package/skills/deploy-k8s/docs/community/contributing.md +67 -0
- package/skills/deploy-k8s/docs/core-concepts/failure-modes.md +153 -0
- package/skills/deploy-k8s/docs/core-concepts/philosophy.md +83 -0
- package/skills/deploy-k8s/docs/core-concepts/workflow.md +124 -0
- package/skills/deploy-k8s/docs/examples/bad-patterns.md +47 -0
- package/skills/deploy-k8s/docs/examples/do-dont-checklist.md +37 -0
- package/skills/deploy-k8s/docs/examples/good-patterns.md +49 -0
- package/skills/deploy-k8s/docs/failure-modes/api-drift.md +104 -0
- package/skills/deploy-k8s/docs/failure-modes/fragile-rollouts.md +99 -0
- package/skills/deploy-k8s/docs/failure-modes/insecure-workload-defaults.md +80 -0
- package/skills/deploy-k8s/docs/failure-modes/network-exposure.md +98 -0
- package/skills/deploy-k8s/docs/failure-modes/privilege-sprawl.md +91 -0
- package/skills/deploy-k8s/docs/failure-modes/resource-starvation.md +85 -0
- package/skills/deploy-k8s/docs/getting-started/installation.md +152 -0
- package/skills/deploy-k8s/docs/getting-started/quick-start.md +115 -0
- package/skills/deploy-k8s/docs/guides/helm-patterns.md +71 -0
- package/skills/deploy-k8s/docs/guides/kustomize-patterns.md +65 -0
- package/skills/deploy-k8s/docs/guides/observability.md +67 -0
- package/skills/deploy-k8s/docs/guides/security-hardening.md +59 -0
- package/skills/deploy-k8s/docs/guides/validation-and-policy.md +66 -0
- package/skills/deploy-k8s/docs/integrations/mcp-integration.md +52 -0
- package/skills/deploy-k8s/docs/package-lock.json +2892 -0
- package/skills/deploy-k8s/docs/package.json +13 -0
- package/skills/deploy-k8s/references/api-drift.md +298 -0
- package/skills/deploy-k8s/references/conditional/aks-patterns.md +70 -0
- package/skills/deploy-k8s/references/conditional/eks-patterns.md +79 -0
- package/skills/deploy-k8s/references/conditional/gitops-controllers.md +71 -0
- package/skills/deploy-k8s/references/conditional/gke-patterns.md +74 -0
- package/skills/deploy-k8s/references/conditional/observability-stacks.md +80 -0
- package/skills/deploy-k8s/references/conditional/openshift-patterns.md +67 -0
- package/skills/deploy-k8s/references/daemonset-operator-patterns.md +155 -0
- package/skills/deploy-k8s/references/deployment-patterns.md +146 -0
- package/skills/deploy-k8s/references/do-dont-patterns.md +87 -0
- package/skills/deploy-k8s/references/examples-bad.md +282 -0
- package/skills/deploy-k8s/references/examples-good.md +440 -0
- package/skills/deploy-k8s/references/fragile-rollouts.md +303 -0
- package/skills/deploy-k8s/references/helm-patterns.md +203 -0
- package/skills/deploy-k8s/references/insecure-workload-defaults.md +300 -0
- package/skills/deploy-k8s/references/job-patterns.md +120 -0
- package/skills/deploy-k8s/references/kustomize-patterns.md +239 -0
- package/skills/deploy-k8s/references/multi-tenancy.md +343 -0
- package/skills/deploy-k8s/references/network-exposure.md +481 -0
- package/skills/deploy-k8s/references/observability.md +302 -0
- package/skills/deploy-k8s/references/privilege-sprawl.md +273 -0
- package/skills/deploy-k8s/references/resource-starvation.md +374 -0
- package/skills/deploy-k8s/references/security-hardening.md +209 -0
- package/skills/deploy-k8s/references/stateful-patterns.md +130 -0
- package/skills/deploy-k8s/references/storage-and-state.md +330 -0
- package/skills/deploy-k8s/references/validation-and-policy.md +242 -0
- package/skills/deploy-railway/SKILL.md +235 -0
- package/skills/deploy-railway/references/analyze-db-mongo.md +84 -0
- package/skills/deploy-railway/references/analyze-db-mysql.md +254 -0
- package/skills/deploy-railway/references/analyze-db-postgres.md +479 -0
- package/skills/deploy-railway/references/analyze-db-redis.md +208 -0
- package/skills/deploy-railway/references/analyze-db.md +344 -0
- package/skills/deploy-railway/references/configure.md +309 -0
- package/skills/deploy-railway/references/deploy.md +195 -0
- package/skills/deploy-railway/references/operate.md +214 -0
- package/skills/deploy-railway/references/request.md +248 -0
- package/skills/deploy-railway/references/setup.md +312 -0
- package/skills/deploy-railway/scripts/analyze-mongo.py +1549 -0
- package/skills/deploy-railway/scripts/analyze-mysql.py +1195 -0
- package/skills/deploy-railway/scripts/analyze-postgres.py +3058 -0
- package/skills/deploy-railway/scripts/analyze-redis.py +1090 -0
- package/skills/deploy-railway/scripts/dal.py +671 -0
- package/skills/deploy-railway/scripts/enable-pg-stats.py +170 -0
- package/skills/deploy-railway/scripts/pg-extensions.py +370 -0
- package/skills/deploy-railway/scripts/railway-api.sh +52 -0
- package/skills/deploy-ssh/SKILL.md +91 -0
- package/skills/deploy-vercel/SKILL.md +304 -0
- package/skills/deploy-vercel/resources/deploy-codex.sh +301 -0
- package/skills/deploy-vercel/resources/deploy.sh +301 -0
- package/skills/docs-runbooks/SKILL.md +399 -0
- package/skills/drive-status-renderer/SKILL.md +62 -0
- package/skills/iac-scan/SKILL.md +680 -0
- package/skills/iac-scan/assets/.gitkeep +9 -0
- package/skills/iac-scan/assets/checkov_config.yaml +94 -0
- package/skills/iac-scan/assets/github_actions.yml +199 -0
- package/skills/iac-scan/assets/gitlab_ci.yml +218 -0
- package/skills/iac-scan/assets/pre_commit_config.yaml +92 -0
- package/skills/iac-scan/references/EXAMPLE.md +40 -0
- package/skills/iac-scan/references/compliance_mapping.md +237 -0
- package/skills/iac-scan/references/custom_policies.md +460 -0
- package/skills/iac-scan/references/suppression_guide.md +431 -0
- package/skills/incident-briefing/SKILL.md +66 -0
- package/skills/incident-triage/SKILL.md +481 -0
- package/{LICENSE → skills/mcp-builder/LICENSE.txt} +15 -14
- package/skills/mcp-builder/SKILL.md +244 -0
- package/skills/mcp-builder/reference/evaluation.md +602 -0
- package/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
- package/skills/mcp-builder/reference/node_mcp_server.md +970 -0
- package/skills/mcp-builder/reference/python_mcp_server.md +719 -0
- package/skills/mcp-builder/scripts/connections.py +151 -0
- package/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/skills/mobile-pairing/SKILL.md +52 -0
- package/skills/ops-sre/SKILL.md +297 -0
- package/skills/playwright-qa/LICENSE.txt +201 -0
- package/skills/playwright-qa/NOTICE.txt +14 -0
- package/skills/playwright-qa/SKILL.md +156 -0
- package/skills/playwright-qa/agents/openai.yaml +6 -0
- package/skills/playwright-qa/assets/playwright-small.svg +3 -0
- package/skills/playwright-qa/assets/playwright.png +0 -0
- package/skills/playwright-qa/references/cli.md +116 -0
- package/skills/playwright-qa/references/workflows.md +95 -0
- package/skills/playwright-qa/scripts/playwright_cli.sh +25 -0
- package/skills/release-publish/SKILL.md +85 -0
- package/skills/repo-bootstrap/SKILL.md +92 -0
- package/skills/repo-bootstrap/assets/example-workflows/validate-agents.yml +89 -0
- package/skills/repo-bootstrap/assets/root-thin.md +141 -0
- package/skills/repo-bootstrap/assets/root-verbose.md +149 -0
- package/skills/repo-bootstrap/assets/scoped/backend-go.md +107 -0
- package/skills/repo-bootstrap/assets/scoped/backend-php.md +94 -0
- package/skills/repo-bootstrap/assets/scoped/backend-python.md +84 -0
- package/skills/repo-bootstrap/assets/scoped/backend-typescript.md +89 -0
- package/skills/repo-bootstrap/assets/scoped/claude-code-skill.md +101 -0
- package/skills/repo-bootstrap/assets/scoped/cli.md +83 -0
- package/skills/repo-bootstrap/assets/scoped/concourse.md +196 -0
- package/skills/repo-bootstrap/assets/scoped/ddev.md +68 -0
- package/skills/repo-bootstrap/assets/scoped/docker.md +160 -0
- package/skills/repo-bootstrap/assets/scoped/documentation.md +98 -0
- package/skills/repo-bootstrap/assets/scoped/examples.md +96 -0
- package/skills/repo-bootstrap/assets/scoped/frontend-typescript.md +88 -0
- package/skills/repo-bootstrap/assets/scoped/github-actions.md +174 -0
- package/skills/repo-bootstrap/assets/scoped/gitlab-ci.md +174 -0
- package/skills/repo-bootstrap/assets/scoped/oro-bundle.md +209 -0
- package/skills/repo-bootstrap/assets/scoped/oro-project.md +170 -0
- package/skills/repo-bootstrap/assets/scoped/python-modern.md +170 -0
- package/skills/repo-bootstrap/assets/scoped/resources.md +96 -0
- package/skills/repo-bootstrap/assets/scoped/skill-repo.md +139 -0
- package/skills/repo-bootstrap/assets/scoped/symfony.md +168 -0
- package/skills/repo-bootstrap/assets/scoped/testing.md +87 -0
- package/skills/repo-bootstrap/assets/scoped/typo3-docs.md +103 -0
- package/skills/repo-bootstrap/assets/scoped/typo3-extension.md +133 -0
- package/skills/repo-bootstrap/assets/scoped/typo3-project.md +137 -0
- package/skills/repo-bootstrap/assets/scoped/typo3-testing.md +80 -0
- package/skills/repo-bootstrap/checkpoints.yaml +279 -0
- package/skills/repo-bootstrap/evals/evals.json +385 -0
- package/skills/repo-bootstrap/references/ai-contribution-guidelines.md +63 -0
- package/skills/repo-bootstrap/references/ai-tool-compatibility.md +223 -0
- package/skills/repo-bootstrap/references/directory-coverage.md +82 -0
- package/skills/repo-bootstrap/references/examples/coding-agent-cli/AGENTS.md +70 -0
- package/skills/repo-bootstrap/references/examples/coding-agent-cli/go.mod +3 -0
- package/skills/repo-bootstrap/references/examples/coding-agent-cli/scripts-AGENTS.md +389 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/.env.example +13 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/AGENTS.md +91 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/package.json +33 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/pnpm-lock.yaml +3 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/src/AGENTS.md +91 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/src/config.ts +28 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/src/controllers/userController.ts +74 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/src/index.ts +26 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/src/middleware/errorHandler.ts +45 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/src/middleware/requestLogger.ts +18 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/src/routes/health.ts +18 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/src/routes/users.ts +13 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/src/utils/errors.ts +40 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/src/utils/logger.ts +14 -0
- package/skills/repo-bootstrap/references/examples/express-api-ts/tsconfig.json +24 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/.env.example +19 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/AGENTS.md +92 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/pyproject.toml +88 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/AGENTS.md +85 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/__init__.py +3 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/config.py +49 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/main.py +66 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/models/__init__.py +13 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/models/item.py +43 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/models/user.py +40 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/routes/__init__.py +5 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/routes/health.py +20 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/routes/items.py +61 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/routes/users.py +55 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/services/__init__.py +6 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/services/item_service.py +77 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/src/services/user_service.py +69 -0
- package/skills/repo-bootstrap/references/examples/fastapi-app/uv.lock +4 -0
- package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/.scopes +3 -0
- package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/AGENTS.md +86 -0
- package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/admin/package.json +20 -0
- package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/admin/src/App.tsx +5 -0
- package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/cmd/api/main.go +7 -0
- package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/go.mod +2 -0
- package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/main.go +7 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/.scopes +3 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/AGENTS.md +89 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/go.mod +2 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/AGENTS.md +90 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/package.json +17 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/src/App.tsx +1 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/src/Button.tsx +1 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/src/Footer.tsx +1 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/src/Header.tsx +1 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/src/Sidebar.tsx +1 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/main.go +7 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/package-lock.json +0 -0
- package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/package.json +12 -0
- package/skills/repo-bootstrap/references/examples/ldap-selfservice/AGENTS.md +70 -0
- package/skills/repo-bootstrap/references/examples/ldap-selfservice/go.mod +3 -0
- package/skills/repo-bootstrap/references/examples/ldap-selfservice/internal-AGENTS.md +371 -0
- package/skills/repo-bootstrap/references/examples/ldap-selfservice/internal-web-AGENTS.md +448 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/.scopes +3 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/AGENTS.md +91 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/composer.json +8 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/package.json +15 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/pnpm-lock.yaml +0 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/src/Controller.php +3 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/web/AGENTS.md +92 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/web/package.json +26 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/web/src/App.tsx +3 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/web/src/Button.tsx +10 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/web/src/Footer.tsx +9 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/web/src/Header.tsx +9 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/web/src/main.tsx +3 -0
- package/skills/repo-bootstrap/references/examples/php-with-frontend/web/tsconfig.json +13 -0
- package/skills/repo-bootstrap/references/examples/pnpm-workspace/AGENTS.md +75 -0
- package/skills/repo-bootstrap/references/examples/pnpm-workspace/package.json +7 -0
- package/skills/repo-bootstrap/references/examples/pnpm-workspace/packages/web/package.json +11 -0
- package/skills/repo-bootstrap/references/examples/pnpm-workspace/packages/web/src/index.ts +11 -0
- package/skills/repo-bootstrap/references/examples/pnpm-workspace/pnpm-lock.yaml +42 -0
- package/skills/repo-bootstrap/references/examples/pnpm-workspace/pnpm-workspace.yaml +2 -0
- package/skills/repo-bootstrap/references/examples/simple-ldap-go/AGENTS.md +70 -0
- package/skills/repo-bootstrap/references/examples/simple-ldap-go/examples-AGENTS.md +45 -0
- package/skills/repo-bootstrap/references/examples/simple-ldap-go/go.mod +3 -0
- package/skills/repo-bootstrap/references/examples/t3x-rte-ckeditor-image/AGENTS.md +70 -0
- package/skills/repo-bootstrap/references/examples/t3x-rte-ckeditor-image/Classes-AGENTS.md +392 -0
- package/skills/repo-bootstrap/references/examples/t3x-rte-ckeditor-image/composer.json +8 -0
- package/skills/repo-bootstrap/references/feedback-memory-schema.md +135 -0
- package/skills/repo-bootstrap/references/git-hooks-setup.md +79 -0
- package/skills/repo-bootstrap/references/output-structure.md +124 -0
- package/skills/repo-bootstrap/references/scripts-guide.md +175 -0
- package/skills/repo-bootstrap/references/verification-guide.md +137 -0
- package/skills/repo-bootstrap/scripts/analyze-git-history.sh +315 -0
- package/skills/repo-bootstrap/scripts/check-freshness.sh +230 -0
- package/skills/repo-bootstrap/scripts/detect-golden-samples.sh +161 -0
- package/skills/repo-bootstrap/scripts/detect-heuristics.sh +93 -0
- package/skills/repo-bootstrap/scripts/detect-project.sh +486 -0
- package/skills/repo-bootstrap/scripts/detect-scopes.sh +330 -0
- package/skills/repo-bootstrap/scripts/detect-utilities.sh +133 -0
- package/skills/repo-bootstrap/scripts/extract-adrs.sh +194 -0
- package/skills/repo-bootstrap/scripts/extract-agent-configs.sh +331 -0
- package/skills/repo-bootstrap/scripts/extract-architecture-rules.sh +522 -0
- package/skills/repo-bootstrap/scripts/extract-ci-commands.sh +385 -0
- package/skills/repo-bootstrap/scripts/extract-ci-rules.sh +384 -0
- package/skills/repo-bootstrap/scripts/extract-commands.sh +358 -0
- package/skills/repo-bootstrap/scripts/extract-documentation.sh +308 -0
- package/skills/repo-bootstrap/scripts/extract-github-rulesets.sh +96 -0
- package/skills/repo-bootstrap/scripts/extract-github-settings.sh +88 -0
- package/skills/repo-bootstrap/scripts/extract-ide-settings.sh +228 -0
- package/skills/repo-bootstrap/scripts/extract-platform-files.sh +290 -0
- package/skills/repo-bootstrap/scripts/extract-quality-configs.sh +442 -0
- package/skills/repo-bootstrap/scripts/generate-agents.sh +2424 -0
- package/skills/repo-bootstrap/scripts/generate-file-map.sh +153 -0
- package/skills/repo-bootstrap/scripts/lib/config-root.sh +211 -0
- package/skills/repo-bootstrap/scripts/lib/summary.sh +244 -0
- package/skills/repo-bootstrap/scripts/lib/template.sh +397 -0
- package/skills/repo-bootstrap/scripts/validate-structure.sh +324 -0
- package/skills/repo-bootstrap/scripts/verify-commands.sh +615 -0
- package/skills/repo-bootstrap/scripts/verify-content.sh +302 -0
- package/skills/schema-api-contracts/SKILL.md +56 -0
- package/skills/secret-hygiene/SKILL.md +511 -0
- package/skills/secret-hygiene/assets/.gitkeep +9 -0
- package/skills/secret-hygiene/assets/config-balanced.toml +81 -0
- package/skills/secret-hygiene/assets/config-custom.toml +178 -0
- package/skills/secret-hygiene/assets/config-strict.toml +48 -0
- package/skills/secret-hygiene/assets/github-action.yml +181 -0
- package/skills/secret-hygiene/assets/gitlab-ci.yml +257 -0
- package/skills/secret-hygiene/assets/precommit-config.yaml +70 -0
- package/skills/secret-hygiene/references/EXAMPLE.md +40 -0
- package/skills/secret-hygiene/references/compliance_mapping.md +538 -0
- package/skills/secret-hygiene/references/detection_rules.md +276 -0
- package/skills/secret-hygiene/references/false_positives.md +598 -0
- package/skills/secret-hygiene/references/remediation_guide.md +530 -0
- package/skills/stack-selector/SKILL.md +56 -0
- package/skills/telegram-control/SKILL.md +110 -0
- package/skills/telegram-control/references/architecture.md +184 -0
- package/skills/telegram-control/references/convex.md +173 -0
- package/skills/telegram-control/references/error_handling.md +212 -0
- package/skills/telegram-control/references/initial_setup.md +165 -0
- package/skills/telegram-control/references/telegram_api.md +156 -0
- package/skills/telegram-control/scripts/cancel_message.ts +53 -0
- package/skills/telegram-control/scripts/list_scheduled.ts +103 -0
- package/skills/telegram-control/scripts/logger.ts +121 -0
- package/skills/telegram-control/scripts/proxy-util.ts +11 -0
- package/skills/telegram-control/scripts/schedule_message.ts +216 -0
- package/skills/telegram-control/scripts/send_message.ts +115 -0
- package/skills/telegram-control/scripts/setup.ts +185 -0
- package/skills/telegram-control/scripts/types.ts +75 -0
- package/skills/telegram-control/scripts/view_history.ts +74 -0
- package/skills/test-strategy/SKILL.md +352 -0
- package/skills/threat-model/SKILL.md +303 -0
- package/skills/threat-model/examples/example-output.md +196 -0
- package/skills/threat-model/template.md +96 -0
- package/skills/ts-lint/SKILL.md +80 -0
- package/skills/ui-flow/SKILL.md +668 -0
- package/skills/voice-command-router/SKILL.md +51 -0
- package/skills/widget-live-activity-sync/SKILL.md +66 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
<!-- FOR AI AGENTS - Human readability is a side effect, not a goal -->
|
|
2
|
+
<!-- Managed by agent: keep sections and order; edit content, not structure -->
|
|
3
|
+
<!-- Last updated: {{TIMESTAMP}} | Last verified: {{VERIFIED_TIMESTAMP}} -->
|
|
4
|
+
|
|
5
|
+
# AGENTS.md
|
|
6
|
+
|
|
7
|
+
**Precedence:** The **closest AGENTS.md** to changed files wins. Root holds global defaults only.
|
|
8
|
+
|
|
9
|
+
## Project Overview
|
|
10
|
+
<!-- AGENTS-GENERATED:START project-overview -->
|
|
11
|
+
{{PROJECT_DESCRIPTION}}
|
|
12
|
+
|
|
13
|
+
**Tech Stack**: {{LANGUAGE}} {{VERSION}}, {{BUILD_TOOL}}, {{FRAMEWORK}}
|
|
14
|
+
**Type**: {{PROJECT_TYPE}}
|
|
15
|
+
<!-- AGENTS-GENERATED:END project-overview -->
|
|
16
|
+
|
|
17
|
+
## Response Style
|
|
18
|
+
- Answer first, elaborate only if needed. No sycophantic openers ("Great question!", "Absolutely!").
|
|
19
|
+
- Lead with the answer for yes/no or status questions. Skip preamble.
|
|
20
|
+
- Match response length to task complexity.
|
|
21
|
+
|
|
22
|
+
## Global Rules
|
|
23
|
+
- Keep PRs small (~≤300 net LOC)
|
|
24
|
+
- Conventional Commits: `type(scope): subject`
|
|
25
|
+
- Atomic commits (one logical change per commit) — never squash unless explicitly asked
|
|
26
|
+
{{LANGUAGE_CONVENTIONS}}
|
|
27
|
+
|
|
28
|
+
## Boundaries
|
|
29
|
+
|
|
30
|
+
### Always Do
|
|
31
|
+
- Run pre-commit checks before committing
|
|
32
|
+
- Add tests for new code paths
|
|
33
|
+
- Use conventional commit format: `type(scope): subject`
|
|
34
|
+
- Keep dependencies updated
|
|
35
|
+
- Validate all user inputs
|
|
36
|
+
- **Show test output as evidence before claiming work is complete** — never say "try again", "should work now", "tested", "verified", or "all green" without pasted command output in the same turn
|
|
37
|
+
- Before any edit, verify `pwd` resolves inside the intended repo worktree — not `.bare/`, not `~/.claude/skills/…`, not `~/.claude/plugins/cache/…` (those are read-only caches that get clobbered on update)
|
|
38
|
+
- For upstream dependency fixes: run **full** test suite, not just affected tests
|
|
39
|
+
- Force-push only with `--force-with-lease`
|
|
40
|
+
|
|
41
|
+
### Ask First
|
|
42
|
+
- Adding new dependencies
|
|
43
|
+
- Modifying CI/CD configuration
|
|
44
|
+
- Changing public API signatures
|
|
45
|
+
- Running full e2e test suites
|
|
46
|
+
- Repo-wide refactoring or rewrites
|
|
47
|
+
- Modifying security-sensitive code
|
|
48
|
+
- Changing database schemas
|
|
49
|
+
- Any operation that touches >3 repos — produce a dry-run plan first
|
|
50
|
+
|
|
51
|
+
### Never Do
|
|
52
|
+
- Commit secrets, credentials, API keys, or PII
|
|
53
|
+
- Modify vendor/, node_modules/, or generated files
|
|
54
|
+
- Push directly to main/master branch — open a PR
|
|
55
|
+
- Merge a PR before all review threads are resolved
|
|
56
|
+
- Squash commits during merge/rebase unless the user explicitly asked
|
|
57
|
+
- Edit installed skill/plugin cache paths (`~/.claude/skills/`, `~/.claude/plugins/cache/`, `**/.bare/**`)
|
|
58
|
+
- Reply to review comments with bare "Addressed" or "Fixed" — cite the resolving commit SHA
|
|
59
|
+
- Delete migration files or schema changes
|
|
60
|
+
- Disable security features or linting rules
|
|
61
|
+
- Hardcode environment-specific values
|
|
62
|
+
- Use `secrets: inherit` in reusable GitHub Actions workflows (pass secrets explicitly)
|
|
63
|
+
{{LANGUAGE_SPECIFIC_NEVER}}
|
|
64
|
+
|
|
65
|
+
<!-- AGENTS-GENERATED:START module-boundaries -->
|
|
66
|
+
{{MODULE_BOUNDARIES}}
|
|
67
|
+
<!-- AGENTS-GENERATED:END module-boundaries -->
|
|
68
|
+
|
|
69
|
+
## Development Workflow
|
|
70
|
+
1. Create feature branch: `git checkout -b feature/description`
|
|
71
|
+
2. Make changes with tests
|
|
72
|
+
3. Run pre-commit checks (see below)
|
|
73
|
+
4. Commit with conventional format
|
|
74
|
+
5. Push and create PR
|
|
75
|
+
6. Address review feedback
|
|
76
|
+
7. Merge when approved
|
|
77
|
+
|
|
78
|
+
## Agent Work Loop
|
|
79
|
+
1. **Before coding**: Read nearest `AGENTS.md` + check Golden Samples for the area you're touching
|
|
80
|
+
2. **After each change**: Run the smallest relevant check (lint → typecheck → single test)
|
|
81
|
+
3. **Before committing**: Run full test suite if changes affect >2 files or touch shared code
|
|
82
|
+
4. **Before claiming done**: Run verification and **show output as evidence** — never say "try again", "should work now", "tested", or "verified" without pasted command output
|
|
83
|
+
|
|
84
|
+
## Pre-commit Checks
|
|
85
|
+
> Source: {{COMMAND_SOURCE}} — CI-sourced commands are most reliable
|
|
86
|
+
|
|
87
|
+
<!-- AGENTS-GENERATED:START precommit-checks -->
|
|
88
|
+
**Always run before committing:**
|
|
89
|
+
- Typecheck: {{TYPECHECK_CMD}}
|
|
90
|
+
- Lint: {{LINT_CMD}}
|
|
91
|
+
- Format: {{FORMAT_CMD}}
|
|
92
|
+
- Tests: {{TEST_CMD}}
|
|
93
|
+
- Build: {{BUILD_CMD}}
|
|
94
|
+
<!-- AGENTS-GENERATED:END precommit-checks -->
|
|
95
|
+
|
|
96
|
+
## Code Quality Standards
|
|
97
|
+
<!-- AGENTS-GENERATED:START quality-standards -->
|
|
98
|
+
{{QUALITY_STANDARDS}}
|
|
99
|
+
<!-- AGENTS-GENERATED:END quality-standards -->
|
|
100
|
+
|
|
101
|
+
<!-- AGENTS-GENERATED:START ci-rules -->
|
|
102
|
+
{{CI_RULES_SECTION}}
|
|
103
|
+
<!-- AGENTS-GENERATED:END ci-rules -->
|
|
104
|
+
|
|
105
|
+
## Security & Safety
|
|
106
|
+
- Never commit secrets, credentials, or PII
|
|
107
|
+
- Validate all user inputs
|
|
108
|
+
- Use parameterized queries for database access
|
|
109
|
+
- Keep dependencies updated
|
|
110
|
+
{{SECURITY_SPECIFIC}}
|
|
111
|
+
|
|
112
|
+
## Testing Requirements
|
|
113
|
+
<!-- AGENTS-GENERATED:START testing -->
|
|
114
|
+
- Write tests for new features
|
|
115
|
+
- Maintain {{TEST_COVERAGE}}% minimum coverage
|
|
116
|
+
- Run fast tests locally: {{TEST_FAST_CMD}}
|
|
117
|
+
- Run full suite in CI: {{TEST_FULL_CMD}}
|
|
118
|
+
<!-- AGENTS-GENERATED:END testing -->
|
|
119
|
+
|
|
120
|
+
## Key Decisions
|
|
121
|
+
<!-- AGENTS-GENERATED:START key-decisions -->
|
|
122
|
+
{{KEY_DECISIONS}}
|
|
123
|
+
<!-- AGENTS-GENERATED:END key-decisions -->
|
|
124
|
+
|
|
125
|
+
## Scoped AGENTS.md (MUST read when working in these directories)
|
|
126
|
+
<!-- AGENTS-GENERATED:START scope-index -->
|
|
127
|
+
{{SCOPE_INDEX}}
|
|
128
|
+
<!-- AGENTS-GENERATED:END scope-index -->
|
|
129
|
+
|
|
130
|
+
> **Agents**: When you read or edit files in a listed directory, you **must** load its AGENTS.md first. It contains directory-specific conventions that override this root file.
|
|
131
|
+
|
|
132
|
+
## When Instructions Conflict
|
|
133
|
+
Nearest AGENTS.md wins. User prompts override files.
|
|
134
|
+
{{LANGUAGE_SPECIFIC_CONFLICT_RESOLUTION}}
|
|
135
|
+
|
|
136
|
+
## Code Examples
|
|
137
|
+
|
|
138
|
+
### Good Pattern
|
|
139
|
+
{{GOOD_EXAMPLE}}
|
|
140
|
+
|
|
141
|
+
### Avoid
|
|
142
|
+
{{BAD_EXAMPLE}}
|
|
143
|
+
|
|
144
|
+
## Documentation
|
|
145
|
+
<!-- AGENTS-GENERATED:START documentation -->
|
|
146
|
+
- Architecture: {{ARCHITECTURE_DOC}}
|
|
147
|
+
- API docs: {{API_DOC}}
|
|
148
|
+
- Contributing: {{CONTRIBUTING_DOC}}
|
|
149
|
+
<!-- AGENTS-GENERATED:END documentation -->
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
<!-- Managed by agent: keep sections and order; edit content, not structure. Last updated: {{TIMESTAMP}} -->
|
|
2
|
+
|
|
3
|
+
# AGENTS.md — {{SCOPE_NAME}}
|
|
4
|
+
|
|
5
|
+
<!-- AGENTS-GENERATED:START overview -->
|
|
6
|
+
## Overview
|
|
7
|
+
{{SCOPE_DESCRIPTION}}
|
|
8
|
+
<!-- AGENTS-GENERATED:END overview -->
|
|
9
|
+
|
|
10
|
+
<!-- AGENTS-GENERATED:START filemap -->
|
|
11
|
+
## Key Files
|
|
12
|
+
{{SCOPE_FILE_MAP}}
|
|
13
|
+
<!-- AGENTS-GENERATED:END filemap -->
|
|
14
|
+
|
|
15
|
+
<!-- AGENTS-GENERATED:START golden-samples -->
|
|
16
|
+
## Golden Samples (follow these patterns)
|
|
17
|
+
{{SCOPE_GOLDEN_SAMPLES}}
|
|
18
|
+
<!-- AGENTS-GENERATED:END golden-samples -->
|
|
19
|
+
|
|
20
|
+
<!-- AGENTS-GENERATED:START setup -->
|
|
21
|
+
## Setup & environment
|
|
22
|
+
{{INSTALL_LINE}}
|
|
23
|
+
{{GO_VERSION_LINE}}
|
|
24
|
+
{{GO_TOOLS_LINE}}
|
|
25
|
+
{{ENV_VARS_LINE}}
|
|
26
|
+
<!-- AGENTS-GENERATED:END setup -->
|
|
27
|
+
|
|
28
|
+
<!-- AGENTS-GENERATED:START commands -->
|
|
29
|
+
## Build & tests
|
|
30
|
+
{{VET_LINE}}
|
|
31
|
+
{{FORMAT_LINE}}
|
|
32
|
+
{{LINT_LINE}}
|
|
33
|
+
{{GOVULNCHECK_LINE}}
|
|
34
|
+
{{TEST_LINE}}
|
|
35
|
+
{{TEST_RACE_LINE}}
|
|
36
|
+
{{TEST_SINGLE_LINE}}
|
|
37
|
+
{{FUZZ_LINE}}
|
|
38
|
+
{{BUILD_LINE}}
|
|
39
|
+
<!-- AGENTS-GENERATED:END commands -->
|
|
40
|
+
|
|
41
|
+
<!-- AGENTS-GENERATED:START code-style -->
|
|
42
|
+
## Code style & conventions
|
|
43
|
+
- Follow Go 1.{{GO_MINOR_VERSION}} idioms
|
|
44
|
+
- Use standard library over external deps when possible
|
|
45
|
+
- Errors: wrap with `fmt.Errorf("context: %w", err)`, lowercase no punctuation
|
|
46
|
+
- Naming: `camelCase` for private, `PascalCase` for exported; ID/URL/HTTP not Id/Url/Http
|
|
47
|
+
- Struct tags: use canonical form (json, yaml, etc.)
|
|
48
|
+
- Comments: complete sentences ending with period
|
|
49
|
+
- Package docs: first sentence summarizes purpose
|
|
50
|
+
- Prefer `any` over `interface{}`; use generics `[T any]` where appropriate
|
|
51
|
+
- Run `go fix ./...` after Go version upgrades to apply modernizers
|
|
52
|
+
<!-- AGENTS-GENERATED:END code-style -->
|
|
53
|
+
|
|
54
|
+
<!-- AGENTS-GENERATED:START security -->
|
|
55
|
+
## Security & safety
|
|
56
|
+
- Validate all inputs from external sources
|
|
57
|
+
- Use `context.Context` for cancellation and timeouts
|
|
58
|
+
- Avoid goroutine leaks: always ensure termination paths
|
|
59
|
+
- Sensitive data: never log or include in errors
|
|
60
|
+
- SQL: use parameterized queries only
|
|
61
|
+
- File paths: validate and sanitize user-provided paths
|
|
62
|
+
<!-- AGENTS-GENERATED:END security -->
|
|
63
|
+
|
|
64
|
+
<!-- AGENTS-GENERATED:START quality-gates -->
|
|
65
|
+
## Quality gates
|
|
66
|
+
Run these checks before completing any review:
|
|
67
|
+
```bash
|
|
68
|
+
golangci-lint run --timeout 5m # Linting (golangci-lint v2)
|
|
69
|
+
go vet ./... # Static analysis
|
|
70
|
+
govulncheck ./... # Vulnerability scan
|
|
71
|
+
go test -race ./... # Race detection
|
|
72
|
+
```
|
|
73
|
+
<!-- AGENTS-GENERATED:END quality-gates -->
|
|
74
|
+
|
|
75
|
+
<!-- AGENTS-GENERATED:START checklist -->
|
|
76
|
+
## PR/commit checklist
|
|
77
|
+
{{TEST_CHECKLIST_LINE}}
|
|
78
|
+
{{LINT_CHECKLIST_LINE}}
|
|
79
|
+
{{FORMAT_CHECKLIST_LINE}}
|
|
80
|
+
- [ ] `govulncheck ./...` reports no vulnerabilities
|
|
81
|
+
- [ ] No goroutine leaks (ensure termination paths)
|
|
82
|
+
- [ ] Error messages are descriptive and wrapped with `%w`
|
|
83
|
+
- [ ] Public APIs have godoc comments
|
|
84
|
+
- [ ] `context.Context` passed and respected in all I/O paths
|
|
85
|
+
<!-- AGENTS-GENERATED:END checklist -->
|
|
86
|
+
|
|
87
|
+
<!-- AGENTS-GENERATED:START examples -->
|
|
88
|
+
## Patterns to Follow
|
|
89
|
+
> **Prefer looking at real code in this repo over generic examples.**
|
|
90
|
+
> See **Golden Samples** section above for files that demonstrate correct patterns.
|
|
91
|
+
|
|
92
|
+
Key patterns:
|
|
93
|
+
- Context handling: always pass and respect `context.Context`
|
|
94
|
+
- Interfaces: define where used, not where implemented
|
|
95
|
+
<!-- AGENTS-GENERATED:END examples -->
|
|
96
|
+
|
|
97
|
+
<!-- AGENTS-GENERATED:START help -->
|
|
98
|
+
## When stuck
|
|
99
|
+
- Check Go documentation: https://pkg.go.dev
|
|
100
|
+
- Review existing patterns in this codebase
|
|
101
|
+
- Check root AGENTS.md for project-wide conventions
|
|
102
|
+
- Run `go doc <package>` for standard library help
|
|
103
|
+
<!-- AGENTS-GENERATED:END help -->
|
|
104
|
+
|
|
105
|
+
## House Rules (project-specific)
|
|
106
|
+
<!-- This section is NOT auto-generated - add your project-specific rules here -->
|
|
107
|
+
{{HOUSE_RULES}}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
<!-- Managed by agent: keep sections and order; edit content, not structure. Last updated: {{TIMESTAMP}} -->
|
|
2
|
+
|
|
3
|
+
# AGENTS.md — {{SCOPE_NAME}}
|
|
4
|
+
|
|
5
|
+
<!-- AGENTS-GENERATED:START overview -->
|
|
6
|
+
## Overview
|
|
7
|
+
{{SCOPE_DESCRIPTION}}
|
|
8
|
+
<!-- AGENTS-GENERATED:END overview -->
|
|
9
|
+
|
|
10
|
+
<!-- AGENTS-GENERATED:START filemap -->
|
|
11
|
+
## Key Files
|
|
12
|
+
{{SCOPE_FILE_MAP}}
|
|
13
|
+
<!-- AGENTS-GENERATED:END filemap -->
|
|
14
|
+
|
|
15
|
+
<!-- AGENTS-GENERATED:START golden-samples -->
|
|
16
|
+
## Golden Samples (follow these patterns)
|
|
17
|
+
{{SCOPE_GOLDEN_SAMPLES}}
|
|
18
|
+
<!-- AGENTS-GENERATED:END golden-samples -->
|
|
19
|
+
|
|
20
|
+
<!-- AGENTS-GENERATED:START setup -->
|
|
21
|
+
## Setup & environment
|
|
22
|
+
{{INSTALL_LINE}}
|
|
23
|
+
{{PHP_VERSION_LINE}}
|
|
24
|
+
{{FRAMEWORK_LINE}}
|
|
25
|
+
{{PHP_EXTENSIONS_LINE}}
|
|
26
|
+
{{ENV_VARS_LINE}}
|
|
27
|
+
<!-- AGENTS-GENERATED:END setup -->
|
|
28
|
+
|
|
29
|
+
<!-- AGENTS-GENERATED:START commands -->
|
|
30
|
+
## Build & tests
|
|
31
|
+
{{TYPECHECK_LINE}}
|
|
32
|
+
{{FORMAT_LINE}}
|
|
33
|
+
{{LINT_LINE}}
|
|
34
|
+
{{TEST_LINE}}
|
|
35
|
+
{{BUILD_LINE}}
|
|
36
|
+
<!-- AGENTS-GENERATED:END commands -->
|
|
37
|
+
|
|
38
|
+
<!-- AGENTS-GENERATED:START code-style -->
|
|
39
|
+
## Code style & conventions
|
|
40
|
+
- Follow PSR-12 coding standard
|
|
41
|
+
- Use strict types: `declare(strict_types=1);`
|
|
42
|
+
- Type hints: always use for parameters and return types
|
|
43
|
+
- Naming: `camelCase` for methods, `PascalCase` for classes
|
|
44
|
+
- Visibility: always declare (public, protected, private)
|
|
45
|
+
- PHPDoc: required for public APIs, include `@param` and `@return`
|
|
46
|
+
{{FRAMEWORK_CONVENTIONS}}
|
|
47
|
+
<!-- AGENTS-GENERATED:END code-style -->
|
|
48
|
+
|
|
49
|
+
<!-- AGENTS-GENERATED:START security -->
|
|
50
|
+
## Security & safety
|
|
51
|
+
- Validate and sanitize all user inputs
|
|
52
|
+
- Use prepared statements for database queries
|
|
53
|
+
- Escape output in templates
|
|
54
|
+
- Never use dynamic code execution functions
|
|
55
|
+
- Sensitive data: never log or expose in errors
|
|
56
|
+
- CSRF protection: enable for all forms
|
|
57
|
+
- XSS protection: escape all user-generated content
|
|
58
|
+
<!-- AGENTS-GENERATED:END security -->
|
|
59
|
+
|
|
60
|
+
<!-- AGENTS-GENERATED:START checklist -->
|
|
61
|
+
## PR/commit checklist
|
|
62
|
+
{{TEST_CHECKLIST_LINE}}
|
|
63
|
+
{{TYPECHECK_CHECKLIST_LINE}}
|
|
64
|
+
{{FORMAT_CHECKLIST_LINE}}
|
|
65
|
+
- [ ] No deprecated functions used
|
|
66
|
+
- [ ] Public methods have PHPDoc
|
|
67
|
+
- [ ] Security: inputs validated, outputs escaped
|
|
68
|
+
<!-- AGENTS-GENERATED:END checklist -->
|
|
69
|
+
|
|
70
|
+
<!-- AGENTS-GENERATED:START examples -->
|
|
71
|
+
## Patterns to Follow
|
|
72
|
+
> **Prefer looking at real code in this repo over generic examples.**
|
|
73
|
+
> See **Golden Samples** section above for files that demonstrate correct patterns.
|
|
74
|
+
<!-- AGENTS-GENERATED:END examples -->
|
|
75
|
+
|
|
76
|
+
<!-- AGENTS-GENERATED:START help -->
|
|
77
|
+
## When stuck
|
|
78
|
+
- Check PHP documentation: https://www.php.net
|
|
79
|
+
{{FRAMEWORK_DOCS_LINE}}
|
|
80
|
+
- Review existing patterns in this codebase
|
|
81
|
+
- Check root AGENTS.md for project-wide conventions
|
|
82
|
+
<!-- AGENTS-GENERATED:END help -->
|
|
83
|
+
|
|
84
|
+
<!-- AGENTS-GENERATED:START skill-reference -->
|
|
85
|
+
## Skill Reference
|
|
86
|
+
> For PHP 8.x modernization, type safety, and PHPStan compliance:
|
|
87
|
+
> **Invoke skill:** `php-modernization`
|
|
88
|
+
>
|
|
89
|
+
> For Symfony projects, use the dedicated `symfony.md` scoped template instead of this generic PHP template.
|
|
90
|
+
<!-- AGENTS-GENERATED:END skill-reference -->
|
|
91
|
+
|
|
92
|
+
## House Rules (project-specific)
|
|
93
|
+
<!-- This section is NOT auto-generated - add your project-specific rules here -->
|
|
94
|
+
{{HOUSE_RULES}}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
<!-- Managed by agent: keep sections and order; edit content, not structure. Last updated: {{TIMESTAMP}} -->
|
|
2
|
+
|
|
3
|
+
# AGENTS.md — {{SCOPE_NAME}}
|
|
4
|
+
|
|
5
|
+
<!-- AGENTS-GENERATED:START overview -->
|
|
6
|
+
## Overview
|
|
7
|
+
{{SCOPE_DESCRIPTION}}
|
|
8
|
+
<!-- AGENTS-GENERATED:END overview -->
|
|
9
|
+
|
|
10
|
+
<!-- AGENTS-GENERATED:START filemap -->
|
|
11
|
+
## Key Files
|
|
12
|
+
{{SCOPE_FILE_MAP}}
|
|
13
|
+
<!-- AGENTS-GENERATED:END filemap -->
|
|
14
|
+
|
|
15
|
+
<!-- AGENTS-GENERATED:START golden-samples -->
|
|
16
|
+
## Golden Samples (follow these patterns)
|
|
17
|
+
{{SCOPE_GOLDEN_SAMPLES}}
|
|
18
|
+
<!-- AGENTS-GENERATED:END golden-samples -->
|
|
19
|
+
|
|
20
|
+
<!-- AGENTS-GENERATED:START setup -->
|
|
21
|
+
## Setup & environment
|
|
22
|
+
{{INSTALL_LINE}}
|
|
23
|
+
{{PYTHON_VERSION_LINE}}
|
|
24
|
+
{{PACKAGE_MANAGER_LINE}}
|
|
25
|
+
{{VENV_LINE}}
|
|
26
|
+
{{ENV_VARS_LINE}}
|
|
27
|
+
<!-- AGENTS-GENERATED:END setup -->
|
|
28
|
+
|
|
29
|
+
<!-- AGENTS-GENERATED:START commands -->
|
|
30
|
+
## Build & tests
|
|
31
|
+
{{TYPECHECK_LINE}}
|
|
32
|
+
{{FORMAT_LINE}}
|
|
33
|
+
{{LINT_LINE}}
|
|
34
|
+
{{TEST_LINE}}
|
|
35
|
+
{{BUILD_LINE}}
|
|
36
|
+
<!-- AGENTS-GENERATED:END commands -->
|
|
37
|
+
|
|
38
|
+
<!-- AGENTS-GENERATED:START code-style -->
|
|
39
|
+
## Code style & conventions
|
|
40
|
+
- Follow PEP 8 style guide
|
|
41
|
+
- Use type hints for all function signatures
|
|
42
|
+
- Naming: `snake_case` for functions/variables, `PascalCase` for classes
|
|
43
|
+
- Docstrings: Google style, required for public APIs
|
|
44
|
+
- Imports: group by stdlib, third-party, local (use isort)
|
|
45
|
+
- Modern Python: prefer `|` over `Union`, `list` over `List`
|
|
46
|
+
{{FRAMEWORK_CONVENTIONS}}
|
|
47
|
+
<!-- AGENTS-GENERATED:END code-style -->
|
|
48
|
+
|
|
49
|
+
<!-- AGENTS-GENERATED:START security -->
|
|
50
|
+
## Security & safety
|
|
51
|
+
- Validate and sanitize all user inputs
|
|
52
|
+
- Use parameterized queries for database access
|
|
53
|
+
- Never use dynamic code execution with untrusted data
|
|
54
|
+
- Sensitive data: never log or expose in errors
|
|
55
|
+
- File paths: validate and use `pathlib` for path operations
|
|
56
|
+
- Subprocess: use list args, avoid shell=True with user input
|
|
57
|
+
<!-- AGENTS-GENERATED:END security -->
|
|
58
|
+
|
|
59
|
+
<!-- AGENTS-GENERATED:START checklist -->
|
|
60
|
+
## PR/commit checklist
|
|
61
|
+
{{TEST_CHECKLIST_LINE}}
|
|
62
|
+
{{TYPECHECK_CHECKLIST_LINE}}
|
|
63
|
+
{{LINT_CHECKLIST_LINE}}
|
|
64
|
+
{{FORMAT_CHECKLIST_LINE}}
|
|
65
|
+
- [ ] Public functions have docstrings
|
|
66
|
+
<!-- AGENTS-GENERATED:END checklist -->
|
|
67
|
+
|
|
68
|
+
<!-- AGENTS-GENERATED:START examples -->
|
|
69
|
+
## Patterns to Follow
|
|
70
|
+
> **Prefer looking at real code in this repo over generic examples.**
|
|
71
|
+
> See **Golden Samples** section above for files that demonstrate correct patterns.
|
|
72
|
+
<!-- AGENTS-GENERATED:END examples -->
|
|
73
|
+
|
|
74
|
+
<!-- AGENTS-GENERATED:START help -->
|
|
75
|
+
## When stuck
|
|
76
|
+
- Check Python documentation: https://docs.python.org
|
|
77
|
+
- Review existing patterns in this codebase
|
|
78
|
+
- Check root AGENTS.md for project-wide conventions
|
|
79
|
+
- Use `python -m pydoc <module>` for stdlib help
|
|
80
|
+
<!-- AGENTS-GENERATED:END help -->
|
|
81
|
+
|
|
82
|
+
## House Rules (project-specific)
|
|
83
|
+
<!-- This section is NOT auto-generated - add your project-specific rules here -->
|
|
84
|
+
{{HOUSE_RULES}}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
<!-- Managed by agent: keep sections and order; edit content, not structure. Last updated: {{TIMESTAMP}} -->
|
|
2
|
+
|
|
3
|
+
# AGENTS.md — {{SCOPE_NAME}}
|
|
4
|
+
|
|
5
|
+
<!-- AGENTS-GENERATED:START overview -->
|
|
6
|
+
## Overview
|
|
7
|
+
{{SCOPE_DESCRIPTION}}
|
|
8
|
+
<!-- AGENTS-GENERATED:END overview -->
|
|
9
|
+
|
|
10
|
+
<!-- AGENTS-GENERATED:START filemap -->
|
|
11
|
+
## Key Files
|
|
12
|
+
{{SCOPE_FILE_MAP}}
|
|
13
|
+
<!-- AGENTS-GENERATED:END filemap -->
|
|
14
|
+
|
|
15
|
+
<!-- AGENTS-GENERATED:START golden-samples -->
|
|
16
|
+
## Golden Samples (follow these patterns)
|
|
17
|
+
{{SCOPE_GOLDEN_SAMPLES}}
|
|
18
|
+
<!-- AGENTS-GENERATED:END golden-samples -->
|
|
19
|
+
|
|
20
|
+
<!-- AGENTS-GENERATED:START setup -->
|
|
21
|
+
## Setup & environment
|
|
22
|
+
{{INSTALL_LINE}}
|
|
23
|
+
{{NODE_VERSION_LINE}}
|
|
24
|
+
{{PACKAGE_MANAGER_LINE}}
|
|
25
|
+
{{RUNTIME_LINE}}
|
|
26
|
+
{{ENV_VARS_LINE}}
|
|
27
|
+
<!-- AGENTS-GENERATED:END setup -->
|
|
28
|
+
|
|
29
|
+
<!-- AGENTS-GENERATED:START commands -->
|
|
30
|
+
## Build & tests
|
|
31
|
+
{{TYPECHECK_LINE}}
|
|
32
|
+
{{FORMAT_LINE}}
|
|
33
|
+
{{LINT_LINE}}
|
|
34
|
+
{{TEST_LINE}}
|
|
35
|
+
{{BUILD_LINE}}
|
|
36
|
+
{{DEV_LINE}}
|
|
37
|
+
<!-- AGENTS-GENERATED:END commands -->
|
|
38
|
+
|
|
39
|
+
<!-- AGENTS-GENERATED:START code-style -->
|
|
40
|
+
## Code style & conventions
|
|
41
|
+
- Use TypeScript strict mode (`strict: true` in tsconfig)
|
|
42
|
+
- No `any` without explicit justification comment
|
|
43
|
+
- Prefer `interface` over `type` for object shapes
|
|
44
|
+
- Naming: `camelCase` for functions/vars, `PascalCase` for classes/types
|
|
45
|
+
- Async/await over raw Promises
|
|
46
|
+
- Prefer `const` over `let`, never use `var`
|
|
47
|
+
- Destructure objects and arrays when appropriate
|
|
48
|
+
{{FRAMEWORK_CONVENTIONS}}
|
|
49
|
+
<!-- AGENTS-GENERATED:END code-style -->
|
|
50
|
+
|
|
51
|
+
<!-- AGENTS-GENERATED:START security -->
|
|
52
|
+
## Security & safety
|
|
53
|
+
- Validate all user inputs (use zod or similar)
|
|
54
|
+
- Parameterized queries only (no string concatenation)
|
|
55
|
+
- Never use dynamic code execution with user data
|
|
56
|
+
- Sensitive data: never log or expose in errors
|
|
57
|
+
- Environment: use dotenv, never hardcode secrets
|
|
58
|
+
- CORS: configure explicitly, no wildcard in production
|
|
59
|
+
- Rate limiting: implement for public endpoints
|
|
60
|
+
<!-- AGENTS-GENERATED:END security -->
|
|
61
|
+
|
|
62
|
+
<!-- AGENTS-GENERATED:START checklist -->
|
|
63
|
+
## PR/commit checklist
|
|
64
|
+
{{TEST_CHECKLIST_LINE}}
|
|
65
|
+
{{TYPECHECK_CHECKLIST_LINE}}
|
|
66
|
+
{{LINT_CHECKLIST_LINE}}
|
|
67
|
+
{{FORMAT_CHECKLIST_LINE}}
|
|
68
|
+
- [ ] No `any` types without justification
|
|
69
|
+
- [ ] API endpoints have validation
|
|
70
|
+
- [ ] Error responses don't leak internals
|
|
71
|
+
<!-- AGENTS-GENERATED:END checklist -->
|
|
72
|
+
|
|
73
|
+
<!-- AGENTS-GENERATED:START examples -->
|
|
74
|
+
## Patterns to Follow
|
|
75
|
+
> **Prefer looking at real code in this repo over generic examples.**
|
|
76
|
+
> See **Golden Samples** section above for files that demonstrate correct patterns.
|
|
77
|
+
<!-- AGENTS-GENERATED:END examples -->
|
|
78
|
+
|
|
79
|
+
<!-- AGENTS-GENERATED:START help -->
|
|
80
|
+
## When stuck
|
|
81
|
+
- Check Node.js docs: https://nodejs.org/docs
|
|
82
|
+
- TypeScript handbook: https://www.typescriptlang.org/docs
|
|
83
|
+
- Review existing patterns in this codebase
|
|
84
|
+
- Check root AGENTS.md for project-wide conventions
|
|
85
|
+
<!-- AGENTS-GENERATED:END help -->
|
|
86
|
+
|
|
87
|
+
## House Rules (project-specific)
|
|
88
|
+
<!-- This section is NOT auto-generated - add your project-specific rules here -->
|
|
89
|
+
{{HOUSE_RULES}}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<!-- Managed by agent: keep sections and order; edit content, not structure. Last updated: {{TIMESTAMP}} -->
|
|
2
|
+
|
|
3
|
+
# AGENTS.md — {{SCOPE_NAME}}
|
|
4
|
+
|
|
5
|
+
<!-- AGENTS-GENERATED:START overview -->
|
|
6
|
+
## Overview
|
|
7
|
+
{{SCOPE_DESCRIPTION}}
|
|
8
|
+
<!-- AGENTS-GENERATED:END overview -->
|
|
9
|
+
|
|
10
|
+
<!-- AGENTS-GENERATED:START filemap -->
|
|
11
|
+
## Key Files
|
|
12
|
+
{{SCOPE_FILE_MAP}}
|
|
13
|
+
<!-- AGENTS-GENERATED:END filemap -->
|
|
14
|
+
|
|
15
|
+
<!-- AGENTS-GENERATED:START golden-samples -->
|
|
16
|
+
## Golden Samples (follow these patterns)
|
|
17
|
+
{{SCOPE_GOLDEN_SAMPLES}}
|
|
18
|
+
<!-- AGENTS-GENERATED:END golden-samples -->
|
|
19
|
+
|
|
20
|
+
<!-- AGENTS-GENERATED:START setup -->
|
|
21
|
+
## Setup & environment
|
|
22
|
+
{{PLUGIN_JSON_LINE}}
|
|
23
|
+
{{SKILLS_LINE}}
|
|
24
|
+
{{INSTALL_LINE}}
|
|
25
|
+
<!-- AGENTS-GENERATED:END setup -->
|
|
26
|
+
|
|
27
|
+
<!-- AGENTS-GENERATED:START structure -->
|
|
28
|
+
## Directory structure
|
|
29
|
+
```
|
|
30
|
+
.claude-plugin/
|
|
31
|
+
plugin.json → Plugin manifest (name, version, skills)
|
|
32
|
+
skills/
|
|
33
|
+
<skill-name>/
|
|
34
|
+
SKILL.md → Skill definition and instructions
|
|
35
|
+
assets/ → Templates, reference docs
|
|
36
|
+
scripts/ → Shell scripts for automation
|
|
37
|
+
references/ → Examples, golden samples
|
|
38
|
+
```
|
|
39
|
+
<!-- AGENTS-GENERATED:END structure -->
|
|
40
|
+
|
|
41
|
+
<!-- AGENTS-GENERATED:START commands -->
|
|
42
|
+
## Build & tests
|
|
43
|
+
{{LINT_LINE}}
|
|
44
|
+
{{TEST_LINE}}
|
|
45
|
+
{{VALIDATE_LINE}}
|
|
46
|
+
<!-- AGENTS-GENERATED:END commands -->
|
|
47
|
+
|
|
48
|
+
<!-- AGENTS-GENERATED:START code-style -->
|
|
49
|
+
## Code style & conventions
|
|
50
|
+
- SKILL.md: Clear, actionable instructions for AI agents
|
|
51
|
+
- Shell scripts: Follow ShellCheck recommendations
|
|
52
|
+
- Templates: Use `{{PLACEHOLDER}}` syntax for variables
|
|
53
|
+
- Keep skills focused on one domain/task
|
|
54
|
+
- Include checkpoints for verification
|
|
55
|
+
- Provide golden samples for pattern demonstration
|
|
56
|
+
<!-- AGENTS-GENERATED:END code-style -->
|
|
57
|
+
|
|
58
|
+
<!-- AGENTS-GENERATED:START skill-design -->
|
|
59
|
+
## Skill design principles
|
|
60
|
+
- **Actionable**: Tell agents WHAT to do, not just WHAT things are
|
|
61
|
+
- **Verifiable**: Include checkpoints agents can run to verify work
|
|
62
|
+
- **Scoped**: One skill = one domain (don't mix concerns)
|
|
63
|
+
- **Referenced**: Point to golden samples, not generic examples
|
|
64
|
+
- **Minimal**: Include only what agents need; avoid documentation bloat
|
|
65
|
+
<!-- AGENTS-GENERATED:END skill-design -->
|
|
66
|
+
|
|
67
|
+
<!-- AGENTS-GENERATED:START security -->
|
|
68
|
+
## Security & safety
|
|
69
|
+
- Never include secrets or credentials in skills
|
|
70
|
+
- Validate all user inputs in scripts
|
|
71
|
+
- Use placeholder values in examples: `your-api-key`, `example.com`
|
|
72
|
+
- Review generated content for sensitive information
|
|
73
|
+
<!-- AGENTS-GENERATED:END security -->
|
|
74
|
+
|
|
75
|
+
<!-- AGENTS-GENERATED:START checklist -->
|
|
76
|
+
## PR/commit checklist
|
|
77
|
+
{{LINT_CHECKLIST_LINE}}
|
|
78
|
+
- [ ] SKILL.md instructions are clear and actionable
|
|
79
|
+
- [ ] Templates use whole-line placeholders (not inline)
|
|
80
|
+
- [ ] Golden samples exist for key patterns
|
|
81
|
+
- [ ] Checkpoints are verifiable
|
|
82
|
+
- [ ] plugin.json version updated if releasing
|
|
83
|
+
<!-- AGENTS-GENERATED:END checklist -->
|
|
84
|
+
|
|
85
|
+
<!-- AGENTS-GENERATED:START examples -->
|
|
86
|
+
## Patterns to Follow
|
|
87
|
+
> **Prefer looking at real code in this repo over generic examples.**
|
|
88
|
+
> See **Golden Samples** section above for files that demonstrate correct patterns.
|
|
89
|
+
<!-- AGENTS-GENERATED:END examples -->
|
|
90
|
+
|
|
91
|
+
<!-- AGENTS-GENERATED:START help -->
|
|
92
|
+
## When stuck
|
|
93
|
+
- Check existing skills for patterns
|
|
94
|
+
- Review Claude Code documentation
|
|
95
|
+
- Test skills with `claude --skill <name>`
|
|
96
|
+
- Check root AGENTS.md for project conventions
|
|
97
|
+
<!-- AGENTS-GENERATED:END help -->
|
|
98
|
+
|
|
99
|
+
## House Rules (project-specific)
|
|
100
|
+
<!-- This section is NOT auto-generated - add your project-specific rules here -->
|
|
101
|
+
{{HOUSE_RULES}}
|