wicked-garden 12.27.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/.claude-plugin/archetypes.json +166 -0
- package/.claude-plugin/components.json +75 -0
- package/.claude-plugin/marketplace.json +15 -0
- package/.claude-plugin/plugin.json +174 -0
- package/.claude-plugin/specialist.json +48 -0
- package/.claude-plugin/stack-registry.json +96 -0
- package/AGENTS.md +13 -0
- package/CHANGELOG.md +712 -0
- package/CONTRIBUTING.md +99 -0
- package/ETHOS.md +83 -0
- package/LICENSE +21 -0
- package/README.md +115 -0
- package/WICKED_GARDEN_BUS_EVENTS.md +149 -0
- package/agents/agentic/architect.md +449 -0
- package/agents/agentic/performance-analyst.md +702 -0
- package/agents/agentic/safety-reviewer.md +662 -0
- package/agents/crew/implementer.md +163 -0
- package/agents/crew/researcher.md +94 -0
- package/agents/crew/reviewer.md +184 -0
- package/agents/data/data-engineer.md +227 -0
- package/agents/engineering/api-documentarian.md +440 -0
- package/agents/engineering/migration-engineer.md +301 -0
- package/agents/engineering/solution-architect.md +208 -0
- package/agents/jam/brainstorm-facilitator.md +297 -0
- package/agents/jam/council.md +322 -0
- package/agents/jam/quick-facilitator.md +85 -0
- package/agents/persona/persona-agent.md +121 -0
- package/agents/platform/compliance-officer.md +266 -0
- package/agents/platform/privacy-expert.md +496 -0
- package/agents/platform/security-engineer.md +287 -0
- package/agents/product/a11y-expert.md +323 -0
- package/agents/product/requirements-analyst.md +238 -0
- package/agents/product/ui-reviewer.md +180 -0
- package/agents/product/ux-designer.md +199 -0
- package/agents/product/value-strategist.md +269 -0
- package/agents/qe/semantic-reviewer.md +78 -0
- package/commands/agentic/audit.md +24 -0
- package/commands/agentic/design.md +24 -0
- package/commands/agentic/frameworks.md +25 -0
- package/commands/agentic/review.md +27 -0
- package/commands/archetype/build.md +12 -0
- package/commands/archetype/decide.md +12 -0
- package/commands/archetype/explore.md +12 -0
- package/commands/archetype/incident.md +12 -0
- package/commands/archetype/migrate.md +12 -0
- package/commands/archetype/modernize.md +12 -0
- package/commands/archetype/review.md +14 -0
- package/commands/archetype/ship.md +12 -0
- package/commands/archetype/specify.md +12 -0
- package/commands/archetype/triage.md +12 -0
- package/commands/compile.md +37 -0
- package/commands/data/analyze.md +18 -0
- package/commands/data/data.md +21 -0
- package/commands/data/ml.md +18 -0
- package/commands/data/ontology.md +22 -0
- package/commands/data/pipeline.md +17 -0
- package/commands/deliberate.md +181 -0
- package/commands/engineering/add-field.md +77 -0
- package/commands/engineering/apply.md +58 -0
- package/commands/engineering/arch.md +26 -0
- package/commands/engineering/debug.md +27 -0
- package/commands/engineering/docs.md +27 -0
- package/commands/engineering/new-generator.md +257 -0
- package/commands/engineering/patch-plan.md +59 -0
- package/commands/engineering/plan.md +29 -0
- package/commands/engineering/remove.md +48 -0
- package/commands/engineering/rename.md +44 -0
- package/commands/engineering/review.md +32 -0
- package/commands/help.md +128 -0
- package/commands/install.md +118 -0
- package/commands/intent.md +54 -0
- package/commands/jam/brainstorm.md +37 -0
- package/commands/jam/council.md +49 -0
- package/commands/jam/quick.md +21 -0
- package/commands/jam/revisit.md +79 -0
- package/commands/persona/as.md +136 -0
- package/commands/persona/define.md +24 -0
- package/commands/persona/list.md +118 -0
- package/commands/platform/actions.md +20 -0
- package/commands/platform/assert.md +18 -0
- package/commands/platform/audit.md +23 -0
- package/commands/platform/compliance.md +20 -0
- package/commands/platform/gh.md +22 -0
- package/commands/platform/health.md +22 -0
- package/commands/platform/incident.md +23 -0
- package/commands/platform/infra.md +24 -0
- package/commands/platform/peer-health.md +103 -0
- package/commands/platform/plugin-health.md +58 -0
- package/commands/platform/security.md +38 -0
- package/commands/platform/toolchain.md +96 -0
- package/commands/platform/traces.md +20 -0
- package/commands/product/a11y.md +19 -0
- package/commands/product/acceptance.md +19 -0
- package/commands/product/align.md +20 -0
- package/commands/product/analyze.md +23 -0
- package/commands/product/elicit.md +19 -0
- package/commands/product/listen.md +24 -0
- package/commands/product/mockup.md +20 -0
- package/commands/product/screenshot.md +19 -0
- package/commands/product/strategy.md +40 -0
- package/commands/product/synthesize.md +23 -0
- package/commands/product/ux-review.md +42 -0
- package/commands/product/ux.md +20 -0
- package/commands/product/visual-direction.md +34 -0
- package/commands/prove.md +47 -0
- package/commands/report-issue.md +243 -0
- package/commands/reset.md +144 -0
- package/commands/search/blast-radius.md +58 -0
- package/commands/search/hotspots.md +55 -0
- package/commands/search/index.md +38 -0
- package/commands/search/lineage.md +47 -0
- package/commands/search/service-map.md +79 -0
- package/commands/setup.md +363 -0
- package/commands/smaht/briefing.md +200 -0
- package/commands/smaht/events-import.md +95 -0
- package/commands/smaht/state.md +19 -0
- package/commands/where-am-i.md +58 -0
- package/docs/README.md +32 -0
- package/docs/adr/0001-code-relationship-graph-engine.md +116 -0
- package/docs/adr/0002-major-cleanup-keep-cut.md +91 -0
- package/docs/adr/0003-peers-gate-required-layers-optin.md +41 -0
- package/docs/adr/0004-code-graph-moves-to-wicked-brain.md +47 -0
- package/docs/brain-chunk-format.md +135 -0
- package/docs/compiler.md +95 -0
- package/docs/daemon-api.md +70 -0
- package/docs/domains.md +197 -0
- package/docs/getting-started.md +208 -0
- package/docs/plans/2026-06-08-wicked-loom-conduct.md +1337 -0
- package/docs/plans/2026-06-08-wicked-loom-contract.md +638 -0
- package/docs/plans/2026-06-08-wicked-loom-cutover.md +1300 -0
- package/docs/plans/2026-06-08-wicked-loom-expand-compose.md +843 -0
- package/docs/plans/2026-06-08-wicked-loom-flow-cutover.md +403 -0
- package/docs/plans/2026-06-10-codegraph-to-brain-phase1a-graph-core.md +838 -0
- package/docs/plans/2026-06-10-codegraph-to-brain-phase1b-injected-edges.md +44 -0
- package/docs/required-peers.md +60 -0
- package/docs/specs/2026-06-08-wicked-loom-extraction.md +225 -0
- package/docs/specs/2026-06-10-codegraph-to-brain-migration.md +168 -0
- package/docs/v11/archetypes.md +231 -0
- package/hooks/hooks.json +275 -0
- package/hooks/scripts/bootstrap.py +1797 -0
- package/hooks/scripts/invoke.py +62 -0
- package/hooks/scripts/notification.py +166 -0
- package/hooks/scripts/permission_request.py +223 -0
- package/hooks/scripts/post_tool.py +1374 -0
- package/hooks/scripts/pre_compact.py +272 -0
- package/hooks/scripts/pre_tool.py +1278 -0
- package/hooks/scripts/prompt_submit.py +1109 -0
- package/hooks/scripts/session_end.py +95 -0
- package/hooks/scripts/stop.py +624 -0
- package/hooks/scripts/subagent_lifecycle.py +464 -0
- package/hooks/scripts/subscribers/on_gate_decided.py +84 -0
- package/hooks/scripts/task_completed.py +322 -0
- package/hooks/scripts/worktree_guard.py +148 -0
- package/hooks/subscriptions/on_gate_decided.json +9 -0
- package/install.mjs +128 -0
- package/package.json +41 -0
- package/pyproject.toml +59 -0
- package/schemas/README.md +32 -0
- package/schemas/assert_contracts.json +37 -0
- package/schemas/health_probe.json +46 -0
- package/schemas/plugin_status.json +37 -0
- package/scripts/_adapters/__init__.py +166 -0
- package/scripts/_adapters/jira_adapter.py +18 -0
- package/scripts/_adapters/linear_adapter.py +18 -0
- package/scripts/_adapters/miro_adapter.py +18 -0
- package/scripts/_adapters/notion_adapter.py +18 -0
- package/scripts/_agents.py +357 -0
- package/scripts/_brain_ingest/__init__.py +2 -0
- package/scripts/_brain_ingest/session_fact_extractor.py +341 -0
- package/scripts/_brain_port.py +163 -0
- package/scripts/_bus.py +1081 -0
- package/scripts/_bus_catalog_gen.py +93 -0
- package/scripts/_bus_consumers.json +46 -0
- package/scripts/_bus_emit.py +43 -0
- package/scripts/_capability_registry.py +334 -0
- package/scripts/_capability_resolver.py +322 -0
- package/scripts/_domain_store.py +559 -0
- package/scripts/_event_log_reader.py +154 -0
- package/scripts/_event_schema.py +305 -0
- package/scripts/_event_store.py +397 -0
- package/scripts/_heavy_cadence.py +324 -0
- package/scripts/_integration_resolver.py +321 -0
- package/scripts/_logger.py +151 -0
- package/scripts/_loom.py +482 -0
- package/scripts/_paths.py +133 -0
- package/scripts/_python.sh +22 -0
- package/scripts/_run.py +137 -0
- package/scripts/_session.py +502 -0
- package/scripts/_validate_registry.py +1042 -0
- package/scripts/_wicked_testing_probe.py +277 -0
- package/scripts/agentic/analyze_agents.py +391 -0
- package/scripts/agentic/detect_framework.py +420 -0
- package/scripts/agentic/issue_taxonomy.py +357 -0
- package/scripts/agentic/pattern_scorer.py +434 -0
- package/scripts/classify/persist.py +169 -0
- package/scripts/compiler/compile.py +552 -0
- package/scripts/compiler/phase0/VERDICT.md +60 -0
- package/scripts/compiler/phase0/detect.py +292 -0
- package/scripts/compiler/phase0/emit.py +228 -0
- package/scripts/compiler/phase0/evidence/Enterprise-AISDLC.bindings.json +30 -0
- package/scripts/compiler/phase0/evidence/Enterprise-AISDLC.lint-output.txt +17 -0
- package/scripts/compiler/phase0/evidence/Enterprise-AISDLC.stage/.wg/evidence/failing-tests.txt +4 -0
- package/scripts/compiler/phase0/evidence/Enterprise-AISDLC.stage/.wg/evidence/honest-tests.txt +2 -0
- package/scripts/compiler/phase0/evidence/Enterprise-AISDLC.stage/fab-fail.build.md +8 -0
- package/scripts/compiler/phase0/evidence/Enterprise-AISDLC.stage/fab-missing.build.md +8 -0
- package/scripts/compiler/phase0/evidence/Enterprise-AISDLC.stage/honest.build.md +8 -0
- package/scripts/compiler/phase0/evidence/Enterprise-AISDLC.stage/wg_check_claims.py +174 -0
- package/scripts/compiler/phase0/evidence/command_iq.bindings.json +45 -0
- package/scripts/compiler/phase0/evidence/command_iq.lint-output.txt +17 -0
- package/scripts/compiler/phase0/evidence/command_iq.stage/.projects/evidence-domain/phase-1-clarify/evidence/failing-tests.txt +4 -0
- package/scripts/compiler/phase0/evidence/command_iq.stage/.projects/evidence-domain/phase-1-clarify/evidence/honest-tests.txt +3 -0
- package/scripts/compiler/phase0/evidence/command_iq.stage/fab-fail.build.md +8 -0
- package/scripts/compiler/phase0/evidence/command_iq.stage/fab-missing.build.md +8 -0
- package/scripts/compiler/phase0/evidence/command_iq.stage/honest.build.md +8 -0
- package/scripts/compiler/phase0/evidence/command_iq.stage/wg_check_claims.py +174 -0
- package/scripts/compiler/phase0/evidence/memos.bindings.json +28 -0
- package/scripts/compiler/phase0/evidence/memos.lint-output.txt +17 -0
- package/scripts/compiler/phase0/evidence/memos.stage/.wg/evidence/failing-tests.txt +4 -0
- package/scripts/compiler/phase0/evidence/memos.stage/.wg/evidence/honest-tests.txt +2 -0
- package/scripts/compiler/phase0/evidence/memos.stage/fab-fail.build.md +8 -0
- package/scripts/compiler/phase0/evidence/memos.stage/fab-missing.build.md +8 -0
- package/scripts/compiler/phase0/evidence/memos.stage/honest.build.md +8 -0
- package/scripts/compiler/phase0/evidence/memos.stage/wg_check_claims.py +174 -0
- package/scripts/compiler/phase0/evidence/verdict.json +104 -0
- package/scripts/compiler/phase0/evidence/wicked-bus.bindings.json +29 -0
- package/scripts/compiler/phase0/evidence/wicked-bus.lint-output.txt +17 -0
- package/scripts/compiler/phase0/evidence/wicked-bus.stage/coverage/failing-tests.txt +4 -0
- package/scripts/compiler/phase0/evidence/wicked-bus.stage/coverage/honest-tests.txt +3 -0
- package/scripts/compiler/phase0/evidence/wicked-bus.stage/fab-fail.build.md +8 -0
- package/scripts/compiler/phase0/evidence/wicked-bus.stage/fab-missing.build.md +8 -0
- package/scripts/compiler/phase0/evidence/wicked-bus.stage/honest.build.md +8 -0
- package/scripts/compiler/phase0/evidence/wicked-bus.stage/wg_check_claims.py +174 -0
- package/scripts/compiler/phase0/evidence/wire-vault-transcript.txt +60 -0
- package/scripts/compiler/phase0/run_probe.py +234 -0
- package/scripts/compiler/phase0/wire_vault.py +310 -0
- package/scripts/crew/__init__.py +0 -0
- package/scripts/crew/_task_audit_writer.py +243 -0
- package/scripts/crew/_task_reader.py +389 -0
- package/scripts/crew/archetypes_v11.py +348 -0
- package/scripts/crew/detectors/__init__.py +12 -0
- package/scripts/crew/flow_compiler.py +121 -0
- package/scripts/crew/phase_manager.py +703 -0
- package/scripts/crew/scope_delta.py +264 -0
- package/scripts/crew/specialist_resolver.py +218 -0
- package/scripts/crew/stack_registry.py +189 -0
- package/scripts/data/data_profiler.py +271 -0
- package/scripts/data/ontology_recommender.py +231 -0
- package/scripts/data/schema_validator.py +267 -0
- package/scripts/delivery/drift.py +739 -0
- package/scripts/delivery/telemetry.py +614 -0
- package/scripts/engineering/patch/codegraph_db.py +125 -0
- package/scripts/engineering/patch/generators/__init__.py +56 -0
- package/scripts/engineering/patch/generators/base.py +373 -0
- package/scripts/engineering/patch/generators/csharp_generator.py +494 -0
- package/scripts/engineering/patch/generators/go_generator.py +430 -0
- package/scripts/engineering/patch/generators/java_generator.py +928 -0
- package/scripts/engineering/patch/generators/jsp_generator.py +454 -0
- package/scripts/engineering/patch/generators/kotlin_generator.py +561 -0
- package/scripts/engineering/patch/generators/perl_generator.py +510 -0
- package/scripts/engineering/patch/generators/php_generator.py +644 -0
- package/scripts/engineering/patch/generators/propagation_engine.py +929 -0
- package/scripts/engineering/patch/generators/python_generator.py +487 -0
- package/scripts/engineering/patch/generators/ruby_generator.py +463 -0
- package/scripts/engineering/patch/generators/rust_generator.py +400 -0
- package/scripts/engineering/patch/generators/sql_generator.py +594 -0
- package/scripts/engineering/patch/generators/typescript_generator.py +439 -0
- package/scripts/engineering/patch/patch.py +800 -0
- package/scripts/engineering/patch/safety.py +429 -0
- package/scripts/jam/__init__.py +0 -0
- package/scripts/jam/_bus_consumers.py +271 -0
- package/scripts/jam/agentic_cli_registry.py +703 -0
- package/scripts/jam/consensus.py +737 -0
- package/scripts/jam/detect_clis.py +409 -0
- package/scripts/jam/jam.py +283 -0
- package/scripts/jam/save_transcript.py +171 -0
- package/scripts/loom/__init__.py +22 -0
- package/scripts/loom/cli.py +170 -0
- package/scripts/loom/compose.py +180 -0
- package/scripts/loom/gate.py +120 -0
- package/scripts/loom/manifest.py +140 -0
- package/scripts/loom/resolve.py +59 -0
- package/scripts/persona/__init__.py +0 -0
- package/scripts/persona/registry.py +688 -0
- package/scripts/platform/guard_pipeline.py +1214 -0
- package/scripts/platform/guard_profiles.py +216 -0
- package/scripts/platform/observability/assert_contracts.py +434 -0
- package/scripts/platform/observability/health_probe.py +915 -0
- package/scripts/platform/observability/ops_log_viewer.py +209 -0
- package/scripts/platform/prereq_doctor.py +567 -0
- package/scripts/qe/conditions_manifest.py +260 -0
- package/scripts/qe/content_sanitizer.py +160 -0
- package/scripts/qe/coverage_tracker.py +535 -0
- package/scripts/qe/discover_scenarios.py +243 -0
- package/scripts/qe/evidence_tracker.py +232 -0
- package/scripts/qe/prove.py +196 -0
- package/scripts/qe/registry_lookup.py +80 -0
- package/scripts/qe/registry_store.py +176 -0
- package/scripts/qe/semantic_review.py +1005 -0
- package/scripts/qe/vault_gate.py +382 -0
- package/scripts/qe/verdict_audit.py +175 -0
- package/scripts/qe/verdict_schema.py +335 -0
- package/scripts/reset.py +220 -0
- package/scripts/resolve_path.py +22 -0
- package/scripts/sentinel/invariants.py +402 -0
- package/scripts/sentinel/pre_push.py +73 -0
- package/scripts/setup/__init__.py +1 -0
- package/scripts/setup/detect_state.py +114 -0
- package/scripts/setup/migrate_legacy.py +67 -0
- package/scripts/setup/migrate_v6_projects.py +232 -0
- package/scripts/setup/onboarding.py +114 -0
- package/scripts/smaht/_bus_consumers.py +98 -0
- package/scripts/smaht/adapters/__init__.py +83 -0
- package/scripts/smaht/adapters/brain_adapter.py +254 -0
- package/scripts/smaht/adapters/context7_adapter.py +438 -0
- package/scripts/smaht/adapters/delegation_adapter.py +104 -0
- package/scripts/smaht/adapters/domain_adapter.py +206 -0
- package/scripts/smaht/adapters/events_adapter.py +231 -0
- package/scripts/smaht/adapters/tools_adapter.py +49 -0
- package/scripts/smaht/cheatsheet_store.py +236 -0
- package/scripts/smaht/context_package.py +386 -0
- package/scripts/smaht/knowledge_graph.py +395 -0
- package/scripts/smaht/propose_skills.py +856 -0
- package/scripts/smaht/test_cheatsheet_store.py +428 -0
- package/scripts/statusline.py +151 -0
- package/scripts/where_am_i.py +236 -0
- package/skills/agentic/agentic-patterns/SKILL.md +91 -0
- package/skills/agentic/agentic-patterns/refs/anti-patterns-design.md +283 -0
- package/skills/agentic/agentic-patterns/refs/anti-patterns-operational.md +216 -0
- package/skills/agentic/agentic-patterns/refs/pattern-catalog.md +329 -0
- package/skills/agentic/context-engineering/SKILL.md +142 -0
- package/skills/agentic/context-engineering/refs/caching-and-optimization.md +251 -0
- package/skills/agentic/context-engineering/refs/compression-techniques.md +171 -0
- package/skills/agentic/context-engineering/refs/cost-calculation-budget.md +250 -0
- package/skills/agentic/context-engineering/refs/cost-optimization-reporting.md +300 -0
- package/skills/agentic/context-engineering/refs/selective-loading.md +179 -0
- package/skills/agentic/frameworks/SKILL.md +191 -0
- package/skills/agentic/frameworks/refs/framework-profiles-1.md +209 -0
- package/skills/agentic/frameworks/refs/framework-profiles-2.md +214 -0
- package/skills/agentic/frameworks/refs/migration-patterns-paths.md +267 -0
- package/skills/agentic/frameworks/refs/migration-patterns-testing.md +208 -0
- package/skills/agentic/refs/audit.md +134 -0
- package/skills/agentic/refs/design.md +137 -0
- package/skills/agentic/refs/frameworks.md +102 -0
- package/skills/agentic/refs/review.md +160 -0
- package/skills/agentic/review-methodology/SKILL.md +186 -0
- package/skills/agentic/review-methodology/refs/deliverable-templates.md +246 -0
- package/skills/agentic/review-methodology/refs/issue-taxonomy-quality-testing.md +277 -0
- package/skills/agentic/review-methodology/refs/issue-taxonomy-reliability-safety.md +253 -0
- package/skills/agentic/trust-and-safety/SKILL.md +177 -0
- package/skills/agentic/trust-and-safety/refs/guardrails-actions.md +246 -0
- package/skills/agentic/trust-and-safety/refs/guardrails-input-output.md +238 -0
- package/skills/agentic/trust-and-safety/refs/guardrails-resources.md +209 -0
- package/skills/agentic/trust-and-safety/refs/safety-checklist-advanced.md +209 -0
- package/skills/agentic/trust-and-safety/refs/safety-checklist-core.md +215 -0
- package/skills/archetype/SKILL.md +104 -0
- package/skills/archetype/refs/build.md +142 -0
- package/skills/archetype/refs/decide.md +117 -0
- package/skills/archetype/refs/explore.md +66 -0
- package/skills/archetype/refs/incident.md +149 -0
- package/skills/archetype/refs/migrate.md +170 -0
- package/skills/archetype/refs/modernize.md +187 -0
- package/skills/archetype/refs/review.md +145 -0
- package/skills/archetype/refs/ship.md +117 -0
- package/skills/archetype/refs/specify.md +108 -0
- package/skills/archetype/refs/triage.md +62 -0
- package/skills/classify/SKILL.md +157 -0
- package/skills/data/analysis/SKILL.md +125 -0
- package/skills/data/analysis/refs/templates.md +170 -0
- package/skills/data/data/SKILL.md +118 -0
- package/skills/data/data/refs/examples.md +235 -0
- package/skills/data/ml/SKILL.md +125 -0
- package/skills/data/ml/refs/templates.md +172 -0
- package/skills/data/pipeline/SKILL.md +136 -0
- package/skills/data/pipeline/refs/templates.md +175 -0
- package/skills/data/refs/analyze.md +123 -0
- package/skills/data/refs/data.md +95 -0
- package/skills/data/refs/ml.md +118 -0
- package/skills/data/refs/pipeline.md +92 -0
- package/skills/deliberate/SKILL.md +125 -0
- package/skills/deliberate/refs/architecture-lens.md +37 -0
- package/skills/deliberate/refs/assumptions-lens.md +43 -0
- package/skills/deliberate/refs/code-lens.md +38 -0
- package/skills/deliberate/refs/content-lens.md +37 -0
- package/skills/deliberate/refs/data-lens.md +43 -0
- package/skills/deliberate/refs/design-lens.md +37 -0
- package/skills/deliberate/refs/opportunity-patterns.md +107 -0
- package/skills/deliberate/refs/ops-lens.md +43 -0
- package/skills/deliberate/refs/product-lens.md +46 -0
- package/skills/deliberate/refs/rethink-framework.md +77 -0
- package/skills/deliberate/refs/security-lens.md +47 -0
- package/skills/deliberate/refs/testing-lens.md +45 -0
- package/skills/deliberate/refs/timing-lens.md +42 -0
- package/skills/engineering/architecture/SKILL.md +177 -0
- package/skills/engineering/architecture/refs/adr-template.md +268 -0
- package/skills/engineering/architecture/refs/architecture-template-deployment.md +176 -0
- package/skills/engineering/architecture/refs/architecture-template-design.md +300 -0
- package/skills/engineering/architecture/refs/examples-ecommerce-analytics.md +299 -0
- package/skills/engineering/architecture/refs/examples-saas-trading.md +291 -0
- package/skills/engineering/architecture/refs/patterns-advanced.md +238 -0
- package/skills/engineering/architecture/refs/patterns-structural.md +303 -0
- package/skills/engineering/backend/SKILL.md +102 -0
- package/skills/engineering/backend/refs/checklists.md +146 -0
- package/skills/engineering/backend/refs/patterns.md +181 -0
- package/skills/engineering/debugging/SKILL.md +99 -0
- package/skills/engineering/debugging/refs/patterns.md +248 -0
- package/skills/engineering/debugging/refs/process.md +203 -0
- package/skills/engineering/docs/SKILL.md +97 -0
- package/skills/engineering/engineering/SKILL.md +88 -0
- package/skills/engineering/engineering/refs/checklists.md +91 -0
- package/skills/engineering/engineering/refs/templates.md +71 -0
- package/skills/engineering/frontend/SKILL.md +92 -0
- package/skills/engineering/frontend/refs/checklists.md +96 -0
- package/skills/engineering/frontend/refs/patterns.md +167 -0
- package/skills/engineering/integration/SKILL.md +183 -0
- package/skills/engineering/integration/refs/error-handling-best-practices.md +139 -0
- package/skills/engineering/integration/refs/error-handling-error-classes-typescript.md +212 -0
- package/skills/engineering/integration/refs/error-handling-error-response-format.md +301 -0
- package/skills/engineering/integration/refs/error-handling-retry-strategies.md +190 -0
- package/skills/engineering/integration/refs/event-schemas-best-practices.md +225 -0
- package/skills/engineering/integration/refs/event-schemas-event-naming-conventions.md +303 -0
- package/skills/engineering/integration/refs/event-schemas-event-structure.md +288 -0
- package/skills/engineering/integration/refs/graphql-best-practices.md +138 -0
- package/skills/engineering/integration/refs/graphql-error-handling.md +198 -0
- package/skills/engineering/integration/refs/graphql-graphql-basics.md +197 -0
- package/skills/engineering/integration/refs/graphql-query-examples.md +226 -0
- package/skills/engineering/integration/refs/graphql-schema-design-patterns.md +280 -0
- package/skills/engineering/integration/refs/grpc-grpc-overview.md +246 -0
- package/skills/engineering/integration/refs/grpc-implementation-examples.md +269 -0
- package/skills/engineering/integration/refs/grpc-metadata-headers.md +304 -0
- package/skills/engineering/integration/refs/grpc-testing.md +49 -0
- package/skills/engineering/integration/refs/openapi-template.yaml +682 -0
- package/skills/engineering/integration/refs/resilience-best-practices.md +109 -0
- package/skills/engineering/integration/refs/resilience-circuit-breaker-pattern.md +302 -0
- package/skills/engineering/integration/refs/resilience-rate-limiting.md +245 -0
- package/skills/engineering/integration/refs/resilience-timeout-pattern.md +212 -0
- package/skills/engineering/integration/refs/rest-api-fundamentals.md +299 -0
- package/skills/engineering/integration/refs/rest-api-responses-security.md +302 -0
- package/skills/engineering/integration/refs/versioning-breaking-changes.md +237 -0
- package/skills/engineering/integration/refs/versioning-migration-strategies.md +257 -0
- package/skills/engineering/integration/refs/versioning-versioning-strategies.md +296 -0
- package/skills/engineering/large-scale-migration/SKILL.md +65 -0
- package/skills/engineering/patch/SKILL.md +184 -0
- package/skills/engineering/refs/arch.md +126 -0
- package/skills/engineering/refs/debug.md +142 -0
- package/skills/engineering/refs/docs.md +190 -0
- package/skills/engineering/refs/plan.md +109 -0
- package/skills/engineering/refs/review.md +138 -0
- package/skills/engineering/system-design/SKILL.md +154 -0
- package/skills/engineering/system-design/refs/anti-patterns-big-ball-of-mud.md +254 -0
- package/skills/engineering/system-design/refs/anti-patterns-circular-dependencies.md +241 -0
- package/skills/engineering/system-design/refs/anti-patterns-feature-envy.md +168 -0
- package/skills/engineering/system-design/refs/anti-patterns-god-object.md +247 -0
- package/skills/engineering/system-design/refs/component-template-lifecycle.md +210 -0
- package/skills/engineering/system-design/refs/component-template-maintenance.md +219 -0
- package/skills/engineering/system-design/refs/component-template-structure.md +276 -0
- package/skills/engineering/system-design/refs/dependencies-best-practices.md +260 -0
- package/skills/engineering/system-design/refs/dependencies-dependency-principles.md +295 -0
- package/skills/engineering/system-design/refs/dependencies-dependency-tracking.md +261 -0
- package/skills/engineering/system-design/refs/interface-template-lifecycle.md +211 -0
- package/skills/engineering/system-design/refs/interface-template-maintenance.md +212 -0
- package/skills/engineering/system-design/refs/interface-template-structure.md +269 -0
- package/skills/engineering/system-design/refs/patterns-dependency-injection.md +151 -0
- package/skills/engineering/system-design/refs/patterns-facade-pattern.md +257 -0
- package/skills/engineering/system-design/refs/patterns-layered-pattern.md +204 -0
- package/skills/engineering/system-design/refs/patterns-plugin-architecture.md +229 -0
- package/skills/engineering/unit-test-quality/SKILL.md +194 -0
- package/skills/ground/SKILL.md +130 -0
- package/skills/integration-discovery/SKILL.md +168 -0
- package/skills/integration-discovery/refs/capabilities.md +282 -0
- package/skills/integration-discovery/refs/cli-detection.md +295 -0
- package/skills/integration-discovery/refs/discovery-sources.md +233 -0
- package/skills/integration-discovery/refs/task-patterns.md +206 -0
- package/skills/jam/SKILL.md +45 -0
- package/skills/jam/refs/facilitation-patterns.md +125 -0
- package/skills/jam/refs/quick.md +64 -0
- package/skills/jam/refs/synthesis-patterns.md +114 -0
- package/skills/multi-model/SKILL.md +168 -0
- package/skills/multi-model/refs/aichat.md +119 -0
- package/skills/multi-model/refs/aider.md +100 -0
- package/skills/multi-model/refs/auditability.md +238 -0
- package/skills/multi-model/refs/codex.md +169 -0
- package/skills/multi-model/refs/context.md +306 -0
- package/skills/multi-model/refs/copilot.md +161 -0
- package/skills/multi-model/refs/examples.md +224 -0
- package/skills/multi-model/refs/gemini.md +185 -0
- package/skills/multi-model/refs/goose.md +112 -0
- package/skills/multi-model/refs/llm.md +124 -0
- package/skills/multi-model/refs/opencode.md +196 -0
- package/skills/multi-model/refs/orchestration.md +188 -0
- package/skills/multi-model/refs/pi.md +208 -0
- package/skills/persona/SKILL.md +144 -0
- package/skills/persona/refs/define.md +133 -0
- package/skills/platform/actions/refs/actions.md +114 -0
- package/skills/platform/audit/SKILL.md +174 -0
- package/skills/platform/audit/refs/audit.md +145 -0
- package/skills/platform/audit/refs/checklists-evidence-operations.md +144 -0
- package/skills/platform/audit/refs/checklists-gdpr-pci-evidence.md +213 -0
- package/skills/platform/audit/refs/checklists-soc2-hipaa.md +120 -0
- package/skills/platform/audit/refs/frameworks-gdpr-pci.md +225 -0
- package/skills/platform/audit/refs/frameworks-soc2-hipaa.md +228 -0
- package/skills/platform/compliance/SKILL.md +169 -0
- package/skills/platform/compliance/refs/checklists.md +303 -0
- package/skills/platform/compliance/refs/compliance.md +117 -0
- package/skills/platform/compliance/refs/frameworks.md +282 -0
- package/skills/platform/errors/SKILL.md +183 -0
- package/skills/platform/errors/refs/patterns.md +271 -0
- package/skills/platform/errors/refs/severity.md +264 -0
- package/skills/platform/gate-benchmark-rebaseline/SKILL.md +108 -0
- package/skills/platform/gh/refs/gh.md +105 -0
- package/skills/platform/gh-cli/SKILL.md +120 -0
- package/skills/platform/gh-cli/refs/automation.md +63 -0
- package/skills/platform/gh-cli/refs/gh-ops.md +103 -0
- package/skills/platform/gh-cli/refs/patterns.md +132 -0
- package/skills/platform/gh-cli/scripts/gh_ops.py +454 -0
- package/skills/platform/github-actions/SKILL.md +159 -0
- package/skills/platform/github-actions/refs/security.md +150 -0
- package/skills/platform/github-actions/refs/templates.md +230 -0
- package/skills/platform/github-actions/refs/troubleshooting.md +174 -0
- package/skills/platform/github-actions/scripts/workflow_gen.py +215 -0
- package/skills/platform/gitlab-ci/SKILL.md +140 -0
- package/skills/platform/gitlab-ci/refs/templates.md +223 -0
- package/skills/platform/gitlab-ci/refs/troubleshooting.md +213 -0
- package/skills/platform/glab-cli/SKILL.md +133 -0
- package/skills/platform/glab-cli/refs/ci-debugging.md +95 -0
- package/skills/platform/glab-cli/refs/glab-ops.md +78 -0
- package/skills/platform/glab-cli/refs/patterns.md +131 -0
- package/skills/platform/glab-cli/scripts/glab_ops.py +313 -0
- package/skills/platform/health/SKILL.md +177 -0
- package/skills/platform/health/refs/health.md +72 -0
- package/skills/platform/health/refs/sources.md +302 -0
- package/skills/platform/incident/refs/incident.md +136 -0
- package/skills/platform/infra/refs/infra.md +104 -0
- package/skills/platform/observability/SKILL.md +128 -0
- package/skills/platform/observability/refs/toolchain-discovery.md +243 -0
- package/skills/platform/prereq-doctor/SKILL.md +57 -0
- package/skills/platform/prereq-doctor/refs/tool-registry.md +58 -0
- package/skills/platform/traces/refs/traces.md +101 -0
- package/skills/product/acceptance-criteria/SKILL.md +193 -0
- package/skills/product/acceptance-criteria/refs/ac-anti-patterns.md +291 -0
- package/skills/product/acceptance-criteria/refs/ac-examples.md +277 -0
- package/skills/product/accessibility/SKILL.md +197 -0
- package/skills/product/accessibility/refs/aria-patterns-basics.md +250 -0
- package/skills/product/accessibility/refs/aria-patterns-dynamic.md +187 -0
- package/skills/product/accessibility/refs/aria-patterns-interactive.md +246 -0
- package/skills/product/accessibility/refs/audit-report-findings.md +248 -0
- package/skills/product/accessibility/refs/audit-report-results.md +276 -0
- package/skills/product/accessibility/refs/common-violations-html-css.md +270 -0
- package/skills/product/accessibility/refs/common-violations-interactive.md +303 -0
- package/skills/product/accessibility/refs/keyboard-testing-basics.md +222 -0
- package/skills/product/accessibility/refs/keyboard-testing-patterns.md +173 -0
- package/skills/product/accessibility/refs/screen-reader-testing-advanced.md +294 -0
- package/skills/product/accessibility/refs/screen-reader-testing-commands.md +255 -0
- package/skills/product/accessibility/refs/wcag-checklist.md +262 -0
- package/skills/product/analyze/SKILL.md +164 -0
- package/skills/product/analyze/refs/algorithms.md +238 -0
- package/skills/product/analyze/refs/sentiment-patterns.md +180 -0
- package/skills/product/imagery/SKILL.md +97 -0
- package/skills/product/imagery/alter/SKILL.md +105 -0
- package/skills/product/imagery/alter/refs/editing-reference.md +146 -0
- package/skills/product/imagery/create/SKILL.md +109 -0
- package/skills/product/imagery/create/refs/prompt-engineering.md +112 -0
- package/skills/product/imagery/create/refs/provider-reference.md +219 -0
- package/skills/product/imagery/review/SKILL.md +101 -0
- package/skills/product/imagery/review/refs/analysis-lenses.md +136 -0
- package/skills/product/imagery/review/refs/quality-gates.md +153 -0
- package/skills/product/imagery/scripts/analyze.sh +23 -0
- package/skills/product/imagery/scripts/edit.sh +14 -0
- package/skills/product/imagery/scripts/generate.sh +13 -0
- package/skills/product/imagery/scripts/provider.py +787 -0
- package/skills/product/listen/SKILL.md +175 -0
- package/skills/product/listen/refs/channels.md +220 -0
- package/skills/product/mockup/SKILL.md +106 -0
- package/skills/product/mockup/refs/templates.md +95 -0
- package/skills/product/refs/a11y.md +109 -0
- package/skills/product/refs/acceptance.md +79 -0
- package/skills/product/refs/align.md +67 -0
- package/skills/product/refs/analyze.md +77 -0
- package/skills/product/refs/elicit.md +67 -0
- package/skills/product/refs/listen.md +58 -0
- package/skills/product/refs/mockup.md +77 -0
- package/skills/product/refs/screenshot.md +59 -0
- package/skills/product/refs/strategy.md +77 -0
- package/skills/product/refs/synthesize.md +54 -0
- package/skills/product/refs/ux-review.md +68 -0
- package/skills/product/refs/ux.md +101 -0
- package/skills/product/requirements-analysis/SKILL.md +136 -0
- package/skills/product/requirements-analysis/refs/requirements-example-auth.md +264 -0
- package/skills/product/requirements-analysis/refs/requirements-example-export-integration.md +88 -0
- package/skills/product/requirements-analysis/refs/requirements-output-format-template.md +247 -0
- package/skills/product/requirements-analysis/refs/user-story-guide.md +296 -0
- package/skills/product/requirements-graph/SKILL.md +155 -0
- package/skills/product/requirements-graph/refs/examples.md +223 -0
- package/skills/product/requirements-graph/refs/schema.md +162 -0
- package/skills/product/requirements-migrate/SKILL.md +90 -0
- package/skills/product/requirements-navigate/SKILL.md +141 -0
- package/skills/product/requirements-navigate/refs/meta-templates.md +141 -0
- package/skills/product/screenshot/SKILL.md +147 -0
- package/skills/product/strategy/SKILL.md +198 -0
- package/skills/product/strategy/refs/frameworks.md +295 -0
- package/skills/product/strategy/refs/templates-competitive-market.md +299 -0
- package/skills/product/strategy/refs/templates-roi-value.md +207 -0
- package/skills/product/synthesize/SKILL.md +116 -0
- package/skills/product/synthesize/refs/journey-mapping.md +212 -0
- package/skills/product/synthesize/refs/prioritization.md +193 -0
- package/skills/product/ux-review/SKILL.md +164 -0
- package/skills/product/visual-direction/SKILL.md +137 -0
- package/skills/product/visual-review/SKILL.md +131 -0
- package/skills/runtime-exec/SKILL.md +138 -0
- package/skills/search/codebase-narrator/SKILL.md +131 -0
- package/skills/search/codebase-narrator/refs/output-template.md +100 -0
- package/skills/smaht/SKILL.md +72 -0
- package/skills/smaht/discovery/SKILL.md +65 -0
- package/skills/smaht/intent/SKILL.md +89 -0
- package/skills/smaht/propose-skills/SKILL.md +142 -0
- package/skills/smaht/refs/state.md +76 -0
- package/skills/swarm/SKILL.md +132 -0
- package/skills/swarm/refs/fan-out.md +104 -0
- package/skills/swarm/refs/independent-verification.md +86 -0
- package/skills/swarm/refs/receipts-and-evidence.md +69 -0
- package/skills/swarm/refs/recon-synthesis.md +87 -0
- package/skills/swarm/refs/ship-discipline.md +90 -0
- package/skills/wickedizer/SKILL.md +147 -0
- package/skills/wickedizer/refs/artifact-types.md +238 -0
- package/skills/wickedizer/refs/complexity.md +278 -0
- package/skills/wickedizer/refs/de-ai-pass.md +140 -0
- package/skills/wickedizer/refs/failure-modes.md +249 -0
- package/skills/wickedizer/refs/patterns.md +282 -0
- package/skills/wickedizer/refs/review.md +221 -0
- package/skills/wickedizer/refs/structure.md +282 -0
- package/skills/wickedizer/refs/voice-profile.md +125 -0
- package/skills/workflow/SKILL.md +132 -0
- package/skills/workflow/refs/archetype-adjustments.md +205 -0
- package/skills/workflow/refs/evidence.md +58 -0
- package/skills/workflow/refs/integration.md +130 -0
- package/skills/workflow/refs/risk-dimension-signals.md +260 -0
- package/skills/workflow/refs/scoring-rubric.md +49 -0
- package/skills/workflow/refs/signal-keywords.md +176 -0
- package/skills/workflow/refs/specialist-routing-rules.md +159 -0
- package/skills/worktrees/SKILL.md +87 -0
- package/skills/worktrees/refs/recipes.md +96 -0
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
---
|
|
2
|
+
phase_relevance: ["build", "review", "operate"]
|
|
3
|
+
archetype_relevance: ["*"]
|
|
4
|
+
---
|
|
5
|
+
# GitLab CI Troubleshooting
|
|
6
|
+
|
|
7
|
+
Common errors and fixes.
|
|
8
|
+
|
|
9
|
+
## Pipeline Not Triggering
|
|
10
|
+
|
|
11
|
+
### Check Rules
|
|
12
|
+
|
|
13
|
+
```yaml
|
|
14
|
+
# Debug: Print why job is running
|
|
15
|
+
job:
|
|
16
|
+
script:
|
|
17
|
+
- echo "Source: $CI_PIPELINE_SOURCE"
|
|
18
|
+
- echo "Branch: $CI_COMMIT_BRANCH"
|
|
19
|
+
- echo "Tag: $CI_COMMIT_TAG"
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Common Causes
|
|
23
|
+
|
|
24
|
+
| Symptom | Cause | Fix |
|
|
25
|
+
|---------|-------|-----|
|
|
26
|
+
| Job never runs | Rules exclude it | Check `rules:` conditions |
|
|
27
|
+
| Duplicate pipelines | Both push + MR triggers | Use `workflow:rules:` |
|
|
28
|
+
| Missing on tags | No tag rule | Add `- if: $CI_COMMIT_TAG` |
|
|
29
|
+
|
|
30
|
+
### Prevent Duplicate Pipelines
|
|
31
|
+
|
|
32
|
+
```yaml
|
|
33
|
+
workflow:
|
|
34
|
+
rules:
|
|
35
|
+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
36
|
+
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
|
|
37
|
+
when: never
|
|
38
|
+
- if: $CI_COMMIT_BRANCH
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Cache Issues
|
|
42
|
+
|
|
43
|
+
### Cache Not Restoring
|
|
44
|
+
|
|
45
|
+
1. Check key matches exactly
|
|
46
|
+
2. Verify paths exist at job end
|
|
47
|
+
3. Check runner has cache configured
|
|
48
|
+
|
|
49
|
+
```yaml
|
|
50
|
+
# Debug cache
|
|
51
|
+
job:
|
|
52
|
+
script:
|
|
53
|
+
- ls -la node_modules/ || echo "Cache miss"
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Force Cache Refresh
|
|
57
|
+
|
|
58
|
+
```yaml
|
|
59
|
+
cache:
|
|
60
|
+
key: "v2-${CI_COMMIT_REF_SLUG}" # Bump version
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Runner Issues
|
|
64
|
+
|
|
65
|
+
### "No Runner Available"
|
|
66
|
+
|
|
67
|
+
1. Check runner tags match job tags
|
|
68
|
+
2. Verify runner is online in GitLab UI
|
|
69
|
+
3. Check runner is allowed for project
|
|
70
|
+
|
|
71
|
+
```yaml
|
|
72
|
+
# Use shared runners
|
|
73
|
+
job:
|
|
74
|
+
tags: [] # Remove specific tags
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Timeout
|
|
78
|
+
|
|
79
|
+
```yaml
|
|
80
|
+
job:
|
|
81
|
+
timeout: 2h # Increase timeout
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Docker-in-Docker
|
|
85
|
+
|
|
86
|
+
### "Cannot Connect to Docker Daemon"
|
|
87
|
+
|
|
88
|
+
```yaml
|
|
89
|
+
job:
|
|
90
|
+
image: docker:24
|
|
91
|
+
services:
|
|
92
|
+
- docker:24-dind
|
|
93
|
+
variables:
|
|
94
|
+
DOCKER_HOST: tcp://docker:2376
|
|
95
|
+
DOCKER_TLS_CERTDIR: "/certs"
|
|
96
|
+
DOCKER_CERT_PATH: "/certs/client"
|
|
97
|
+
DOCKER_TLS_VERIFY: "1"
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Slow Builds
|
|
101
|
+
|
|
102
|
+
```yaml
|
|
103
|
+
# Enable layer caching
|
|
104
|
+
variables:
|
|
105
|
+
DOCKER_DRIVER: overlay2
|
|
106
|
+
|
|
107
|
+
# Or use Buildkit
|
|
108
|
+
variables:
|
|
109
|
+
DOCKER_BUILDKIT: "1"
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Artifacts
|
|
113
|
+
|
|
114
|
+
### "Artifact Too Large"
|
|
115
|
+
|
|
116
|
+
1. Check `artifacts:expire_in` is set
|
|
117
|
+
2. Reduce artifact size with patterns
|
|
118
|
+
|
|
119
|
+
```yaml
|
|
120
|
+
artifacts:
|
|
121
|
+
paths:
|
|
122
|
+
- dist/
|
|
123
|
+
exclude:
|
|
124
|
+
- dist/**/*.map
|
|
125
|
+
expire_in: 1 day
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Artifacts Not Passing Between Jobs
|
|
129
|
+
|
|
130
|
+
```yaml
|
|
131
|
+
job2:
|
|
132
|
+
needs:
|
|
133
|
+
- job: job1
|
|
134
|
+
artifacts: true # Explicit
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Variables
|
|
138
|
+
|
|
139
|
+
### "Variable Not Found"
|
|
140
|
+
|
|
141
|
+
1. Check variable exists in Settings > CI/CD
|
|
142
|
+
2. Check protected/masked settings
|
|
143
|
+
3. Check branch is protected (for protected variables)
|
|
144
|
+
|
|
145
|
+
```yaml
|
|
146
|
+
# Debug variables (careful with secrets!)
|
|
147
|
+
job:
|
|
148
|
+
script:
|
|
149
|
+
- echo "VAR exists: ${MY_VAR:+yes}"
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Expand Variables in Variables
|
|
153
|
+
|
|
154
|
+
```yaml
|
|
155
|
+
variables:
|
|
156
|
+
BASE_URL: "https://example.com"
|
|
157
|
+
API_URL: "${BASE_URL}/api" # Works
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
## Services
|
|
161
|
+
|
|
162
|
+
### "Cannot Connect to Service"
|
|
163
|
+
|
|
164
|
+
```yaml
|
|
165
|
+
test:
|
|
166
|
+
services:
|
|
167
|
+
- name: postgres:15
|
|
168
|
+
alias: db # Use 'db' as hostname
|
|
169
|
+
variables:
|
|
170
|
+
DATABASE_URL: "postgresql://postgres@db/test"
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
### Service Startup Race
|
|
174
|
+
|
|
175
|
+
```yaml
|
|
176
|
+
before_script:
|
|
177
|
+
- |
|
|
178
|
+
for i in $(seq 1 30); do
|
|
179
|
+
pg_isready -h db && break
|
|
180
|
+
sleep 1
|
|
181
|
+
done
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## Debugging
|
|
185
|
+
|
|
186
|
+
### SSH Into Runner
|
|
187
|
+
|
|
188
|
+
```yaml
|
|
189
|
+
debug:
|
|
190
|
+
script:
|
|
191
|
+
- sleep 3600 # Keep job running
|
|
192
|
+
when: manual
|
|
193
|
+
# Then SSH from GitLab UI
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Print Environment
|
|
197
|
+
|
|
198
|
+
```yaml
|
|
199
|
+
debug:
|
|
200
|
+
script:
|
|
201
|
+
- env | sort
|
|
202
|
+
- pwd
|
|
203
|
+
- ls -la
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### Check YAML Syntax
|
|
207
|
+
|
|
208
|
+
```bash
|
|
209
|
+
# Local validation
|
|
210
|
+
gitlab-ci-lint .gitlab-ci.yml
|
|
211
|
+
|
|
212
|
+
# Or use GitLab's CI Lint in pipeline editor
|
|
213
|
+
```
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: glab-cli
|
|
3
|
+
description: |
|
|
4
|
+
Use when you need glab CLI patterns for GitLab — pipeline debugging, MR management, or release
|
|
5
|
+
automation. Provides composable glab invocations for power users.
|
|
6
|
+
NOT for GitHub (use the gh-cli skill) or simple git commands (use Bash).
|
|
7
|
+
phase_relevance: ["build", "review", "operate"]
|
|
8
|
+
archetype_relevance: ["*"]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# GitLab CLI Power Utilities
|
|
12
|
+
|
|
13
|
+
Intelligent wrappers and patterns for GitLab CLI operations.
|
|
14
|
+
|
|
15
|
+
## When to Use
|
|
16
|
+
|
|
17
|
+
- Debugging failed GitLab CI/CD pipelines
|
|
18
|
+
- Managing merge requests across projects
|
|
19
|
+
- Automating releases
|
|
20
|
+
- Bulk operations on issues/MRs
|
|
21
|
+
- Project health checks
|
|
22
|
+
|
|
23
|
+
## Prerequisites
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# macOS
|
|
27
|
+
brew install glab
|
|
28
|
+
|
|
29
|
+
# Or download from https://gitlab.com/gitlab-org/cli
|
|
30
|
+
|
|
31
|
+
# Authenticate
|
|
32
|
+
glab auth login
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Core Capabilities
|
|
36
|
+
|
|
37
|
+
### 1. Pipeline Debugging
|
|
38
|
+
|
|
39
|
+
Get actionable errors from failed pipelines.
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Diagnose most recent failure
|
|
43
|
+
sh "${CLAUDE_PLUGIN_ROOT}/scripts/_python.sh" "${CLAUDE_PLUGIN_ROOT}/skills/platform/glab-cli/scripts/glab_ops.py" diagnose
|
|
44
|
+
|
|
45
|
+
# Specific project
|
|
46
|
+
sh "${CLAUDE_PLUGIN_ROOT}/scripts/_python.sh" "${CLAUDE_PLUGIN_ROOT}/skills/platform/glab-cli/scripts/glab_ops.py" diagnose --project group/project
|
|
47
|
+
|
|
48
|
+
# With suggested fixes
|
|
49
|
+
sh "${CLAUDE_PLUGIN_ROOT}/scripts/_python.sh" "${CLAUDE_PLUGIN_ROOT}/skills/platform/glab-cli/scripts/glab_ops.py" diagnose --suggest-fixes
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Output:** Job failures, error excerpts, timing info.
|
|
53
|
+
|
|
54
|
+
### 2. MR Operations
|
|
55
|
+
|
|
56
|
+
Merge request management at scale.
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
# List MRs needing review
|
|
60
|
+
sh "${CLAUDE_PLUGIN_ROOT}/scripts/_python.sh" "${CLAUDE_PLUGIN_ROOT}/skills/platform/glab-cli/scripts/glab_ops.py" mr-review-queue
|
|
61
|
+
|
|
62
|
+
# MRs ready to merge (approved + passing)
|
|
63
|
+
sh "${CLAUDE_PLUGIN_ROOT}/scripts/_python.sh" "${CLAUDE_PLUGIN_ROOT}/skills/platform/glab-cli/scripts/glab_ops.py" mr-merge-ready --dry-run
|
|
64
|
+
|
|
65
|
+
# MR health check
|
|
66
|
+
sh "${CLAUDE_PLUGIN_ROOT}/scripts/_python.sh" "${CLAUDE_PLUGIN_ROOT}/skills/platform/glab-cli/scripts/glab_ops.py" mr-status 123
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### 3. Release Automation
|
|
70
|
+
|
|
71
|
+
Create releases with changelogs.
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
# Preview release
|
|
75
|
+
sh "${CLAUDE_PLUGIN_ROOT}/scripts/_python.sh" "${CLAUDE_PLUGIN_ROOT}/skills/platform/glab-cli/scripts/glab_ops.py" release --dry-run
|
|
76
|
+
|
|
77
|
+
# Create minor release
|
|
78
|
+
sh "${CLAUDE_PLUGIN_ROOT}/scripts/_python.sh" "${CLAUDE_PLUGIN_ROOT}/skills/platform/glab-cli/scripts/glab_ops.py" release --bump minor
|
|
79
|
+
|
|
80
|
+
# With custom notes
|
|
81
|
+
sh "${CLAUDE_PLUGIN_ROOT}/scripts/_python.sh" "${CLAUDE_PLUGIN_ROOT}/skills/platform/glab-cli/scripts/glab_ops.py" release --notes "Breaking: API v2"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Quick Patterns
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# Watch pipeline
|
|
88
|
+
glab ci view --live
|
|
89
|
+
|
|
90
|
+
# Retry failed jobs
|
|
91
|
+
glab ci retry
|
|
92
|
+
|
|
93
|
+
# View job logs
|
|
94
|
+
glab ci trace <job-id>
|
|
95
|
+
|
|
96
|
+
# Create MR from current branch
|
|
97
|
+
glab mr create --fill
|
|
98
|
+
|
|
99
|
+
# Checkout MR locally
|
|
100
|
+
glab mr checkout 123
|
|
101
|
+
|
|
102
|
+
# View MR changes
|
|
103
|
+
glab mr diff 123
|
|
104
|
+
|
|
105
|
+
# Approve MR
|
|
106
|
+
glab mr approve 123
|
|
107
|
+
|
|
108
|
+
# Merge MR
|
|
109
|
+
glab mr merge 123 --squash --remove-source-branch
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## glab vs gh Quick Reference
|
|
113
|
+
|
|
114
|
+
| Task | GitHub (gh) | GitLab (glab) |
|
|
115
|
+
|------|-------------|---------------|
|
|
116
|
+
| Create PR/MR | `gh pr create` | `glab mr create` |
|
|
117
|
+
| List CI runs | `gh run list` | `glab ci list` |
|
|
118
|
+
| View CI logs | `gh run view --log` | `glab ci trace` |
|
|
119
|
+
| Watch CI | `gh run watch` | `glab ci view --live` |
|
|
120
|
+
| Retry CI | `gh run rerun --failed` | `glab ci retry` |
|
|
121
|
+
| Checkout PR/MR | `gh pr checkout 123` | `glab mr checkout 123` |
|
|
122
|
+
|
|
123
|
+
## Integration
|
|
124
|
+
|
|
125
|
+
Works with:
|
|
126
|
+
- **wicked-garden:search**: Find code, create issues via glab
|
|
127
|
+
- **Native tasks**: Track MR status alongside tasks via TaskUpdate description appends
|
|
128
|
+
|
|
129
|
+
## References
|
|
130
|
+
|
|
131
|
+
- `refs/glab-ops.md` - Full script documentation
|
|
132
|
+
- `refs/patterns.md` - Common workflow patterns
|
|
133
|
+
- `refs/ci-debugging.md` - Pipeline troubleshooting
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
---
|
|
2
|
+
phase_relevance: ["build", "review", "operate"]
|
|
3
|
+
archetype_relevance: ["*"]
|
|
4
|
+
---
|
|
5
|
+
# GitLab CI Pipeline Debugging
|
|
6
|
+
|
|
7
|
+
Quick reference for debugging GitLab CI/CD failures.
|
|
8
|
+
|
|
9
|
+
## Common Issues
|
|
10
|
+
|
|
11
|
+
### Pipeline Stuck Pending
|
|
12
|
+
|
|
13
|
+
1. Check runner availability: Settings > CI/CD > Runners
|
|
14
|
+
2. Verify runner tags match job tags
|
|
15
|
+
3. Check concurrent job limits
|
|
16
|
+
|
|
17
|
+
### Job Timeout
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
job:
|
|
21
|
+
timeout: 2h # Increase if needed
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Cache Not Restoring
|
|
25
|
+
|
|
26
|
+
```yaml
|
|
27
|
+
cache:
|
|
28
|
+
key: ${CI_COMMIT_REF_SLUG} # Check key format
|
|
29
|
+
paths:
|
|
30
|
+
- node_modules/
|
|
31
|
+
policy: pull-push # Ensure writing enabled
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Variables Not Available
|
|
35
|
+
|
|
36
|
+
Protected variables only work on protected branches. Check:
|
|
37
|
+
- Settings > CI/CD > Variables > Protected checkbox
|
|
38
|
+
- Settings > Repository > Protected branches
|
|
39
|
+
|
|
40
|
+
## Debug Techniques
|
|
41
|
+
|
|
42
|
+
### Print Environment
|
|
43
|
+
|
|
44
|
+
```yaml
|
|
45
|
+
debug:
|
|
46
|
+
script:
|
|
47
|
+
- env | sort
|
|
48
|
+
- echo $CI_JOB_TOKEN | wc -c # Check token exists
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Keep Job Running
|
|
52
|
+
|
|
53
|
+
```yaml
|
|
54
|
+
debug:
|
|
55
|
+
script:
|
|
56
|
+
- sleep 3600
|
|
57
|
+
when: manual
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Validate YAML
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# Local
|
|
64
|
+
gitlab-ci-lint .gitlab-ci.yml
|
|
65
|
+
|
|
66
|
+
# Or use CI/CD > Editor > Validate
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Using glab CLI
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# List pipelines
|
|
73
|
+
glab ci list
|
|
74
|
+
|
|
75
|
+
# View specific pipeline
|
|
76
|
+
glab ci view <id>
|
|
77
|
+
|
|
78
|
+
# Watch live
|
|
79
|
+
glab ci view --live
|
|
80
|
+
|
|
81
|
+
# Get job logs
|
|
82
|
+
glab ci trace <job-id>
|
|
83
|
+
|
|
84
|
+
# Retry failed
|
|
85
|
+
glab ci retry
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Common Error Patterns
|
|
89
|
+
|
|
90
|
+
| Error | Cause | Fix |
|
|
91
|
+
|-------|-------|-----|
|
|
92
|
+
| "No runner available" | Tag mismatch | Check job tags |
|
|
93
|
+
| "Job failed: exit code 1" | Script error | Check logs |
|
|
94
|
+
| "Artifact too large" | Size limit | Set expire_in |
|
|
95
|
+
| "Variable not found" | Protected var | Check protection |
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
phase_relevance: ["build", "review", "operate"]
|
|
3
|
+
archetype_relevance: ["*"]
|
|
4
|
+
---
|
|
5
|
+
# glab_ops.py Reference
|
|
6
|
+
|
|
7
|
+
GitLab operations CLI with intelligent features.
|
|
8
|
+
|
|
9
|
+
## Commands
|
|
10
|
+
|
|
11
|
+
### diagnose
|
|
12
|
+
|
|
13
|
+
Analyze failed pipelines with categorized errors.
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
python3 glab_ops.py diagnose
|
|
17
|
+
python3 glab_ops.py diagnose --project group/project
|
|
18
|
+
python3 glab_ops.py diagnose --suggest-fixes
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
**Error categories:**
|
|
22
|
+
- npm/node dependency issues
|
|
23
|
+
- Python import errors
|
|
24
|
+
- Rust compilation errors
|
|
25
|
+
- Resource limits
|
|
26
|
+
- Network issues
|
|
27
|
+
|
|
28
|
+
### mr-review-queue
|
|
29
|
+
|
|
30
|
+
List MRs requesting your review.
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
python3 glab_ops.py mr-review-queue
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### mr-merge-ready
|
|
37
|
+
|
|
38
|
+
Find MRs approved and passing CI.
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
python3 glab_ops.py mr-merge-ready --dry-run
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### mr-status
|
|
45
|
+
|
|
46
|
+
Get MR details.
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
python3 glab_ops.py mr-status 123
|
|
50
|
+
python3 glab_ops.py mr-status 123 --project group/name
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### release
|
|
54
|
+
|
|
55
|
+
Create release with changelog.
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
# Preview
|
|
59
|
+
python3 glab_ops.py release --dry-run
|
|
60
|
+
|
|
61
|
+
# Create
|
|
62
|
+
python3 glab_ops.py release --bump minor
|
|
63
|
+
|
|
64
|
+
# With notes
|
|
65
|
+
python3 glab_ops.py release --notes "Breaking change"
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Output Format
|
|
69
|
+
|
|
70
|
+
All commands output JSON:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
# Pretty print
|
|
74
|
+
python3 glab_ops.py diagnose | jq '.'
|
|
75
|
+
|
|
76
|
+
# Extract errors
|
|
77
|
+
python3 glab_ops.py diagnose | jq '.errors[].message'
|
|
78
|
+
```
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
---
|
|
2
|
+
phase_relevance: ["build", "review", "operate"]
|
|
3
|
+
archetype_relevance: ["*"]
|
|
4
|
+
---
|
|
5
|
+
# Common glab CLI Patterns
|
|
6
|
+
|
|
7
|
+
Quick reference for GitLab CLI operations.
|
|
8
|
+
|
|
9
|
+
## Pipeline Operations
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
# List recent pipelines
|
|
13
|
+
glab ci list
|
|
14
|
+
|
|
15
|
+
# View pipeline details
|
|
16
|
+
glab ci view <pipeline-id>
|
|
17
|
+
|
|
18
|
+
# Watch pipeline live
|
|
19
|
+
glab ci view --live
|
|
20
|
+
|
|
21
|
+
# View job logs
|
|
22
|
+
glab ci trace <job-id>
|
|
23
|
+
|
|
24
|
+
# Retry failed jobs
|
|
25
|
+
glab ci retry
|
|
26
|
+
|
|
27
|
+
# Cancel pipeline
|
|
28
|
+
glab ci delete <pipeline-id>
|
|
29
|
+
|
|
30
|
+
# Trigger manual job
|
|
31
|
+
glab ci run
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Merge Requests
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Create MR with auto-fill
|
|
38
|
+
glab mr create --fill
|
|
39
|
+
|
|
40
|
+
# Create draft MR
|
|
41
|
+
glab mr create --draft
|
|
42
|
+
|
|
43
|
+
# Checkout MR locally
|
|
44
|
+
glab mr checkout 123
|
|
45
|
+
|
|
46
|
+
# View MR changes
|
|
47
|
+
glab mr diff 123
|
|
48
|
+
|
|
49
|
+
# Approve MR
|
|
50
|
+
glab mr approve 123
|
|
51
|
+
|
|
52
|
+
# Merge MR
|
|
53
|
+
glab mr merge 123 --squash --remove-source-branch
|
|
54
|
+
|
|
55
|
+
# List open MRs
|
|
56
|
+
glab mr list --state=opened
|
|
57
|
+
|
|
58
|
+
# MRs assigned to me
|
|
59
|
+
glab mr list --assignee=@me
|
|
60
|
+
|
|
61
|
+
# MRs I need to review
|
|
62
|
+
glab mr list --reviewer=@me
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Issues
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
# Create issue
|
|
69
|
+
glab issue create --title "Bug" --description "Details"
|
|
70
|
+
|
|
71
|
+
# Close issue
|
|
72
|
+
glab issue close 123
|
|
73
|
+
|
|
74
|
+
# List open issues
|
|
75
|
+
glab issue list --state=opened
|
|
76
|
+
|
|
77
|
+
# Issues assigned to me
|
|
78
|
+
glab issue list --assignee=@me
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Releases
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
# List releases
|
|
85
|
+
glab release list
|
|
86
|
+
|
|
87
|
+
# Create release
|
|
88
|
+
glab release create v1.0.0 --notes "Release notes"
|
|
89
|
+
|
|
90
|
+
# Upload assets
|
|
91
|
+
glab release upload v1.0.0 ./dist/*
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Project
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
# Clone project
|
|
98
|
+
glab repo clone group/project
|
|
99
|
+
|
|
100
|
+
# Fork project
|
|
101
|
+
glab repo fork group/project
|
|
102
|
+
|
|
103
|
+
# View project info
|
|
104
|
+
glab repo view
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## Authentication
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
# Login
|
|
111
|
+
glab auth login
|
|
112
|
+
|
|
113
|
+
# Check status
|
|
114
|
+
glab auth status
|
|
115
|
+
|
|
116
|
+
# List configured hosts
|
|
117
|
+
glab config get host
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## API Access
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
# GET request
|
|
124
|
+
glab api projects/:id
|
|
125
|
+
|
|
126
|
+
# POST request
|
|
127
|
+
glab api projects/:id/issues -X POST -f title="Bug"
|
|
128
|
+
|
|
129
|
+
# With JQ filter
|
|
130
|
+
glab api projects/:id --jq '.name'
|
|
131
|
+
```
|