@heytherevibin/skillforge 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/CODE_OF_CONDUCT.md +34 -0
- package/CONTRIBUTING.md +38 -0
- package/LICENSE +21 -0
- package/README.md +337 -0
- package/RELEASING.md +93 -0
- package/SECURITY.md +31 -0
- package/STRATEGY.md +26 -0
- package/bin/cli.js +547 -0
- package/lib/packs.js +184 -0
- package/package.json +38 -0
- package/python/app/__init__.py +0 -0
- package/python/app/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/app/__pycache__/auth.cpython-312.pyc +0 -0
- package/python/app/__pycache__/main.cpython-312.pyc +0 -0
- package/python/app/auth.py +63 -0
- package/python/app/cli.py +78 -0
- package/python/app/db_paths.py +26 -0
- package/python/app/events_cli.py +175 -0
- package/python/app/main.py +647 -0
- package/python/app/materialize.py +138 -0
- package/python/app/mcp_server.py +610 -0
- package/python/app/route_cli.py +117 -0
- package/python/requirements-dev.txt +1 -0
- package/python/requirements.txt +7 -0
- package/python/tests/test_db_paths.py +41 -0
- package/skills/accessibility/SKILL.md +145 -0
- package/skills/agent-architecture-audit/SKILL.md +256 -0
- package/skills/agent-eval/SKILL.md +144 -0
- package/skills/agent-harness-construction/SKILL.md +72 -0
- package/skills/agent-introspection-debugging/SKILL.md +152 -0
- package/skills/agent-payment-x402/SKILL.md +224 -0
- package/skills/agent-sort/SKILL.md +214 -0
- package/skills/agentic-engineering/SKILL.md +62 -0
- package/skills/agentic-os/SKILL.md +386 -0
- package/skills/ai-first-engineering/SKILL.md +50 -0
- package/skills/ai-regression-testing/SKILL.md +384 -0
- package/skills/android-clean-architecture/SKILL.md +338 -0
- package/skills/angular-developer/SKILL.md +153 -0
- package/skills/angular-developer/references/angular-animations.md +160 -0
- package/skills/angular-developer/references/angular-aria.md +410 -0
- package/skills/angular-developer/references/cli.md +86 -0
- package/skills/angular-developer/references/component-harnesses.md +59 -0
- package/skills/angular-developer/references/component-styling.md +91 -0
- package/skills/angular-developer/references/components.md +117 -0
- package/skills/angular-developer/references/creating-services.md +97 -0
- package/skills/angular-developer/references/data-resolvers.md +69 -0
- package/skills/angular-developer/references/define-routes.md +67 -0
- package/skills/angular-developer/references/defining-providers.md +72 -0
- package/skills/angular-developer/references/di-fundamentals.md +120 -0
- package/skills/angular-developer/references/e2e-testing.md +56 -0
- package/skills/angular-developer/references/effects.md +83 -0
- package/skills/angular-developer/references/hierarchical-injectors.md +43 -0
- package/skills/angular-developer/references/host-elements.md +80 -0
- package/skills/angular-developer/references/injection-context.md +63 -0
- package/skills/angular-developer/references/inputs.md +101 -0
- package/skills/angular-developer/references/linked-signal.md +59 -0
- package/skills/angular-developer/references/loading-strategies.md +61 -0
- package/skills/angular-developer/references/mcp.md +108 -0
- package/skills/angular-developer/references/navigate-to-routes.md +69 -0
- package/skills/angular-developer/references/outputs.md +86 -0
- package/skills/angular-developer/references/reactive-forms.md +122 -0
- package/skills/angular-developer/references/rendering-strategies.md +44 -0
- package/skills/angular-developer/references/resource.md +77 -0
- package/skills/angular-developer/references/route-animations.md +56 -0
- package/skills/angular-developer/references/route-guards.md +52 -0
- package/skills/angular-developer/references/router-lifecycle.md +45 -0
- package/skills/angular-developer/references/router-testing.md +87 -0
- package/skills/angular-developer/references/show-routes-with-outlets.md +68 -0
- package/skills/angular-developer/references/signal-forms.md +795 -0
- package/skills/angular-developer/references/signals-overview.md +94 -0
- package/skills/angular-developer/references/tailwind-css.md +69 -0
- package/skills/angular-developer/references/template-driven-forms.md +114 -0
- package/skills/angular-developer/references/testing-fundamentals.md +65 -0
- package/skills/api-connector-builder/SKILL.md +120 -0
- package/skills/api-design/SKILL.md +522 -0
- package/skills/architecture-decision-records/SKILL.md +178 -0
- package/skills/article-writing/SKILL.md +78 -0
- package/skills/automation-audit-ops/SKILL.md +141 -0
- package/skills/autonomous-agent-harness/SKILL.md +272 -0
- package/skills/autonomous-loops/SKILL.md +609 -0
- package/skills/backend-patterns/SKILL.md +560 -0
- package/skills/benchmark/SKILL.md +92 -0
- package/skills/blueprint/SKILL.md +104 -0
- package/skills/browser-qa/SKILL.md +86 -0
- package/skills/bun-runtime/SKILL.md +83 -0
- package/skills/canary-watch/SKILL.md +98 -0
- package/skills/carrier-relationship-management/SKILL.md +211 -0
- package/skills/cisco-ios-patterns/SKILL.md +163 -0
- package/skills/ck/SKILL.md +147 -0
- package/skills/ck/commands/forget.mjs +44 -0
- package/skills/ck/commands/info.mjs +24 -0
- package/skills/ck/commands/init.mjs +143 -0
- package/skills/ck/commands/list.mjs +40 -0
- package/skills/ck/commands/migrate.mjs +202 -0
- package/skills/ck/commands/resume.mjs +36 -0
- package/skills/ck/commands/save.mjs +210 -0
- package/skills/ck/commands/shared.mjs +387 -0
- package/skills/ck/hooks/session-start.mjs +224 -0
- package/skills/claude-devfleet/SKILL.md +103 -0
- package/skills/click-path-audit/SKILL.md +244 -0
- package/skills/clickhouse-io/SKILL.md +438 -0
- package/skills/code-tour/SKILL.md +235 -0
- package/skills/codebase-onboarding/SKILL.md +232 -0
- package/skills/coding-standards/SKILL.md +548 -0
- package/skills/compose-multiplatform-patterns/SKILL.md +298 -0
- package/skills/connections-optimizer/SKILL.md +188 -0
- package/skills/content-engine/SKILL.md +126 -0
- package/skills/content-hash-cache-pattern/SKILL.md +160 -0
- package/skills/context-budget/SKILL.md +134 -0
- package/skills/continuous-agent-loop/SKILL.md +44 -0
- package/skills/continuous-learning/SKILL.md +129 -0
- package/skills/continuous-learning/config.json +18 -0
- package/skills/continuous-learning/evaluate-session.sh +69 -0
- package/skills/continuous-learning-v2/SKILL.md +358 -0
- package/skills/continuous-learning-v2/agents/observer-loop.sh +322 -0
- package/skills/continuous-learning-v2/agents/observer.md +198 -0
- package/skills/continuous-learning-v2/agents/session-guardian.sh +150 -0
- package/skills/continuous-learning-v2/agents/start-observer.sh +248 -0
- package/skills/continuous-learning-v2/config.json +8 -0
- package/skills/continuous-learning-v2/hooks/observe.sh +476 -0
- package/skills/continuous-learning-v2/scripts/detect-project.sh +288 -0
- package/skills/continuous-learning-v2/scripts/instinct-cli.py +1519 -0
- package/skills/continuous-learning-v2/scripts/lib/homunculus-dir.sh +31 -0
- package/skills/continuous-learning-v2/scripts/migrate-homunculus.sh +62 -0
- package/skills/continuous-learning-v2/scripts/test_parse_instinct.py +1018 -0
- package/skills/cost-aware-llm-pipeline/SKILL.md +182 -0
- package/skills/cost-tracking/SKILL.md +147 -0
- package/skills/council/SKILL.md +202 -0
- package/skills/cpp-coding-standards/SKILL.md +722 -0
- package/skills/cpp-testing/SKILL.md +323 -0
- package/skills/crosspost/SKILL.md +110 -0
- package/skills/csharp-testing/SKILL.md +320 -0
- package/skills/customer-billing-ops/SKILL.md +139 -0
- package/skills/customs-trade-compliance/SKILL.md +262 -0
- package/skills/dart-flutter-patterns/SKILL.md +562 -0
- package/skills/dashboard-builder/SKILL.md +108 -0
- package/skills/data-scraper-agent/SKILL.md +764 -0
- package/skills/database-migrations/SKILL.md +428 -0
- package/skills/deep-research/SKILL.md +158 -0
- package/skills/defi-amm-security/SKILL.md +166 -0
- package/skills/deployment-patterns/SKILL.md +426 -0
- package/skills/design-system/SKILL.md +81 -0
- package/skills/django-celery/SKILL.md +456 -0
- package/skills/django-patterns/SKILL.md +733 -0
- package/skills/django-security/SKILL.md +592 -0
- package/skills/django-tdd/SKILL.md +728 -0
- package/skills/django-verification/SKILL.md +468 -0
- package/skills/dmux-workflows/SKILL.md +190 -0
- package/skills/docker-patterns/SKILL.md +363 -0
- package/skills/documentation-lookup/SKILL.md +89 -0
- package/skills/dotnet-patterns/SKILL.md +320 -0
- package/skills/e2e-testing/SKILL.md +325 -0
- package/skills/email-ops/SKILL.md +120 -0
- package/skills/energy-procurement/SKILL.md +227 -0
- package/skills/enterprise-agent-ops/SKILL.md +49 -0
- package/skills/error-handling/SKILL.md +375 -0
- package/skills/eval-harness/SKILL.md +269 -0
- package/skills/evm-token-decimals/SKILL.md +130 -0
- package/skills/exa-search/SKILL.md +106 -0
- package/skills/fal-ai-media/SKILL.md +287 -0
- package/skills/fastapi-patterns/SKILL.md +327 -0
- package/skills/finance-billing-ops/SKILL.md +126 -0
- package/skills/flox-environments/SKILL.md +496 -0
- package/skills/flutter-dart-code-review/SKILL.md +434 -0
- package/skills/foundation-models-on-device/SKILL.md +243 -0
- package/skills/frontend-design-direction/SKILL.md +92 -0
- package/skills/frontend-patterns/SKILL.md +641 -0
- package/skills/frontend-slides/SKILL.md +183 -0
- package/skills/frontend-slides/STYLE_PRESETS.md +330 -0
- package/skills/frontend-slides/animation-patterns.md +122 -0
- package/skills/frontend-slides/html-template.md +419 -0
- package/skills/frontend-slides/scripts/export-pdf.sh +418 -0
- package/skills/frontend-slides/scripts/extract-pptx.py +96 -0
- package/skills/frontend-slides/viewport-base.css +153 -0
- package/skills/fsharp-testing/SKILL.md +279 -0
- package/skills/gan-style-harness/SKILL.md +278 -0
- package/skills/gateguard/SKILL.md +125 -0
- package/skills/git-workflow/SKILL.md +714 -0
- package/skills/github-ops/SKILL.md +143 -0
- package/skills/golang-patterns/SKILL.md +673 -0
- package/skills/golang-testing/SKILL.md +719 -0
- package/skills/google-workspace-ops/SKILL.md +94 -0
- package/skills/healthcare-cdss-patterns/SKILL.md +245 -0
- package/skills/healthcare-emr-patterns/SKILL.md +159 -0
- package/skills/healthcare-eval-harness/SKILL.md +207 -0
- package/skills/healthcare-phi-compliance/SKILL.md +145 -0
- package/skills/hermes-imports/SKILL.md +87 -0
- package/skills/hexagonal-architecture/SKILL.md +275 -0
- package/skills/hipaa-compliance/SKILL.md +78 -0
- package/skills/homelab-network-readiness/SKILL.md +169 -0
- package/skills/homelab-network-setup/SKILL.md +129 -0
- package/skills/homelab-pihole-dns/SKILL.md +274 -0
- package/skills/homelab-vlan-segmentation/SKILL.md +311 -0
- package/skills/homelab-wireguard-vpn/SKILL.md +305 -0
- package/skills/hookify-rules/SKILL.md +128 -0
- package/skills/inventory-demand-planning/SKILL.md +246 -0
- package/skills/investor-materials/SKILL.md +95 -0
- package/skills/investor-outreach/SKILL.md +90 -0
- package/skills/ios-icon-gen/SKILL.md +157 -0
- package/skills/ios-icon-gen/scripts/generate_icons.swift +258 -0
- package/skills/ios-icon-gen/scripts/iconify_gen.sh +235 -0
- package/skills/iterative-retrieval/SKILL.md +209 -0
- package/skills/java-coding-standards/SKILL.md +382 -0
- package/skills/jira-integration/SKILL.md +292 -0
- package/skills/jpa-patterns/SKILL.md +150 -0
- package/skills/knowledge-ops/SKILL.md +153 -0
- package/skills/kotlin-coroutines-flows/SKILL.md +283 -0
- package/skills/kotlin-exposed-patterns/SKILL.md +718 -0
- package/skills/kotlin-ktor-patterns/SKILL.md +688 -0
- package/skills/kotlin-patterns/SKILL.md +710 -0
- package/skills/kotlin-testing/SKILL.md +823 -0
- package/skills/laravel-patterns/SKILL.md +414 -0
- package/skills/laravel-plugin-discovery/SKILL.md +228 -0
- package/skills/laravel-security/SKILL.md +284 -0
- package/skills/laravel-tdd/SKILL.md +282 -0
- package/skills/laravel-verification/SKILL.md +178 -0
- package/skills/lead-intelligence/SKILL.md +320 -0
- package/skills/lead-intelligence/agents/enrichment-agent.md +85 -0
- package/skills/lead-intelligence/agents/mutual-mapper.md +75 -0
- package/skills/lead-intelligence/agents/outreach-drafter.md +98 -0
- package/skills/lead-intelligence/agents/signal-scorer.md +60 -0
- package/skills/liquid-glass-design/SKILL.md +279 -0
- package/skills/llm-trading-agent-security/SKILL.md +146 -0
- package/skills/logistics-exception-management/SKILL.md +221 -0
- package/skills/make-interfaces-feel-better/SKILL.md +151 -0
- package/skills/manim-video/SKILL.md +88 -0
- package/skills/manim-video/assets/network_graph_scene.py +52 -0
- package/skills/market-research/SKILL.md +74 -0
- package/skills/mcp-server-patterns/SKILL.md +68 -0
- package/skills/messages-ops/SKILL.md +103 -0
- package/skills/mle-workflow/SKILL.md +345 -0
- package/skills/motion-advanced/SKILL.md +596 -0
- package/skills/motion-foundations/SKILL.md +299 -0
- package/skills/motion-patterns/SKILL.md +435 -0
- package/skills/motion-ui/SKILL.md +574 -0
- package/skills/mysql-patterns/SKILL.md +411 -0
- package/skills/nanoclaw-repl/SKILL.md +32 -0
- package/skills/nestjs-patterns/SKILL.md +229 -0
- package/skills/netmiko-ssh-automation/SKILL.md +173 -0
- package/skills/network-bgp-diagnostics/SKILL.md +167 -0
- package/skills/network-config-validation/SKILL.md +210 -0
- package/skills/network-interface-health/SKILL.md +152 -0
- package/skills/nextjs-turbopack/SKILL.md +43 -0
- package/skills/nodejs-keccak256/SKILL.md +102 -0
- package/skills/nutrient-document-processing/SKILL.md +166 -0
- package/skills/nuxt4-patterns/SKILL.md +99 -0
- package/skills/openclaw-persona-forge/SKILL.md +288 -0
- package/skills/openclaw-persona-forge/gacha.py +224 -0
- package/skills/openclaw-persona-forge/gacha.sh +5 -0
- package/skills/openclaw-persona-forge/references/avatar-style.md +124 -0
- package/skills/openclaw-persona-forge/references/boundary-rules.md +53 -0
- package/skills/openclaw-persona-forge/references/error-handling.md +53 -0
- package/skills/openclaw-persona-forge/references/identity-tension.md +48 -0
- package/skills/openclaw-persona-forge/references/naming-system.md +39 -0
- package/skills/openclaw-persona-forge/references/output-template.md +166 -0
- package/skills/opensource-pipeline/SKILL.md +254 -0
- package/skills/perl-patterns/SKILL.md +503 -0
- package/skills/perl-security/SKILL.md +502 -0
- package/skills/perl-testing/SKILL.md +474 -0
- package/skills/plan-orchestrate/SKILL.md +253 -0
- package/skills/plankton-code-quality/SKILL.md +236 -0
- package/skills/postgres-patterns/SKILL.md +146 -0
- package/skills/product-capability/SKILL.md +140 -0
- package/skills/product-lens/SKILL.md +91 -0
- package/skills/production-audit/SKILL.md +206 -0
- package/skills/production-scheduling/SKILL.md +237 -0
- package/skills/project-flow-ops/SKILL.md +110 -0
- package/skills/prompt-optimizer/SKILL.md +398 -0
- package/skills/python-patterns/SKILL.md +749 -0
- package/skills/python-testing/SKILL.md +815 -0
- package/skills/pytorch-patterns/SKILL.md +395 -0
- package/skills/quality-nonconformance/SKILL.md +259 -0
- package/skills/quarkus-patterns/SKILL.md +721 -0
- package/skills/quarkus-security/SKILL.md +466 -0
- package/skills/quarkus-tdd/SKILL.md +810 -0
- package/skills/quarkus-verification/SKILL.md +478 -0
- package/skills/ralphinho-rfc-pipeline/SKILL.md +66 -0
- package/skills/redis-patterns/SKILL.md +402 -0
- package/skills/regex-vs-llm-structured-text/SKILL.md +219 -0
- package/skills/remotion-video-creation/SKILL.md +43 -0
- package/skills/remotion-video-creation/rules/3d.md +86 -0
- package/skills/remotion-video-creation/rules/animations.md +29 -0
- package/skills/remotion-video-creation/rules/assets/charts-bar-chart.tsx +173 -0
- package/skills/remotion-video-creation/rules/assets/text-animations-typewriter.tsx +100 -0
- package/skills/remotion-video-creation/rules/assets/text-animations-word-highlight.tsx +108 -0
- package/skills/remotion-video-creation/rules/assets.md +78 -0
- package/skills/remotion-video-creation/rules/audio.md +172 -0
- package/skills/remotion-video-creation/rules/calculate-metadata.md +104 -0
- package/skills/remotion-video-creation/rules/can-decode.md +75 -0
- package/skills/remotion-video-creation/rules/charts.md +58 -0
- package/skills/remotion-video-creation/rules/compositions.md +146 -0
- package/skills/remotion-video-creation/rules/display-captions.md +126 -0
- package/skills/remotion-video-creation/rules/extract-frames.md +229 -0
- package/skills/remotion-video-creation/rules/fonts.md +152 -0
- package/skills/remotion-video-creation/rules/get-audio-duration.md +58 -0
- package/skills/remotion-video-creation/rules/get-video-dimensions.md +68 -0
- package/skills/remotion-video-creation/rules/get-video-duration.md +58 -0
- package/skills/remotion-video-creation/rules/gifs.md +138 -0
- package/skills/remotion-video-creation/rules/images.md +130 -0
- package/skills/remotion-video-creation/rules/import-srt-captions.md +67 -0
- package/skills/remotion-video-creation/rules/lottie.md +67 -0
- package/skills/remotion-video-creation/rules/measuring-dom-nodes.md +34 -0
- package/skills/remotion-video-creation/rules/measuring-text.md +143 -0
- package/skills/remotion-video-creation/rules/sequencing.md +106 -0
- package/skills/remotion-video-creation/rules/tailwind.md +11 -0
- package/skills/remotion-video-creation/rules/text-animations.md +20 -0
- package/skills/remotion-video-creation/rules/timing.md +179 -0
- package/skills/remotion-video-creation/rules/transcribe-captions.md +19 -0
- package/skills/remotion-video-creation/rules/transitions.md +122 -0
- package/skills/remotion-video-creation/rules/trimming.md +52 -0
- package/skills/remotion-video-creation/rules/videos.md +171 -0
- package/skills/repo-scan/SKILL.md +78 -0
- package/skills/research-ops/SKILL.md +111 -0
- package/skills/returns-reverse-logistics/SKILL.md +239 -0
- package/skills/rules-distill/SKILL.md +263 -0
- package/skills/rules-distill/scripts/scan-rules.sh +58 -0
- package/skills/rules-distill/scripts/scan-skills.sh +129 -0
- package/skills/rust-patterns/SKILL.md +498 -0
- package/skills/rust-testing/SKILL.md +499 -0
- package/skills/safety-guard/SKILL.md +74 -0
- package/skills/santa-method/SKILL.md +306 -0
- package/skills/scientific-db-pubmed-database/SKILL.md +175 -0
- package/skills/scientific-db-uspto-database/SKILL.md +177 -0
- package/skills/scientific-pkg-gget/SKILL.md +166 -0
- package/skills/scientific-thinking-literature-review/SKILL.md +192 -0
- package/skills/scientific-thinking-scholar-evaluation/SKILL.md +160 -0
- package/skills/search-first/SKILL.md +181 -0
- package/skills/security-bounty-hunter/SKILL.md +99 -0
- package/skills/security-review/SKILL.md +502 -0
- package/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/skills/seo/SKILL.md +153 -0
- package/skills/skill-comply/SKILL.md +57 -0
- package/skills/skill-comply/fixtures/compliant_trace.jsonl +5 -0
- package/skills/skill-comply/fixtures/noncompliant_trace.jsonl +3 -0
- package/skills/skill-comply/fixtures/tdd_spec.yaml +44 -0
- package/skills/skill-comply/prompts/classifier.md +24 -0
- package/skills/skill-comply/prompts/scenario_generator.md +62 -0
- package/skills/skill-comply/prompts/spec_generator.md +42 -0
- package/skills/skill-comply/pyproject.toml +15 -0
- package/skills/skill-comply/scripts/__init__.py +0 -0
- package/skills/skill-comply/scripts/classifier.py +85 -0
- package/skills/skill-comply/scripts/grader.py +124 -0
- package/skills/skill-comply/scripts/parser.py +107 -0
- package/skills/skill-comply/scripts/report.py +170 -0
- package/skills/skill-comply/scripts/run.py +127 -0
- package/skills/skill-comply/scripts/runner.py +186 -0
- package/skills/skill-comply/scripts/scenario_generator.py +70 -0
- package/skills/skill-comply/scripts/spec_generator.py +72 -0
- package/skills/skill-comply/scripts/utils.py +13 -0
- package/skills/skill-comply/tests/test_grader.py +197 -0
- package/skills/skill-comply/tests/test_parser.py +90 -0
- package/skills/skill-comply/tests/test_runner.py +172 -0
- package/skills/skill-scout/SKILL.md +139 -0
- package/skills/skill-stocktake/SKILL.md +193 -0
- package/skills/skill-stocktake/scripts/quick-diff.sh +87 -0
- package/skills/skill-stocktake/scripts/save-results.sh +56 -0
- package/skills/skill-stocktake/scripts/scan.sh +170 -0
- package/skills/social-graph-ranker/SKILL.md +153 -0
- package/skills/springboot-patterns/SKILL.md +313 -0
- package/skills/springboot-security/SKILL.md +271 -0
- package/skills/springboot-tdd/SKILL.md +157 -0
- package/skills/springboot-verification/SKILL.md +230 -0
- package/skills/strategic-compact/SKILL.md +129 -0
- package/skills/strategic-compact/suggest-compact.sh +54 -0
- package/skills/swift-actor-persistence/SKILL.md +142 -0
- package/skills/swift-concurrency-6-2/SKILL.md +216 -0
- package/skills/swift-protocol-di-testing/SKILL.md +189 -0
- package/skills/swiftui-patterns/SKILL.md +259 -0
- package/skills/tdd-workflow/SKILL.md +462 -0
- package/skills/team-builder/SKILL.md +166 -0
- package/skills/terminal-ops/SKILL.md +108 -0
- package/skills/tinystruct-patterns/SKILL.md +130 -0
- package/skills/tinystruct-patterns/references/architecture.md +77 -0
- package/skills/tinystruct-patterns/references/data-handling.md +35 -0
- package/skills/tinystruct-patterns/references/routing.md +57 -0
- package/skills/tinystruct-patterns/references/system-usage.md +74 -0
- package/skills/tinystruct-patterns/references/testing.md +59 -0
- package/skills/token-budget-advisor/SKILL.md +133 -0
- package/skills/ui-demo/SKILL.md +464 -0
- package/skills/ui-to-vue/SKILL.md +134 -0
- package/skills/unified-notifications-ops/SKILL.md +186 -0
- package/skills/verification-loop/SKILL.md +125 -0
- package/skills/video-editing/SKILL.md +309 -0
- package/skills/videodb/SKILL.md +373 -0
- package/skills/videodb/reference/api-reference.md +550 -0
- package/skills/videodb/reference/capture-reference.md +407 -0
- package/skills/videodb/reference/capture.md +101 -0
- package/skills/videodb/reference/editor.md +443 -0
- package/skills/videodb/reference/generative.md +331 -0
- package/skills/videodb/reference/rtstream-reference.md +564 -0
- package/skills/videodb/reference/rtstream.md +65 -0
- package/skills/videodb/reference/search.md +230 -0
- package/skills/videodb/reference/streaming.md +406 -0
- package/skills/videodb/reference/use-cases.md +118 -0
- package/skills/videodb/scripts/ws_listener.py +282 -0
- package/skills/visa-doc-translate/README.md +86 -0
- package/skills/visa-doc-translate/SKILL.md +117 -0
- package/skills/vite-patterns/SKILL.md +448 -0
- package/skills/windows-desktop-e2e/SKILL.md +787 -0
- package/skills/workspace-surface-audit/SKILL.md +124 -0
- package/skills/x-api/SKILL.md +233 -0
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
| name | description |
|
|
2
|
+
|------|-------------|
|
|
3
|
+
| cloud-infrastructure-security | Use this skill when deploying to cloud platforms, configuring infrastructure, managing IAM policies, setting up logging/monitoring, or implementing CI/CD pipelines. Provides cloud security checklist aligned with best practices. |
|
|
4
|
+
|
|
5
|
+
# Cloud & Infrastructure Security Skill
|
|
6
|
+
|
|
7
|
+
This skill ensures cloud infrastructure, CI/CD pipelines, and deployment configurations follow security best practices and comply with industry standards.
|
|
8
|
+
|
|
9
|
+
## When to Activate
|
|
10
|
+
|
|
11
|
+
- Deploying applications to cloud platforms (AWS, Vercel, Railway, Cloudflare)
|
|
12
|
+
- Configuring IAM roles and permissions
|
|
13
|
+
- Setting up CI/CD pipelines
|
|
14
|
+
- Implementing infrastructure as code (Terraform, CloudFormation)
|
|
15
|
+
- Configuring logging and monitoring
|
|
16
|
+
- Managing secrets in cloud environments
|
|
17
|
+
- Setting up CDN and edge security
|
|
18
|
+
- Implementing disaster recovery and backup strategies
|
|
19
|
+
|
|
20
|
+
## Cloud Security Checklist
|
|
21
|
+
|
|
22
|
+
### 1. IAM & Access Control
|
|
23
|
+
|
|
24
|
+
#### Principle of Least Privilege
|
|
25
|
+
|
|
26
|
+
```yaml
|
|
27
|
+
# PASS: CORRECT: Minimal permissions
|
|
28
|
+
iam_role:
|
|
29
|
+
permissions:
|
|
30
|
+
- s3:GetObject # Only read access
|
|
31
|
+
- s3:ListBucket
|
|
32
|
+
resources:
|
|
33
|
+
- arn:aws:s3:::my-bucket/* # Specific bucket only
|
|
34
|
+
|
|
35
|
+
# FAIL: WRONG: Overly broad permissions
|
|
36
|
+
iam_role:
|
|
37
|
+
permissions:
|
|
38
|
+
- s3:* # All S3 actions
|
|
39
|
+
resources:
|
|
40
|
+
- "*" # All resources
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
#### Multi-Factor Authentication (MFA)
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# ALWAYS enable MFA for root/admin accounts
|
|
47
|
+
aws iam enable-mfa-device \
|
|
48
|
+
--user-name admin \
|
|
49
|
+
--serial-number arn:aws:iam::123456789:mfa/admin \
|
|
50
|
+
--authentication-code1 123456 \
|
|
51
|
+
--authentication-code2 789012
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
#### Verification Steps
|
|
55
|
+
|
|
56
|
+
- [ ] No root account usage in production
|
|
57
|
+
- [ ] MFA enabled for all privileged accounts
|
|
58
|
+
- [ ] Service accounts use roles, not long-lived credentials
|
|
59
|
+
- [ ] IAM policies follow least privilege
|
|
60
|
+
- [ ] Regular access reviews conducted
|
|
61
|
+
- [ ] Unused credentials rotated or removed
|
|
62
|
+
|
|
63
|
+
### 2. Secrets Management
|
|
64
|
+
|
|
65
|
+
#### Cloud Secrets Managers
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
// PASS: CORRECT: Use cloud secrets manager
|
|
69
|
+
import { SecretsManager } from '@aws-sdk/client-secrets-manager';
|
|
70
|
+
|
|
71
|
+
const client = new SecretsManager({ region: 'us-east-1' });
|
|
72
|
+
const secret = await client.getSecretValue({ SecretId: 'prod/api-key' });
|
|
73
|
+
const apiKey = JSON.parse(secret.SecretString).key;
|
|
74
|
+
|
|
75
|
+
// FAIL: WRONG: Hardcoded or in environment variables only
|
|
76
|
+
const apiKey = process.env.API_KEY; // Not rotated, not audited
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
#### Secrets Rotation
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
# Set up automatic rotation for database credentials
|
|
83
|
+
aws secretsmanager rotate-secret \
|
|
84
|
+
--secret-id prod/db-password \
|
|
85
|
+
--rotation-lambda-arn arn:aws:lambda:region:account:function:rotate \
|
|
86
|
+
--rotation-rules AutomaticallyAfterDays=30
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
#### Verification Steps
|
|
90
|
+
|
|
91
|
+
- [ ] All secrets stored in cloud secrets manager (AWS Secrets Manager, Vercel Secrets)
|
|
92
|
+
- [ ] Automatic rotation enabled for database credentials
|
|
93
|
+
- [ ] API keys rotated at least quarterly
|
|
94
|
+
- [ ] No secrets in code, logs, or error messages
|
|
95
|
+
- [ ] Audit logging enabled for secret access
|
|
96
|
+
|
|
97
|
+
### 3. Network Security
|
|
98
|
+
|
|
99
|
+
#### VPC and Firewall Configuration
|
|
100
|
+
|
|
101
|
+
```terraform
|
|
102
|
+
# PASS: CORRECT: Restricted security group
|
|
103
|
+
resource "aws_security_group" "app" {
|
|
104
|
+
name = "app-sg"
|
|
105
|
+
|
|
106
|
+
ingress {
|
|
107
|
+
from_port = 443
|
|
108
|
+
to_port = 443
|
|
109
|
+
protocol = "tcp"
|
|
110
|
+
cidr_blocks = ["10.0.0.0/16"] # Internal VPC only
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
egress {
|
|
114
|
+
from_port = 443
|
|
115
|
+
to_port = 443
|
|
116
|
+
protocol = "tcp"
|
|
117
|
+
cidr_blocks = ["0.0.0.0/0"] # Only HTTPS outbound
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
# FAIL: WRONG: Open to the internet
|
|
122
|
+
resource "aws_security_group" "bad" {
|
|
123
|
+
ingress {
|
|
124
|
+
from_port = 0
|
|
125
|
+
to_port = 65535
|
|
126
|
+
protocol = "tcp"
|
|
127
|
+
cidr_blocks = ["0.0.0.0/0"] # All ports, all IPs!
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
#### Verification Steps
|
|
133
|
+
|
|
134
|
+
- [ ] Database not publicly accessible
|
|
135
|
+
- [ ] SSH/RDP ports restricted to VPN/bastion only
|
|
136
|
+
- [ ] Security groups follow least privilege
|
|
137
|
+
- [ ] Network ACLs configured
|
|
138
|
+
- [ ] VPC flow logs enabled
|
|
139
|
+
|
|
140
|
+
### 4. Logging & Monitoring
|
|
141
|
+
|
|
142
|
+
#### CloudWatch/Logging Configuration
|
|
143
|
+
|
|
144
|
+
```typescript
|
|
145
|
+
// PASS: CORRECT: Comprehensive logging
|
|
146
|
+
import { CloudWatchLogsClient, CreateLogStreamCommand } from '@aws-sdk/client-cloudwatch-logs';
|
|
147
|
+
|
|
148
|
+
const logSecurityEvent = async (event: SecurityEvent) => {
|
|
149
|
+
await cloudwatch.putLogEvents({
|
|
150
|
+
logGroupName: '/aws/security/events',
|
|
151
|
+
logStreamName: 'authentication',
|
|
152
|
+
logEvents: [{
|
|
153
|
+
timestamp: Date.now(),
|
|
154
|
+
message: JSON.stringify({
|
|
155
|
+
type: event.type,
|
|
156
|
+
userId: event.userId,
|
|
157
|
+
ip: event.ip,
|
|
158
|
+
result: event.result,
|
|
159
|
+
// Never log sensitive data
|
|
160
|
+
})
|
|
161
|
+
}]
|
|
162
|
+
});
|
|
163
|
+
};
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
#### Verification Steps
|
|
167
|
+
|
|
168
|
+
- [ ] CloudWatch/logging enabled for all services
|
|
169
|
+
- [ ] Failed authentication attempts logged
|
|
170
|
+
- [ ] Admin actions audited
|
|
171
|
+
- [ ] Log retention configured (90+ days for compliance)
|
|
172
|
+
- [ ] Alerts configured for suspicious activity
|
|
173
|
+
- [ ] Logs centralized and tamper-proof
|
|
174
|
+
|
|
175
|
+
### 5. CI/CD Pipeline Security
|
|
176
|
+
|
|
177
|
+
#### Secure Pipeline Configuration
|
|
178
|
+
|
|
179
|
+
```yaml
|
|
180
|
+
# PASS: CORRECT: Secure GitHub Actions workflow
|
|
181
|
+
name: Deploy
|
|
182
|
+
|
|
183
|
+
on:
|
|
184
|
+
push:
|
|
185
|
+
branches: [main]
|
|
186
|
+
|
|
187
|
+
jobs:
|
|
188
|
+
deploy:
|
|
189
|
+
runs-on: ubuntu-latest
|
|
190
|
+
permissions:
|
|
191
|
+
contents: read # Minimal permissions
|
|
192
|
+
|
|
193
|
+
steps:
|
|
194
|
+
- uses: actions/checkout@v4
|
|
195
|
+
|
|
196
|
+
# Scan for secrets
|
|
197
|
+
- name: Secret scanning
|
|
198
|
+
uses: trufflesecurity/trufflehog@main
|
|
199
|
+
|
|
200
|
+
# Dependency audit
|
|
201
|
+
- name: Audit dependencies
|
|
202
|
+
run: npm audit --audit-level=high
|
|
203
|
+
|
|
204
|
+
# Use OIDC, not long-lived tokens
|
|
205
|
+
- name: Configure AWS credentials
|
|
206
|
+
uses: aws-actions/configure-aws-credentials@v4
|
|
207
|
+
with:
|
|
208
|
+
role-to-assume: arn:aws:iam::123456789:role/GitHubActionsRole
|
|
209
|
+
aws-region: us-east-1
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
#### Supply Chain Security
|
|
213
|
+
|
|
214
|
+
```json
|
|
215
|
+
// package.json - Use lock files and integrity checks
|
|
216
|
+
{
|
|
217
|
+
"scripts": {
|
|
218
|
+
"install": "npm ci", // Use ci for reproducible builds
|
|
219
|
+
"audit": "npm audit --audit-level=moderate",
|
|
220
|
+
"check": "npm outdated"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
#### Verification Steps
|
|
226
|
+
|
|
227
|
+
- [ ] OIDC used instead of long-lived credentials
|
|
228
|
+
- [ ] Secrets scanning in pipeline
|
|
229
|
+
- [ ] Dependency vulnerability scanning
|
|
230
|
+
- [ ] Container image scanning (if applicable)
|
|
231
|
+
- [ ] Branch protection rules enforced
|
|
232
|
+
- [ ] Code review required before merge
|
|
233
|
+
- [ ] Signed commits enforced
|
|
234
|
+
|
|
235
|
+
### 6. Cloudflare & CDN Security
|
|
236
|
+
|
|
237
|
+
#### Cloudflare Security Configuration
|
|
238
|
+
|
|
239
|
+
```typescript
|
|
240
|
+
// PASS: CORRECT: Cloudflare Workers with security headers
|
|
241
|
+
export default {
|
|
242
|
+
async fetch(request: Request): Promise<Response> {
|
|
243
|
+
const response = await fetch(request);
|
|
244
|
+
|
|
245
|
+
// Add security headers
|
|
246
|
+
const headers = new Headers(response.headers);
|
|
247
|
+
headers.set('X-Frame-Options', 'DENY');
|
|
248
|
+
headers.set('X-Content-Type-Options', 'nosniff');
|
|
249
|
+
headers.set('Referrer-Policy', 'strict-origin-when-cross-origin');
|
|
250
|
+
headers.set('Permissions-Policy', 'geolocation=(), microphone=()');
|
|
251
|
+
|
|
252
|
+
return new Response(response.body, {
|
|
253
|
+
status: response.status,
|
|
254
|
+
headers
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
#### WAF Rules
|
|
261
|
+
|
|
262
|
+
```bash
|
|
263
|
+
# Enable Cloudflare WAF managed rules
|
|
264
|
+
# - OWASP Core Ruleset
|
|
265
|
+
# - Cloudflare Managed Ruleset
|
|
266
|
+
# - Rate limiting rules
|
|
267
|
+
# - Bot protection
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
#### Verification Steps
|
|
271
|
+
|
|
272
|
+
- [ ] WAF enabled with OWASP rules
|
|
273
|
+
- [ ] Rate limiting configured
|
|
274
|
+
- [ ] Bot protection active
|
|
275
|
+
- [ ] DDoS protection enabled
|
|
276
|
+
- [ ] Security headers configured
|
|
277
|
+
- [ ] SSL/TLS strict mode enabled
|
|
278
|
+
|
|
279
|
+
### 7. Backup & Disaster Recovery
|
|
280
|
+
|
|
281
|
+
#### Automated Backups
|
|
282
|
+
|
|
283
|
+
```terraform
|
|
284
|
+
# PASS: CORRECT: Automated RDS backups
|
|
285
|
+
resource "aws_db_instance" "main" {
|
|
286
|
+
allocated_storage = 20
|
|
287
|
+
engine = "postgres"
|
|
288
|
+
|
|
289
|
+
backup_retention_period = 30 # 30 days retention
|
|
290
|
+
backup_window = "03:00-04:00"
|
|
291
|
+
maintenance_window = "mon:04:00-mon:05:00"
|
|
292
|
+
|
|
293
|
+
enabled_cloudwatch_logs_exports = ["postgresql"]
|
|
294
|
+
|
|
295
|
+
deletion_protection = true # Prevent accidental deletion
|
|
296
|
+
}
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
#### Verification Steps
|
|
300
|
+
|
|
301
|
+
- [ ] Automated daily backups configured
|
|
302
|
+
- [ ] Backup retention meets compliance requirements
|
|
303
|
+
- [ ] Point-in-time recovery enabled
|
|
304
|
+
- [ ] Backup testing performed quarterly
|
|
305
|
+
- [ ] Disaster recovery plan documented
|
|
306
|
+
- [ ] RPO and RTO defined and tested
|
|
307
|
+
|
|
308
|
+
## Pre-Deployment Cloud Security Checklist
|
|
309
|
+
|
|
310
|
+
Before ANY production cloud deployment:
|
|
311
|
+
|
|
312
|
+
- [ ] **IAM**: Root account not used, MFA enabled, least privilege policies
|
|
313
|
+
- [ ] **Secrets**: All secrets in cloud secrets manager with rotation
|
|
314
|
+
- [ ] **Network**: Security groups restricted, no public databases
|
|
315
|
+
- [ ] **Logging**: CloudWatch/logging enabled with retention
|
|
316
|
+
- [ ] **Monitoring**: Alerts configured for anomalies
|
|
317
|
+
- [ ] **CI/CD**: OIDC auth, secrets scanning, dependency audits
|
|
318
|
+
- [ ] **CDN/WAF**: Cloudflare WAF enabled with OWASP rules
|
|
319
|
+
- [ ] **Encryption**: Data encrypted at rest and in transit
|
|
320
|
+
- [ ] **Backups**: Automated backups with tested recovery
|
|
321
|
+
- [ ] **Compliance**: GDPR/HIPAA requirements met (if applicable)
|
|
322
|
+
- [ ] **Documentation**: Infrastructure documented, runbooks created
|
|
323
|
+
- [ ] **Incident Response**: Security incident plan in place
|
|
324
|
+
|
|
325
|
+
## Common Cloud Security Misconfigurations
|
|
326
|
+
|
|
327
|
+
### S3 Bucket Exposure
|
|
328
|
+
|
|
329
|
+
```bash
|
|
330
|
+
# FAIL: WRONG: Public bucket
|
|
331
|
+
aws s3api put-bucket-acl --bucket my-bucket --acl public-read
|
|
332
|
+
|
|
333
|
+
# PASS: CORRECT: Private bucket with specific access
|
|
334
|
+
aws s3api put-bucket-acl --bucket my-bucket --acl private
|
|
335
|
+
aws s3api put-bucket-policy --bucket my-bucket --policy file://policy.json
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
### RDS Public Access
|
|
339
|
+
|
|
340
|
+
```terraform
|
|
341
|
+
# FAIL: WRONG
|
|
342
|
+
resource "aws_db_instance" "bad" {
|
|
343
|
+
publicly_accessible = true # NEVER do this!
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
# PASS: CORRECT
|
|
347
|
+
resource "aws_db_instance" "good" {
|
|
348
|
+
publicly_accessible = false
|
|
349
|
+
vpc_security_group_ids = [aws_security_group.db.id]
|
|
350
|
+
}
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
## Resources
|
|
354
|
+
|
|
355
|
+
- [AWS Security Best Practices](https://aws.amazon.com/security/best-practices/)
|
|
356
|
+
- [CIS AWS Foundations Benchmark](https://www.cisecurity.org/benchmark/amazon_web_services)
|
|
357
|
+
- [Cloudflare Security Documentation](https://developers.cloudflare.com/security/)
|
|
358
|
+
- [OWASP Cloud Security](https://owasp.org/www-project-cloud-security/)
|
|
359
|
+
- [Terraform Security Best Practices](https://www.terraform.io/docs/cloud/guides/recommended-practices/)
|
|
360
|
+
|
|
361
|
+
**Remember**: Cloud misconfigurations are the leading cause of data breaches. A single exposed S3 bucket or overly permissive IAM policy can compromise your entire infrastructure. Always follow the principle of least privilege and defense in depth.
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: seo
|
|
3
|
+
description: Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SEO
|
|
7
|
+
|
|
8
|
+
Improve search visibility through technical correctness, performance, and content relevance, not gimmicks.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- auditing crawlability, indexability, canonicals, or redirects
|
|
14
|
+
- improving title tags, meta descriptions, and heading structure
|
|
15
|
+
- adding or validating structured data
|
|
16
|
+
- improving Core Web Vitals
|
|
17
|
+
- doing keyword research and mapping keywords to URLs
|
|
18
|
+
- planning internal linking or sitemap / robots changes
|
|
19
|
+
|
|
20
|
+
## How It Works
|
|
21
|
+
|
|
22
|
+
### Principles
|
|
23
|
+
|
|
24
|
+
1. Fix technical blockers before content optimization.
|
|
25
|
+
2. One page should have one clear primary search intent.
|
|
26
|
+
3. Prefer long-term quality signals over manipulative patterns.
|
|
27
|
+
4. Mobile-first assumptions matter because indexing is mobile-first.
|
|
28
|
+
5. Recommendations should be page-specific and implementable.
|
|
29
|
+
|
|
30
|
+
### Technical SEO checklist
|
|
31
|
+
|
|
32
|
+
#### Crawlability
|
|
33
|
+
|
|
34
|
+
- `robots.txt` should allow important pages and block low-value surfaces
|
|
35
|
+
- no important page should be unintentionally `noindex`
|
|
36
|
+
- important pages should be reachable within a shallow click depth
|
|
37
|
+
- avoid redirect chains longer than two hops
|
|
38
|
+
- canonical tags should be self-consistent and non-looping
|
|
39
|
+
|
|
40
|
+
#### Indexability
|
|
41
|
+
|
|
42
|
+
- preferred URL format should be consistent
|
|
43
|
+
- multilingual pages need correct hreflang if used
|
|
44
|
+
- sitemaps should reflect the intended public surface
|
|
45
|
+
- no duplicate URLs should compete without canonical control
|
|
46
|
+
|
|
47
|
+
#### Performance
|
|
48
|
+
|
|
49
|
+
- LCP < 2.5s
|
|
50
|
+
- INP < 200ms
|
|
51
|
+
- CLS < 0.1
|
|
52
|
+
- common fixes: preload hero assets, reduce render-blocking work, reserve layout space, trim heavy JS
|
|
53
|
+
|
|
54
|
+
#### Structured data
|
|
55
|
+
|
|
56
|
+
- homepage: organization or business schema where appropriate
|
|
57
|
+
- editorial pages: `Article` / `BlogPosting`
|
|
58
|
+
- product pages: `Product` and `Offer`
|
|
59
|
+
- interior pages: `BreadcrumbList`
|
|
60
|
+
- Q&A sections: `FAQPage` only when the content truly matches
|
|
61
|
+
|
|
62
|
+
### On-page rules
|
|
63
|
+
|
|
64
|
+
#### Title tags
|
|
65
|
+
|
|
66
|
+
- aim for roughly 50-60 characters
|
|
67
|
+
- put the primary keyword or concept near the front
|
|
68
|
+
- make the title legible to humans, not stuffed for bots
|
|
69
|
+
|
|
70
|
+
#### Meta descriptions
|
|
71
|
+
|
|
72
|
+
- aim for roughly 120-160 characters
|
|
73
|
+
- describe the page honestly
|
|
74
|
+
- include the main topic naturally
|
|
75
|
+
|
|
76
|
+
#### Heading structure
|
|
77
|
+
|
|
78
|
+
- one clear `H1`
|
|
79
|
+
- `H2` and `H3` should reflect actual content hierarchy
|
|
80
|
+
- do not skip structure just for visual styling
|
|
81
|
+
|
|
82
|
+
### Keyword mapping
|
|
83
|
+
|
|
84
|
+
1. define the search intent
|
|
85
|
+
2. gather realistic keyword variants
|
|
86
|
+
3. prioritize by intent match, likely value, and competition
|
|
87
|
+
4. map one primary keyword/theme to one URL
|
|
88
|
+
5. detect and avoid cannibalization
|
|
89
|
+
|
|
90
|
+
### Internal linking
|
|
91
|
+
|
|
92
|
+
- link from strong pages to pages you want to rank
|
|
93
|
+
- use descriptive anchor text
|
|
94
|
+
- avoid generic anchors when a more specific one is possible
|
|
95
|
+
- backfill links from new pages to relevant existing ones
|
|
96
|
+
|
|
97
|
+
## Examples
|
|
98
|
+
|
|
99
|
+
### Title formula
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
Primary Topic - Specific Modifier | Brand
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Meta description formula
|
|
106
|
+
|
|
107
|
+
```text
|
|
108
|
+
Action + topic + value proposition + one supporting detail
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### JSON-LD example
|
|
112
|
+
|
|
113
|
+
```json
|
|
114
|
+
{
|
|
115
|
+
"@context": "https://schema.org",
|
|
116
|
+
"@type": "Article",
|
|
117
|
+
"headline": "Page Title Here",
|
|
118
|
+
"author": {
|
|
119
|
+
"@type": "Person",
|
|
120
|
+
"name": "Author Name"
|
|
121
|
+
},
|
|
122
|
+
"publisher": {
|
|
123
|
+
"@type": "Organization",
|
|
124
|
+
"name": "Brand Name"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Audit output shape
|
|
130
|
+
|
|
131
|
+
```text
|
|
132
|
+
[HIGH] Duplicate title tags on product pages
|
|
133
|
+
Location: src/routes/products/[slug].tsx
|
|
134
|
+
Issue: Dynamic titles collapse to the same default string, which weakens relevance and creates duplicate signals.
|
|
135
|
+
Fix: Generate a unique title per product using the product name and primary category.
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## Anti-Patterns
|
|
139
|
+
|
|
140
|
+
| Anti-pattern | Fix |
|
|
141
|
+
| --- | --- |
|
|
142
|
+
| keyword stuffing | write for users first |
|
|
143
|
+
| thin near-duplicate pages | consolidate or differentiate them |
|
|
144
|
+
| schema for content that is not actually present | match schema to reality |
|
|
145
|
+
| content advice without checking the actual page | read the real page first |
|
|
146
|
+
| generic “improve SEO” outputs | tie every recommendation to a page or asset |
|
|
147
|
+
|
|
148
|
+
## Related Skills
|
|
149
|
+
|
|
150
|
+
- `seo-specialist`
|
|
151
|
+
- `frontend-patterns`
|
|
152
|
+
- `brand-voice`
|
|
153
|
+
- `market-research`
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: skill-comply
|
|
3
|
+
description: Visualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies behavioral sequences, and reports compliance rates with full tool call timelines
|
|
4
|
+
tools: Read, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# skill-comply: Automated Compliance Measurement
|
|
8
|
+
|
|
9
|
+
Measures whether coding agents actually follow skills, rules, or agent definitions by:
|
|
10
|
+
1. Auto-generating expected behavioral sequences (specs) from any .md file
|
|
11
|
+
2. Auto-generating scenarios with decreasing prompt strictness (supportive → neutral → competing)
|
|
12
|
+
3. Running `claude -p` and capturing tool call traces via stream-json
|
|
13
|
+
4. Classifying tool calls against spec steps using LLM (not regex)
|
|
14
|
+
5. Checking temporal ordering deterministically
|
|
15
|
+
6. Generating self-contained reports with spec, prompts, and timelines
|
|
16
|
+
|
|
17
|
+
## Supported Targets
|
|
18
|
+
|
|
19
|
+
- **Skills** (`skills/*/SKILL.md`): Workflow skills like search-first, TDD guides
|
|
20
|
+
- **Rules** (`rules/common/*.md`): Mandatory rules like testing.md, security.md, git-workflow.md
|
|
21
|
+
- **Agent definitions** (`agents/*.md`): Whether an agent gets invoked when expected (internal workflow verification not yet supported)
|
|
22
|
+
|
|
23
|
+
## When to Activate
|
|
24
|
+
|
|
25
|
+
- User runs `/skill-comply <path>`
|
|
26
|
+
- User asks "is this rule actually being followed?"
|
|
27
|
+
- After adding new rules/skills, to verify agent compliance
|
|
28
|
+
- Periodically as part of quality maintenance
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
# Full run
|
|
34
|
+
uv run python -m scripts.run ~/.claude/rules/common/testing.md
|
|
35
|
+
|
|
36
|
+
# Dry run (no cost, spec + scenarios only)
|
|
37
|
+
uv run python -m scripts.run --dry-run ~/.claude/skills/search-first/SKILL.md
|
|
38
|
+
|
|
39
|
+
# Custom models
|
|
40
|
+
uv run python -m scripts.run --gen-model haiku --model sonnet <path>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Key Concept: Prompt Independence
|
|
44
|
+
|
|
45
|
+
Measures whether a skill/rule is followed even when the prompt doesn't explicitly support it.
|
|
46
|
+
|
|
47
|
+
## Report Contents
|
|
48
|
+
|
|
49
|
+
Reports are self-contained and include:
|
|
50
|
+
1. Expected behavioral sequence (auto-generated spec)
|
|
51
|
+
2. Scenario prompts (what was asked at each strictness level)
|
|
52
|
+
3. Compliance scores per scenario
|
|
53
|
+
4. Tool call timelines with LLM classification labels
|
|
54
|
+
|
|
55
|
+
### Advanced (optional)
|
|
56
|
+
|
|
57
|
+
For users familiar with hooks, reports also include hook promotion recommendations for steps with low compliance. This is informational — the main value is the compliance visibility itself.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{"timestamp":"2026-03-20T10:00:01Z","event":"tool_complete","tool":"Write","session":"sess-001","input":"{\"file_path\":\"tests/test_fib.py\",\"content\":\"def test_fib(): assert fib(0) == 0\"}","output":"File created"}
|
|
2
|
+
{"timestamp":"2026-03-20T10:00:10Z","event":"tool_complete","tool":"Bash","session":"sess-001","input":"{\"command\":\"cd /tmp/sandbox && pytest tests/\"}","output":"FAILED - 1 failed"}
|
|
3
|
+
{"timestamp":"2026-03-20T10:00:20Z","event":"tool_complete","tool":"Write","session":"sess-001","input":"{\"file_path\":\"src/fib.py\",\"content\":\"def fib(n): return n if n <= 1 else fib(n-1)+fib(n-2)\"}","output":"File created"}
|
|
4
|
+
{"timestamp":"2026-03-20T10:00:30Z","event":"tool_complete","tool":"Bash","session":"sess-001","input":"{\"command\":\"cd /tmp/sandbox && pytest tests/\"}","output":"1 passed"}
|
|
5
|
+
{"timestamp":"2026-03-20T10:00:40Z","event":"tool_complete","tool":"Edit","session":"sess-001","input":"{\"file_path\":\"src/fib.py\",\"old_string\":\"return n if\",\"new_string\":\"if n < 0: raise ValueError\\n return n if\"}","output":"File edited"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"timestamp":"2026-03-20T10:00:01Z","event":"tool_complete","tool":"Write","session":"sess-002","input":"{\"file_path\":\"src/fib.py\",\"content\":\"def fib(n): return n if n <= 1 else fib(n-1)+fib(n-2)\"}","output":"File created"}
|
|
2
|
+
{"timestamp":"2026-03-20T10:00:10Z","event":"tool_complete","tool":"Write","session":"sess-002","input":"{\"file_path\":\"tests/test_fib.py\",\"content\":\"def test_fib(): assert fib(0) == 0\"}","output":"File created"}
|
|
3
|
+
{"timestamp":"2026-03-20T10:00:20Z","event":"tool_complete","tool":"Bash","session":"sess-002","input":"{\"command\":\"cd /tmp/sandbox && pytest tests/\"}","output":"1 passed"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
id: tdd-workflow
|
|
2
|
+
name: TDD Workflow Compliance
|
|
3
|
+
source_rule: rules/common/testing.md
|
|
4
|
+
version: "2.0"
|
|
5
|
+
|
|
6
|
+
steps:
|
|
7
|
+
- id: write_test
|
|
8
|
+
description: "Write test file BEFORE implementation"
|
|
9
|
+
required: true
|
|
10
|
+
detector:
|
|
11
|
+
description: "A Write or Edit to a test file (filename contains 'test')"
|
|
12
|
+
before_step: write_impl
|
|
13
|
+
|
|
14
|
+
- id: run_test_red
|
|
15
|
+
description: "Run test and confirm FAIL (RED phase)"
|
|
16
|
+
required: true
|
|
17
|
+
detector:
|
|
18
|
+
description: "Run pytest or test command that produces a FAIL/ERROR result"
|
|
19
|
+
after_step: write_test
|
|
20
|
+
before_step: write_impl
|
|
21
|
+
|
|
22
|
+
- id: write_impl
|
|
23
|
+
description: "Write minimal implementation (GREEN phase)"
|
|
24
|
+
required: true
|
|
25
|
+
detector:
|
|
26
|
+
description: "Write or Edit an implementation file (not a test file)"
|
|
27
|
+
after_step: run_test_red
|
|
28
|
+
|
|
29
|
+
- id: run_test_green
|
|
30
|
+
description: "Run test and confirm PASS (GREEN phase)"
|
|
31
|
+
required: true
|
|
32
|
+
detector:
|
|
33
|
+
description: "Run pytest or test command that produces a PASS result"
|
|
34
|
+
after_step: write_impl
|
|
35
|
+
|
|
36
|
+
- id: refactor
|
|
37
|
+
description: "Refactor (IMPROVE phase)"
|
|
38
|
+
required: false
|
|
39
|
+
detector:
|
|
40
|
+
description: "Edit a source file for refactoring after tests pass"
|
|
41
|
+
after_step: run_test_green
|
|
42
|
+
|
|
43
|
+
scoring:
|
|
44
|
+
threshold_promote_to_hook: 0.6
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
You are classifying tool calls from a coding agent session against expected behavioral steps.
|
|
2
|
+
|
|
3
|
+
For each tool call, determine which step (if any) it belongs to. A tool call can match at most one step.
|
|
4
|
+
|
|
5
|
+
Steps:
|
|
6
|
+
{steps_description}
|
|
7
|
+
|
|
8
|
+
Tool calls (numbered):
|
|
9
|
+
{tool_calls}
|
|
10
|
+
|
|
11
|
+
Respond with ONLY a JSON object mapping step_id to a list of matching tool call numbers.
|
|
12
|
+
Include only steps that have at least one match. If no tool calls match a step, omit it.
|
|
13
|
+
|
|
14
|
+
Example response:
|
|
15
|
+
{"write_test": [0, 1], "run_test_red": [2], "write_impl": [3, 4]}
|
|
16
|
+
|
|
17
|
+
Rules:
|
|
18
|
+
- Match based on the MEANING of the tool call, not just keywords
|
|
19
|
+
- A Write to "test_calculator.py" is a test file write, even if the content is implementation-like
|
|
20
|
+
- A Write to "calculator.py" is an implementation write, even if it contains test helpers
|
|
21
|
+
- A Bash running "pytest" that outputs "FAILED" is a RED phase test run
|
|
22
|
+
- A Bash running "pytest" that outputs "passed" is a GREEN phase test run
|
|
23
|
+
- Each tool call should match at most one step (pick the best match)
|
|
24
|
+
- If a tool call doesn't match any step, don't include it
|