opencode-skills-collection 4.0.67 → 4.0.69
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/bundled-skills/.antigravity-install-manifest.json +281 -1
- package/bundled-skills/access-review/SKILL.md +394 -0
- package/bundled-skills/access-review/references/details.md +121 -0
- package/bundled-skills/agent-evals/SKILL.md +420 -0
- package/bundled-skills/agent-observability/SKILL.md +346 -0
- package/bundled-skills/agent-observability/references/details.md +786 -0
- package/bundled-skills/ai-agent-security/SKILL.md +393 -0
- package/bundled-skills/ai-agent-security/references/details.md +912 -0
- package/bundled-skills/ai-coding-agent-guardrails/SKILL.md +442 -0
- package/bundled-skills/ai-coding-agent-guardrails/references/details.md +753 -0
- package/bundled-skills/ai-inference-service-mesh/SKILL.md +449 -0
- package/bundled-skills/ai-pipeline-orchestration/SKILL.md +287 -0
- package/bundled-skills/ai-red-teaming/SKILL.md +409 -0
- package/bundled-skills/ai-security-hardening/SKILL.md +343 -0
- package/bundled-skills/ai-sre-incident-response/SKILL.md +336 -0
- package/bundled-skills/alerting-oncall/SKILL.md +458 -0
- package/bundled-skills/alerting-oncall/references/details.md +84 -0
- package/bundled-skills/anti-slop-design/SKILL.md +393 -0
- package/bundled-skills/antigravity-maintainer-batch-release/SKILL.md +1 -0
- package/bundled-skills/apk-redteam-pipeline/SKILL.md +446 -0
- package/bundled-skills/argocd-gitops/SKILL.md +469 -0
- package/bundled-skills/arm-templates/SKILL.md +438 -0
- package/bundled-skills/arm-templates/references/details.md +64 -0
- package/bundled-skills/artifact-yylo/SKILL.md +122 -0
- package/bundled-skills/asset-inventory/SKILL.md +412 -0
- package/bundled-skills/asset-inventory/references/details.md +127 -0
- package/bundled-skills/audit-logging/SKILL.md +476 -0
- package/bundled-skills/aws-cloudtrail/SKILL.md +486 -0
- package/bundled-skills/aws-cost-optimization/SKILL.md +331 -0
- package/bundled-skills/aws-ec2/SKILL.md +426 -0
- package/bundled-skills/aws-ecs-fargate/SKILL.md +388 -0
- package/bundled-skills/aws-iam/SKILL.md +463 -0
- package/bundled-skills/aws-lambda/SKILL.md +428 -0
- package/bundled-skills/aws-rds/SKILL.md +380 -0
- package/bundled-skills/aws-s3/SKILL.md +434 -0
- package/bundled-skills/aws-secrets-manager/SKILL.md +486 -0
- package/bundled-skills/aws-vpc/SKILL.md +436 -0
- package/bundled-skills/azure-ai-document-intelligence-ts/SKILL.md +1 -1
- package/bundled-skills/azure-aks/SKILL.md +423 -0
- package/bundled-skills/azure-devops/SKILL.md +457 -0
- package/bundled-skills/azure-functions-devsec/SKILL.md +436 -0
- package/bundled-skills/azure-keyvault/SKILL.md +455 -0
- package/bundled-skills/azure-keyvault/references/details.md +83 -0
- package/bundled-skills/azure-monitor-audit/SKILL.md +379 -0
- package/bundled-skills/azure-networking/SKILL.md +448 -0
- package/bundled-skills/azure-networking/references/details.md +135 -0
- package/bundled-skills/azure-sql/SKILL.md +413 -0
- package/bundled-skills/azure-sql/references/details.md +113 -0
- package/bundled-skills/azure-vms/SKILL.md +402 -0
- package/bundled-skills/azure-vms/references/details.md +134 -0
- package/bundled-skills/backup-recovery/SKILL.md +388 -0
- package/bundled-skills/bb-methodology/SKILL.md +451 -0
- package/bundled-skills/bb-methodology/references/details.md +120 -0
- package/bundled-skills/block-storage/SKILL.md +371 -0
- package/bundled-skills/blue-green-deploy/SKILL.md +453 -0
- package/bundled-skills/blue-green-deploy/references/details.md +90 -0
- package/bundled-skills/bug-bounty/SKILL.md +447 -0
- package/bundled-skills/bug-bounty/references/details.md +1316 -0
- package/bundled-skills/bugcrowd-reporting/SKILL.md +351 -0
- package/bundled-skills/business-continuity/SKILL.md +463 -0
- package/bundled-skills/career-ops/SKILL.md +186 -0
- package/bundled-skills/cdn-setup/SKILL.md +374 -0
- package/bundled-skills/change-management/SKILL.md +438 -0
- package/bundled-skills/change-management/references/details.md +105 -0
- package/bundled-skills/circleci/SKILL.md +475 -0
- package/bundled-skills/cis-benchmarks/SKILL.md +150 -0
- package/bundled-skills/cloudflare-pages/SKILL.md +318 -0
- package/bundled-skills/cloudflare-r2/SKILL.md +353 -0
- package/bundled-skills/cloudflare-workers/SKILL.md +415 -0
- package/bundled-skills/cloudflare-zero-trust/SKILL.md +361 -0
- package/bundled-skills/cloudformation/SKILL.md +461 -0
- package/bundled-skills/constraint-driven-development/SKILL.md +335 -0
- package/bundled-skills/constraint-driven-development/references/floor-guard.md +99 -0
- package/bundled-skills/container-hardening/SKILL.md +126 -0
- package/bundled-skills/container-registries/SKILL.md +435 -0
- package/bundled-skills/container-scanning/SKILL.md +416 -0
- package/bundled-skills/convex-backend/SKILL.md +338 -0
- package/bundled-skills/dast-scanning/SKILL.md +437 -0
- package/bundled-skills/database-backups/SKILL.md +425 -0
- package/bundled-skills/datadog/SKILL.md +487 -0
- package/bundled-skills/dependency-scanning/SKILL.md +457 -0
- package/bundled-skills/devcontainers-nix/SKILL.md +416 -0
- package/bundled-skills/disaster-recovery/SKILL.md +374 -0
- package/bundled-skills/disaster-recovery/references/details.md +219 -0
- package/bundled-skills/dns-management/SKILL.md +375 -0
- package/bundled-skills/docker-compose/SKILL.md +482 -0
- package/bundled-skills/docker-management/SKILL.md +426 -0
- package/bundled-skills/ebpf-observability/SKILL.md +436 -0
- package/bundled-skills/ebpf-observability/references/details.md +542 -0
- package/bundled-skills/elk-stack/SKILL.md +487 -0
- package/bundled-skills/enterprise-vpn-attack/SKILL.md +395 -0
- package/bundled-skills/evidence-hygiene/SKILL.md +404 -0
- package/bundled-skills/feature-flags/SKILL.md +426 -0
- package/bundled-skills/feature-flags/references/details.md +86 -0
- package/bundled-skills/fedramp-compliance/SKILL.md +453 -0
- package/bundled-skills/firebase-app-platform/SKILL.md +381 -0
- package/bundled-skills/firewall-config/SKILL.md +479 -0
- package/bundled-skills/gcp-audit-logs/SKILL.md +452 -0
- package/bundled-skills/gcp-audit-logs/references/details.md +56 -0
- package/bundled-skills/gcp-cloud-functions/SKILL.md +284 -0
- package/bundled-skills/gcp-cloud-sql/SKILL.md +277 -0
- package/bundled-skills/gcp-compute/SKILL.md +319 -0
- package/bundled-skills/gcp-gke/SKILL.md +307 -0
- package/bundled-skills/gcp-networking/SKILL.md +293 -0
- package/bundled-skills/gcp-secret-manager/SKILL.md +421 -0
- package/bundled-skills/gcp-secret-manager/references/details.md +131 -0
- package/bundled-skills/gdpr-compliance/SKILL.md +451 -0
- package/bundled-skills/gdpr-compliance/references/details.md +145 -0
- package/bundled-skills/geo-audit/SKILL.md +368 -0
- package/bundled-skills/geo-brand-mentions/SKILL.md +68 -0
- package/bundled-skills/geo-brand-mentions/references/details.md +471 -0
- package/bundled-skills/geo-citability/SKILL.md +350 -0
- package/bundled-skills/geo-compare/SKILL.md +340 -0
- package/bundled-skills/geo-content/SKILL.md +383 -0
- package/bundled-skills/geo-crawlers/SKILL.md +408 -0
- package/bundled-skills/geo-llmstxt/SKILL.md +464 -0
- package/bundled-skills/geo-platform-optimizer/SKILL.md +314 -0
- package/bundled-skills/geo-proposal/SKILL.md +378 -0
- package/bundled-skills/geo-prospect/SKILL.md +225 -0
- package/bundled-skills/geo-report/SKILL.md +436 -0
- package/bundled-skills/geo-report-pdf/SKILL.md +157 -0
- package/bundled-skills/geo-schema/SKILL.md +408 -0
- package/bundled-skills/geo-technical/SKILL.md +78 -0
- package/bundled-skills/geo-technical/references/details.md +543 -0
- package/bundled-skills/git-workflow/SKILL.md +460 -0
- package/bundled-skills/github-actions/SKILL.md +368 -0
- package/bundled-skills/gitlab-ci/SKILL.md +340 -0
- package/bundled-skills/google-no-code/SKILL.md +136 -0
- package/bundled-skills/gpu-kubernetes-operations/SKILL.md +468 -0
- package/bundled-skills/gpu-server-management/SKILL.md +236 -0
- package/bundled-skills/hashicorp-vault/SKILL.md +408 -0
- package/bundled-skills/helm-charts/SKILL.md +469 -0
- package/bundled-skills/hipaa-compliance/SKILL.md +451 -0
- package/bundled-skills/hunt-aspnet/SKILL.md +321 -0
- package/bundled-skills/hunt-ato/SKILL.md +184 -0
- package/bundled-skills/hunt-auth-bypass/SKILL.md +426 -0
- package/bundled-skills/hunt-auth-bypass/references/details.md +80 -0
- package/bundled-skills/hunt-brute-force/SKILL.md +341 -0
- package/bundled-skills/hunt-business-logic/SKILL.md +281 -0
- package/bundled-skills/hunt-cache-poison/SKILL.md +382 -0
- package/bundled-skills/hunt-captcha-bypass/SKILL.md +136 -0
- package/bundled-skills/hunt-cicd/SKILL.md +311 -0
- package/bundled-skills/hunt-clickjacking/SKILL.md +110 -0
- package/bundled-skills/hunt-cors/SKILL.md +335 -0
- package/bundled-skills/hunt-dom/SKILL.md +323 -0
- package/bundled-skills/hunt-exceptional-conditions/SKILL.md +111 -0
- package/bundled-skills/hunt-file-upload/SKILL.md +202 -0
- package/bundled-skills/hunt-fintech-graphql/SKILL.md +289 -0
- package/bundled-skills/hunt-forgot-password/SKILL.md +114 -0
- package/bundled-skills/hunt-grpc/SKILL.md +317 -0
- package/bundled-skills/hunt-host-header/SKILL.md +309 -0
- package/bundled-skills/hunt-html-injection/SKILL.md +106 -0
- package/bundled-skills/hunt-http-smuggling/SKILL.md +129 -0
- package/bundled-skills/hunt-http-smuggling/references/phase2h-smuggling-cachepoison.md +177 -0
- package/bundled-skills/hunt-idor/SKILL.md +434 -0
- package/bundled-skills/hunt-jwt-crypto/SKILL.md +221 -0
- package/bundled-skills/hunt-k8s/SKILL.md +337 -0
- package/bundled-skills/hunt-laravel/SKILL.md +255 -0
- package/bundled-skills/hunt-ldap/SKILL.md +351 -0
- package/bundled-skills/hunt-lfi/SKILL.md +311 -0
- package/bundled-skills/hunt-llm-ai/SKILL.md +289 -0
- package/bundled-skills/hunt-mfa-bypass/SKILL.md +177 -0
- package/bundled-skills/hunt-misc/SKILL.md +378 -0
- package/bundled-skills/hunt-nextjs/SKILL.md +299 -0
- package/bundled-skills/hunt-nodejs/SKILL.md +263 -0
- package/bundled-skills/hunt-nosqli/SKILL.md +210 -0
- package/bundled-skills/hunt-ntlm-info/SKILL.md +314 -0
- package/bundled-skills/hunt-oauth/SKILL.md +459 -0
- package/bundled-skills/hunt-open-redirect/SKILL.md +223 -0
- package/bundled-skills/hunt-race-condition/SKILL.md +381 -0
- package/bundled-skills/hunt-race-condition/references/details.md +159 -0
- package/bundled-skills/hunt-rag-vector/SKILL.md +212 -0
- package/bundled-skills/hunt-rce/SKILL.md +444 -0
- package/bundled-skills/hunt-rce/references/details.md +110 -0
- package/bundled-skills/hunt-saml/SKILL.md +156 -0
- package/bundled-skills/hunt-session/SKILL.md +342 -0
- package/bundled-skills/hunt-shadow-api/SKILL.md +198 -0
- package/bundled-skills/hunt-source-leak/SKILL.md +345 -0
- package/bundled-skills/hunt-spa-api/SKILL.md +163 -0
- package/bundled-skills/hunt-springboot/SKILL.md +285 -0
- package/bundled-skills/hunt-sqli/SKILL.md +466 -0
- package/bundled-skills/hunt-ssrf/SKILL.md +396 -0
- package/bundled-skills/hunt-ssrf/references/details.md +179 -0
- package/bundled-skills/hunt-ssti/SKILL.md +163 -0
- package/bundled-skills/hunt-subdomain/SKILL.md +379 -0
- package/bundled-skills/hunt-tls-network/SKILL.md +399 -0
- package/bundled-skills/hunt-xxe/SKILL.md +466 -0
- package/bundled-skills/i-have-adhd/SKILL.md +170 -0
- package/bundled-skills/idea-evaluator/SKILL.md +75 -0
- package/bundled-skills/idea-evaluator/idea-evaluator-con/SKILL.md +64 -0
- package/bundled-skills/idea-evaluator/idea-evaluator-pro/SKILL.md +64 -0
- package/bundled-skills/identity-access-management/SKILL.md +382 -0
- package/bundled-skills/identity-access-management/references/details.md +524 -0
- package/bundled-skills/incident-management/SKILL.md +484 -0
- package/bundled-skills/incident-response/SKILL.md +448 -0
- package/bundled-skills/incident-response/references/details.md +113 -0
- package/bundled-skills/interview-me/SKILL.md +248 -0
- package/bundled-skills/iso27001-compliance/SKILL.md +460 -0
- package/bundled-skills/jenkins/SKILL.md +462 -0
- package/bundled-skills/jev-use/SKILL.md +158 -0
- package/bundled-skills/kubernetes-hardening/SKILL.md +154 -0
- package/bundled-skills/kubernetes-ops/SKILL.md +449 -0
- package/bundled-skills/kubernetes-ops/references/details.md +108 -0
- package/bundled-skills/kustomize/SKILL.md +478 -0
- package/bundled-skills/ledger-tasks-yylo/SKILL.md +219 -0
- package/bundled-skills/linux-administration/SKILL.md +367 -0
- package/bundled-skills/linux-hardening/SKILL.md +154 -0
- package/bundled-skills/llm-app-security/SKILL.md +389 -0
- package/bundled-skills/llm-app-security/references/details.md +674 -0
- package/bundled-skills/llm-caching/SKILL.md +334 -0
- package/bundled-skills/llm-cost-optimization/SKILL.md +311 -0
- package/bundled-skills/llm-fine-tuning/SKILL.md +329 -0
- package/bundled-skills/llm-gateway/SKILL.md +282 -0
- package/bundled-skills/llm-inference-scaling/SKILL.md +286 -0
- package/bundled-skills/llmops-platform-engineering/SKILL.md +472 -0
- package/bundled-skills/load-balancing/SKILL.md +403 -0
- package/bundled-skills/loki-logging/SKILL.md +479 -0
- package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package-lock.json +4 -4
- package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package.json +1 -1
- package/bundled-skills/m365-entra-attack/SKILL.md +423 -0
- package/bundled-skills/mac-mini-llm-lab/SKILL.md +350 -0
- package/bundled-skills/mcp-server-security/SKILL.md +356 -0
- package/bundled-skills/mcp-server-security/references/details.md +745 -0
- package/bundled-skills/mdm-device-management/SKILL.md +404 -0
- package/bundled-skills/mdm-device-management/references/details.md +410 -0
- package/bundled-skills/meme-coin-audit/SKILL.md +402 -0
- package/bundled-skills/mid-engagement-ir-detection/SKILL.md +377 -0
- package/bundled-skills/model-registry-governance/SKILL.md +452 -0
- package/bundled-skills/model-serving-kubernetes/SKILL.md +339 -0
- package/bundled-skills/model-supply-chain-security/SKILL.md +427 -0
- package/bundled-skills/mongodb/SKILL.md +436 -0
- package/bundled-skills/multi-tenant-llm-hosting/SKILL.md +435 -0
- package/bundled-skills/multi-tenant-llm-hosting/references/details.md +211 -0
- package/bundled-skills/mysql/SKILL.md +390 -0
- package/bundled-skills/new-relic/SKILL.md +472 -0
- package/bundled-skills/nfs-storage/SKILL.md +356 -0
- package/bundled-skills/object-storage/SKILL.md +378 -0
- package/bundled-skills/offensive-osint/SKILL.md +443 -0
- package/bundled-skills/okta-attack/SKILL.md +436 -0
- package/bundled-skills/ollama-stack/SKILL.md +379 -0
- package/bundled-skills/openclaw-deployment-hardening/SKILL.md +135 -0
- package/bundled-skills/openclaw-local-mac-mini/SKILL.md +426 -0
- package/bundled-skills/openclaw-local-mac-mini/references/details.md +221 -0
- package/bundled-skills/openclaw-security-hardening/SKILL.md +135 -0
- package/bundled-skills/openshift/SKILL.md +485 -0
- package/bundled-skills/opentelemetry/SKILL.md +438 -0
- package/bundled-skills/opentelemetry/references/details.md +78 -0
- package/bundled-skills/opentofu-migration/SKILL.md +349 -0
- package/bundled-skills/osint-methodology/SKILL.md +460 -0
- package/bundled-skills/osint-methodology/references/details.md +1350 -0
- package/bundled-skills/pci-dss-compliance/SKILL.md +446 -0
- package/bundled-skills/penetration-testing/SKILL.md +152 -0
- package/bundled-skills/performance-tuning/SKILL.md +381 -0
- package/bundled-skills/plan-ledger-tasks-yylo/SKILL.md +52 -0
- package/bundled-skills/planetscale/SKILL.md +297 -0
- package/bundled-skills/platform-engineering/SKILL.md +348 -0
- package/bundled-skills/platform-engineering/references/details.md +944 -0
- package/bundled-skills/podman/SKILL.md +405 -0
- package/bundled-skills/policy-as-code/SKILL.md +434 -0
- package/bundled-skills/policy-as-code/references/details.md +204 -0
- package/bundled-skills/postgresql-devsec/SKILL.md +378 -0
- package/bundled-skills/prometheus-grafana/SKILL.md +469 -0
- package/bundled-skills/prompt-injection-defense/SKILL.md +483 -0
- package/bundled-skills/rag-infrastructure/SKILL.md +269 -0
- package/bundled-skills/rag-observability-evals/SKILL.md +444 -0
- package/bundled-skills/rag-observability-evals/references/details.md +92 -0
- package/bundled-skills/ralph-loop-yylo/SKILL.md +55 -0
- package/bundled-skills/ralph-loop-yylo/references/first_check.md +18 -0
- package/bundled-skills/ralph-loop-yylo/references/implement.md +60 -0
- package/bundled-skills/recon-scope-triage/SKILL.md +128 -0
- package/bundled-skills/redis/SKILL.md +421 -0
- package/bundled-skills/redteam-report-template/SKILL.md +370 -0
- package/bundled-skills/report-writing/SKILL.md +426 -0
- package/bundled-skills/report-writing/references/details.md +187 -0
- package/bundled-skills/resumable-implementation-contracts/SKILL.md +254 -0
- package/bundled-skills/reverse-proxy/SKILL.md +420 -0
- package/bundled-skills/runbook-creation/SKILL.md +438 -0
- package/bundled-skills/runbook-creation/references/details.md +71 -0
- package/bundled-skills/saas-security-posture/SKILL.md +415 -0
- package/bundled-skills/sast-scanning/SKILL.md +444 -0
- package/bundled-skills/sbom-supply-chain/SKILL.md +433 -0
- package/bundled-skills/security-arsenal/SKILL.md +446 -0
- package/bundled-skills/security-arsenal/references/details.md +540 -0
- package/bundled-skills/security-automation/SKILL.md +146 -0
- package/bundled-skills/semantic-versioning/SKILL.md +434 -0
- package/bundled-skills/semantic-versioning/references/details.md +83 -0
- package/bundled-skills/service-mesh/SKILL.md +422 -0
- package/bundled-skills/soc2-compliance/SKILL.md +409 -0
- package/bundled-skills/sops-encryption/SKILL.md +124 -0
- package/bundled-skills/sre-dashboards/SKILL.md +143 -0
- package/bundled-skills/ssh-configuration/SKILL.md +324 -0
- package/bundled-skills/ssl-tls-management/SKILL.md +428 -0
- package/bundled-skills/ssl-tls-management/references/details.md +99 -0
- package/bundled-skills/startup-it-troubleshooting/SKILL.md +415 -0
- package/bundled-skills/supply-chain-attack-recon/SKILL.md +453 -0
- package/bundled-skills/supply-chain-attack-recon/references/details.md +258 -0
- package/bundled-skills/systemd-services/SKILL.md +379 -0
- package/bundled-skills/terraform-aws/SKILL.md +125 -0
- package/bundled-skills/terraform-azure/SKILL.md +415 -0
- package/bundled-skills/terraform-azure/references/details.md +231 -0
- package/bundled-skills/terraform-gcp/SKILL.md +369 -0
- package/bundled-skills/threat-modeling/SKILL.md +487 -0
- package/bundled-skills/understand-project-yylo/SKILL.md +62 -0
- package/bundled-skills/user-management/SKILL.md +383 -0
- package/bundled-skills/using-agent-skills/SKILL.md +220 -0
- package/bundled-skills/vector-database-ops/SKILL.md +300 -0
- package/bundled-skills/vendor-management/SKILL.md +439 -0
- package/bundled-skills/vendor-management/references/details.md +109 -0
- package/bundled-skills/vercel-deployments/SKILL.md +296 -0
- package/bundled-skills/vllm-server/SKILL.md +236 -0
- package/bundled-skills/vmware-vcenter-attack/SKILL.md +412 -0
- package/bundled-skills/vpn-setup/SKILL.md +452 -0
- package/bundled-skills/vulnerability-scanning/SKILL.md +448 -0
- package/bundled-skills/waf-setup/SKILL.md +354 -0
- package/bundled-skills/waf-setup/references/details.md +211 -0
- package/bundled-skills/weather-model-data-fetching/SKILL.md +277 -0
- package/bundled-skills/weather-observation-fetching/SKILL.md +246 -0
- package/bundled-skills/web2-recon/SKILL.md +440 -0
- package/bundled-skills/web2-recon/references/details.md +319 -0
- package/bundled-skills/web3-audit/SKILL.md +445 -0
- package/bundled-skills/web3-audit/references/details.md +224 -0
- package/bundled-skills/wiki-yylo/SKILL.md +114 -0
- package/bundled-skills/windows-hardening/SKILL.md +454 -0
- package/bundled-skills/windows-hardening/references/details.md +204 -0
- package/bundled-skills/windows-server/SKILL.md +318 -0
- package/bundled-skills/workflow-yylo/SKILL.md +107 -0
- package/bundled-skills/zero-trust/SKILL.md +461 -0
- package/package.json +1 -1
- package/skills_index.json +6924 -0
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kustomize
|
|
3
|
+
description: Customize Kubernetes manifests without templating using Kustomize.
|
|
4
|
+
category: devops
|
|
5
|
+
risk: critical
|
|
6
|
+
source: https://github.com/BagelHole/DevOps-Security-Agent-Skills
|
|
7
|
+
source_repo: BagelHole/DevOps-Security-Agent-Skills
|
|
8
|
+
source_type: community
|
|
9
|
+
date_added: '2026-09-20'
|
|
10
|
+
license: MIT
|
|
11
|
+
license_source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/blob/main/LICENSE
|
|
12
|
+
compatibility: Requires the relevant platform CLIs (kubectl, helm, terraform, git,
|
|
13
|
+
CI runners) and authorized access to the target environment. Docs-only; helper scripts
|
|
14
|
+
and templates not bundled.
|
|
15
|
+
metadata:
|
|
16
|
+
author: devops-skills
|
|
17
|
+
version: '1.0'
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Kustomize
|
|
21
|
+
|
|
22
|
+
Customize Kubernetes resources declaratively without templating.
|
|
23
|
+
|
|
24
|
+
## When to Use This Skill
|
|
25
|
+
|
|
26
|
+
Use this skill when:
|
|
27
|
+
- Managing Kubernetes configs across environments
|
|
28
|
+
- Patching existing manifests without modification
|
|
29
|
+
- Creating configuration variants from bases
|
|
30
|
+
- Customizing third-party manifests
|
|
31
|
+
- Preferring declarative over templating approach
|
|
32
|
+
|
|
33
|
+
## Prerequisites
|
|
34
|
+
|
|
35
|
+
- kubectl 1.14+ (includes kustomize)
|
|
36
|
+
- Or standalone kustomize CLI
|
|
37
|
+
- Basic Kubernetes manifest knowledge
|
|
38
|
+
|
|
39
|
+
## Directory Structure
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
myapp/
|
|
43
|
+
├── base/
|
|
44
|
+
│ ├── kustomization.yaml
|
|
45
|
+
│ ├── deployment.yaml
|
|
46
|
+
│ ├── service.yaml
|
|
47
|
+
│ └── configmap.yaml
|
|
48
|
+
└── overlays/
|
|
49
|
+
├── development/
|
|
50
|
+
│ ├── kustomization.yaml
|
|
51
|
+
│ └── replica-patch.yaml
|
|
52
|
+
├── staging/
|
|
53
|
+
│ ├── kustomization.yaml
|
|
54
|
+
│ └── namespace.yaml
|
|
55
|
+
└── production/
|
|
56
|
+
├── kustomization.yaml
|
|
57
|
+
├── replica-patch.yaml
|
|
58
|
+
└── resource-patch.yaml
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Base Configuration
|
|
62
|
+
|
|
63
|
+
### kustomization.yaml
|
|
64
|
+
|
|
65
|
+
```yaml
|
|
66
|
+
# base/kustomization.yaml
|
|
67
|
+
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
68
|
+
kind: Kustomization
|
|
69
|
+
|
|
70
|
+
resources:
|
|
71
|
+
- deployment.yaml
|
|
72
|
+
- service.yaml
|
|
73
|
+
- configmap.yaml
|
|
74
|
+
|
|
75
|
+
commonLabels:
|
|
76
|
+
app: myapp
|
|
77
|
+
|
|
78
|
+
commonAnnotations:
|
|
79
|
+
managed-by: kustomize
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Base Resources
|
|
83
|
+
|
|
84
|
+
```yaml
|
|
85
|
+
# base/deployment.yaml
|
|
86
|
+
apiVersion: apps/v1
|
|
87
|
+
kind: Deployment
|
|
88
|
+
metadata:
|
|
89
|
+
name: myapp
|
|
90
|
+
spec:
|
|
91
|
+
replicas: 1
|
|
92
|
+
selector:
|
|
93
|
+
matchLabels:
|
|
94
|
+
app: myapp
|
|
95
|
+
template:
|
|
96
|
+
metadata:
|
|
97
|
+
labels:
|
|
98
|
+
app: myapp
|
|
99
|
+
spec:
|
|
100
|
+
containers:
|
|
101
|
+
- name: myapp
|
|
102
|
+
image: myapp:latest
|
|
103
|
+
ports:
|
|
104
|
+
- containerPort: 8080
|
|
105
|
+
resources:
|
|
106
|
+
requests:
|
|
107
|
+
memory: "64Mi"
|
|
108
|
+
cpu: "100m"
|
|
109
|
+
limits:
|
|
110
|
+
memory: "128Mi"
|
|
111
|
+
cpu: "200m"
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Overlays
|
|
115
|
+
|
|
116
|
+
### Development Overlay
|
|
117
|
+
|
|
118
|
+
```yaml
|
|
119
|
+
# overlays/development/kustomization.yaml
|
|
120
|
+
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
121
|
+
kind: Kustomization
|
|
122
|
+
|
|
123
|
+
resources:
|
|
124
|
+
- ../../base
|
|
125
|
+
|
|
126
|
+
namespace: myapp-dev
|
|
127
|
+
|
|
128
|
+
namePrefix: dev-
|
|
129
|
+
|
|
130
|
+
commonLabels:
|
|
131
|
+
environment: development
|
|
132
|
+
|
|
133
|
+
images:
|
|
134
|
+
- name: myapp
|
|
135
|
+
newTag: dev-latest
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Production Overlay
|
|
139
|
+
|
|
140
|
+
```yaml
|
|
141
|
+
# overlays/production/kustomization.yaml
|
|
142
|
+
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
143
|
+
kind: Kustomization
|
|
144
|
+
|
|
145
|
+
resources:
|
|
146
|
+
- ../../base
|
|
147
|
+
|
|
148
|
+
namespace: myapp-prod
|
|
149
|
+
|
|
150
|
+
namePrefix: prod-
|
|
151
|
+
|
|
152
|
+
commonLabels:
|
|
153
|
+
environment: production
|
|
154
|
+
|
|
155
|
+
replicas:
|
|
156
|
+
- name: myapp
|
|
157
|
+
count: 5
|
|
158
|
+
|
|
159
|
+
images:
|
|
160
|
+
- name: myapp
|
|
161
|
+
newName: registry.example.com/myapp
|
|
162
|
+
newTag: v2.0.0
|
|
163
|
+
|
|
164
|
+
patches:
|
|
165
|
+
- path: resource-patch.yaml
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## Patching
|
|
169
|
+
|
|
170
|
+
### Strategic Merge Patch
|
|
171
|
+
|
|
172
|
+
```yaml
|
|
173
|
+
# overlays/production/resource-patch.yaml
|
|
174
|
+
apiVersion: apps/v1
|
|
175
|
+
kind: Deployment
|
|
176
|
+
metadata:
|
|
177
|
+
name: myapp
|
|
178
|
+
spec:
|
|
179
|
+
template:
|
|
180
|
+
spec:
|
|
181
|
+
containers:
|
|
182
|
+
- name: myapp
|
|
183
|
+
resources:
|
|
184
|
+
requests:
|
|
185
|
+
memory: "256Mi"
|
|
186
|
+
cpu: "500m"
|
|
187
|
+
limits:
|
|
188
|
+
memory: "512Mi"
|
|
189
|
+
cpu: "1000m"
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### JSON Patch
|
|
193
|
+
|
|
194
|
+
```yaml
|
|
195
|
+
# kustomization.yaml
|
|
196
|
+
patches:
|
|
197
|
+
- target:
|
|
198
|
+
kind: Deployment
|
|
199
|
+
name: myapp
|
|
200
|
+
patch: |-
|
|
201
|
+
- op: replace
|
|
202
|
+
path: /spec/replicas
|
|
203
|
+
value: 5
|
|
204
|
+
- op: add
|
|
205
|
+
path: /spec/template/spec/containers/0/env
|
|
206
|
+
value:
|
|
207
|
+
- name: LOG_LEVEL
|
|
208
|
+
value: info
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### Inline Patches
|
|
212
|
+
|
|
213
|
+
```yaml
|
|
214
|
+
# kustomization.yaml
|
|
215
|
+
patches:
|
|
216
|
+
- patch: |-
|
|
217
|
+
apiVersion: apps/v1
|
|
218
|
+
kind: Deployment
|
|
219
|
+
metadata:
|
|
220
|
+
name: myapp
|
|
221
|
+
spec:
|
|
222
|
+
replicas: 3
|
|
223
|
+
target:
|
|
224
|
+
kind: Deployment
|
|
225
|
+
name: myapp
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
## Configuration Generation
|
|
229
|
+
|
|
230
|
+
### ConfigMap Generator
|
|
231
|
+
|
|
232
|
+
```yaml
|
|
233
|
+
# kustomization.yaml
|
|
234
|
+
configMapGenerator:
|
|
235
|
+
- name: myapp-config
|
|
236
|
+
literals:
|
|
237
|
+
- APP_ENV=production
|
|
238
|
+
- LOG_LEVEL=info
|
|
239
|
+
files:
|
|
240
|
+
- config.yaml
|
|
241
|
+
envs:
|
|
242
|
+
- config.env
|
|
243
|
+
options:
|
|
244
|
+
disableNameSuffixHash: false
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
### Secret Generator
|
|
248
|
+
|
|
249
|
+
```yaml
|
|
250
|
+
# kustomization.yaml
|
|
251
|
+
secretGenerator:
|
|
252
|
+
- name: myapp-secrets
|
|
253
|
+
literals:
|
|
254
|
+
- api-key=secret123
|
|
255
|
+
files:
|
|
256
|
+
- tls.crt
|
|
257
|
+
- tls.key
|
|
258
|
+
type: kubernetes.io/tls
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
## Image Transformations
|
|
262
|
+
|
|
263
|
+
```yaml
|
|
264
|
+
# kustomization.yaml
|
|
265
|
+
images:
|
|
266
|
+
# Change tag
|
|
267
|
+
- name: myapp
|
|
268
|
+
newTag: v2.0.0
|
|
269
|
+
|
|
270
|
+
# Change registry
|
|
271
|
+
- name: myapp
|
|
272
|
+
newName: registry.example.com/myapp
|
|
273
|
+
newTag: v2.0.0
|
|
274
|
+
|
|
275
|
+
# Use digest
|
|
276
|
+
- name: myapp
|
|
277
|
+
digest: sha256:abc123...
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
## Resource Transformations
|
|
281
|
+
|
|
282
|
+
### Name Prefix/Suffix
|
|
283
|
+
|
|
284
|
+
```yaml
|
|
285
|
+
# kustomization.yaml
|
|
286
|
+
namePrefix: prod-
|
|
287
|
+
nameSuffix: -v2
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
### Namespace
|
|
291
|
+
|
|
292
|
+
```yaml
|
|
293
|
+
# kustomization.yaml
|
|
294
|
+
namespace: production
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
### Labels and Annotations
|
|
298
|
+
|
|
299
|
+
```yaml
|
|
300
|
+
# kustomization.yaml
|
|
301
|
+
commonLabels:
|
|
302
|
+
app.kubernetes.io/name: myapp
|
|
303
|
+
app.kubernetes.io/environment: production
|
|
304
|
+
|
|
305
|
+
commonAnnotations:
|
|
306
|
+
example.com/owner: team-a
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### Replicas
|
|
310
|
+
|
|
311
|
+
```yaml
|
|
312
|
+
# kustomization.yaml
|
|
313
|
+
replicas:
|
|
314
|
+
- name: myapp
|
|
315
|
+
count: 5
|
|
316
|
+
- name: worker
|
|
317
|
+
count: 3
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
## Components
|
|
321
|
+
|
|
322
|
+
```yaml
|
|
323
|
+
# components/monitoring/kustomization.yaml
|
|
324
|
+
apiVersion: kustomize.config.k8s.io/v1alpha1
|
|
325
|
+
kind: Component
|
|
326
|
+
|
|
327
|
+
resources:
|
|
328
|
+
- servicemonitor.yaml
|
|
329
|
+
|
|
330
|
+
patches:
|
|
331
|
+
- patch: |-
|
|
332
|
+
apiVersion: apps/v1
|
|
333
|
+
kind: Deployment
|
|
334
|
+
metadata:
|
|
335
|
+
name: myapp
|
|
336
|
+
spec:
|
|
337
|
+
template:
|
|
338
|
+
metadata:
|
|
339
|
+
annotations:
|
|
340
|
+
prometheus.io/scrape: "true"
|
|
341
|
+
prometheus.io/port: "8080"
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
```yaml
|
|
345
|
+
# overlays/production/kustomization.yaml
|
|
346
|
+
components:
|
|
347
|
+
- ../../components/monitoring
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
## Remote Resources
|
|
351
|
+
|
|
352
|
+
```yaml
|
|
353
|
+
# kustomization.yaml
|
|
354
|
+
resources:
|
|
355
|
+
# Remote Git repository
|
|
356
|
+
- https://github.com/org/manifests//base?ref=v1.0.0
|
|
357
|
+
|
|
358
|
+
# Remote URL
|
|
359
|
+
- https://raw.githubusercontent.com/org/repo/main/deployment.yaml
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
## Commands
|
|
363
|
+
|
|
364
|
+
```bash
|
|
365
|
+
# Build and view output
|
|
366
|
+
kubectl kustomize overlays/production
|
|
367
|
+
|
|
368
|
+
# Apply to cluster
|
|
369
|
+
kubectl apply -k overlays/production
|
|
370
|
+
|
|
371
|
+
# Delete resources
|
|
372
|
+
kubectl delete -k overlays/production
|
|
373
|
+
|
|
374
|
+
# View diff
|
|
375
|
+
kubectl diff -k overlays/production
|
|
376
|
+
|
|
377
|
+
# Build with standalone kustomize
|
|
378
|
+
kustomize build overlays/production
|
|
379
|
+
|
|
380
|
+
# Build and apply
|
|
381
|
+
kustomize build overlays/production | kubectl apply -f -
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
## Helm Chart Integration
|
|
385
|
+
|
|
386
|
+
```yaml
|
|
387
|
+
# kustomization.yaml
|
|
388
|
+
helmCharts:
|
|
389
|
+
- name: prometheus
|
|
390
|
+
repo: https://prometheus-community.github.io/helm-charts
|
|
391
|
+
version: 25.0.0
|
|
392
|
+
releaseName: prometheus
|
|
393
|
+
namespace: monitoring
|
|
394
|
+
valuesFile: values.yaml
|
|
395
|
+
includeCRDs: true
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
## Variable Substitution
|
|
399
|
+
|
|
400
|
+
```yaml
|
|
401
|
+
# kustomization.yaml
|
|
402
|
+
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
403
|
+
kind: Kustomization
|
|
404
|
+
|
|
405
|
+
resources:
|
|
406
|
+
- deployment.yaml
|
|
407
|
+
|
|
408
|
+
replacements:
|
|
409
|
+
- source:
|
|
410
|
+
kind: ConfigMap
|
|
411
|
+
name: myapp-config
|
|
412
|
+
fieldPath: data.APP_VERSION
|
|
413
|
+
targets:
|
|
414
|
+
- select:
|
|
415
|
+
kind: Deployment
|
|
416
|
+
name: myapp
|
|
417
|
+
fieldPaths:
|
|
418
|
+
- spec.template.spec.containers.[name=myapp].image
|
|
419
|
+
options:
|
|
420
|
+
delimiter: ':'
|
|
421
|
+
index: 1
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
## Common Issues
|
|
425
|
+
|
|
426
|
+
### Issue: Name Hash Conflicts
|
|
427
|
+
**Problem**: Resources not updating when ConfigMap changes
|
|
428
|
+
**Solution**: Enable name suffix hash (default) or use replacement
|
|
429
|
+
|
|
430
|
+
### Issue: Patch Not Applying
|
|
431
|
+
**Problem**: Strategic merge patch doesn't work
|
|
432
|
+
**Solution**: Verify resource names match, use JSON patch for complex changes
|
|
433
|
+
|
|
434
|
+
### Issue: Remote Resource Fails
|
|
435
|
+
**Problem**: Cannot fetch remote resources
|
|
436
|
+
**Solution**: Check URL, verify ref/tag exists, ensure network access
|
|
437
|
+
|
|
438
|
+
### Issue: Label Selector Mismatch
|
|
439
|
+
**Problem**: commonLabels breaks selectors
|
|
440
|
+
**Solution**: Use includeSelectors: false or exclude specific resources
|
|
441
|
+
|
|
442
|
+
```yaml
|
|
443
|
+
commonLabels:
|
|
444
|
+
app: myapp
|
|
445
|
+
configurations:
|
|
446
|
+
- labelExclusions.yaml
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
## Best Practices
|
|
450
|
+
|
|
451
|
+
- Keep base manifests environment-agnostic
|
|
452
|
+
- Use overlays for environment-specific config
|
|
453
|
+
- Prefer strategic merge patches for simple changes
|
|
454
|
+
- Use components for optional features
|
|
455
|
+
- Pin remote resource versions
|
|
456
|
+
- Enable ConfigMap/Secret hash suffixes
|
|
457
|
+
- Document overlay structure in README
|
|
458
|
+
- Test builds before applying
|
|
459
|
+
|
|
460
|
+
## Related Skills
|
|
461
|
+
|
|
462
|
+
- kubernetes-ops (`kubernetes-ops`) - K8s fundamentals
|
|
463
|
+
- helm-charts (`helm-charts`) - Helm alternative
|
|
464
|
+
- argocd-gitops (`argocd-gitops`) - GitOps deployment
|
|
465
|
+
|
|
466
|
+
## Limitations
|
|
467
|
+
|
|
468
|
+
- Guidance executes against real environments: confirm target, blast radius, and rollback plan before applying anything.
|
|
469
|
+
- Never deploy to production without explicit approval. Docs-only import: upstream scripts and templates not bundled.
|
|
470
|
+
|
|
471
|
+
### Example
|
|
472
|
+
|
|
473
|
+
```bash
|
|
474
|
+
git status && git diff --stat
|
|
475
|
+
kubectl diff -f manifest.yaml
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
> Adapted from [BagelHole/DevOps-Security-Agent-Skills](https://github.com/BagelHole/DevOps-Security-Agent-Skills) (MIT); frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance. Docs-only import: helper scripts and templates not bundled.
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ledger-tasks-yylo
|
|
3
|
+
description: 'Use YYLO Ledger task management: create, list, search, get, mark, update,
|
|
4
|
+
archive, deps, ready, order and merge with dependencies.'
|
|
5
|
+
category: project-management
|
|
6
|
+
risk: safe
|
|
7
|
+
source: https://github.com/yylo-dev/yylo-skills
|
|
8
|
+
source_repo: yylo-dev/yylo-skills
|
|
9
|
+
source_type: community
|
|
10
|
+
date_added: '2026-09-19'
|
|
11
|
+
license: MIT
|
|
12
|
+
license_source: https://github.com/yylo-dev/yylo-skills/blob/main/LICENSE
|
|
13
|
+
compatibility: Requires the `yy` CLI (YYLO Ledger 0.3.x+) installed and a routed Ledger
|
|
14
|
+
controller; git and bash for worktree tasks. Command help (`yy ledger --help`) is
|
|
15
|
+
authoritative for the installed runtime.
|
|
16
|
+
argument-hint: '[command or workflow question]'
|
|
17
|
+
enable-shell-directives: true
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## YYLO Ledger CLI Reference
|
|
21
|
+
|
|
22
|
+
Use `yy ledger` for all commands. Ledger 0.3.x exposes both the compatible flat task commands and the native ID-first `record|task|wiki|workflow|artifact` groups. `yy kanban` is a labelled compatibility alias for the same controller-routed task runtime.
|
|
23
|
+
|
|
24
|
+
### Supported task contract
|
|
25
|
+
|
|
26
|
+
- Preflight installed `yy ledger --version` and `yy ledger --help`; command help is authoritative for the selected runtime.
|
|
27
|
+
- Use the flat task surface for lifecycle task management. Use the dedicated native skills for wiki, workflow, and artifact Records rather than guessing their arguments.
|
|
28
|
+
- New operational PDRs, contracts, plans, reports, receipts, and evidence belong in typed Artifact Records, not product documentation, task bodies/responses, or new `.juno_task/specs` files.
|
|
29
|
+
- If a required native group is absent, fail closed and request a Ledger upgrade. Never invoke mutable source directly or write Ledger store files by hand.
|
|
30
|
+
- Read current task state before mutation, preserve mutation receipts where offered, and never bypass controller routing or lifecycle state with direct file edits.
|
|
31
|
+
- Normal discovery is hot-only unless an explicit cold-archive command is used.
|
|
32
|
+
|
|
33
|
+
### Opt-in cross-project routing
|
|
34
|
+
|
|
35
|
+
Cross-project access is disabled by default. The source `.juno_task/config.json` must set `kanbanRegistry.enabled: true` and explicitly list `allowedProjects`; environment overrides are `YYLO_LEDGER_REGISTRY_ENABLED` and `YYLO_LEDGER_REGISTRY_ALLOWED_PROJECTS`. Register with `yy ledger project add ALIAS --path /absolute/project`, then route any command with `--project ALIAS`. The destination wrapper/runtime remains authoritative, and routing failures never fall back to the source board.
|
|
36
|
+
|
|
37
|
+
### Legacy Task compatibility commands
|
|
38
|
+
|
|
39
|
+
**CREATE** — Add a new task
|
|
40
|
+
```bash
|
|
41
|
+
yy ledger create "Task description here" --status backlog --tags feature,backend
|
|
42
|
+
```
|
|
43
|
+
Options: `--status` (backlog|todo|in_progress|done), `--tags` (comma/space-separated), `--blocked-by` (task IDs), `--related-tasks` (task IDs)
|
|
44
|
+
|
|
45
|
+
**LIST** — Browse tasks with summary stats
|
|
46
|
+
```bash
|
|
47
|
+
yy ledger list --limit 5 --sort asc
|
|
48
|
+
yy ledger list --status todo --sort asc
|
|
49
|
+
yy ledger list --status todo,in_progress --limit 10
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**SEARCH** — Find tasks by criteria
|
|
53
|
+
```bash
|
|
54
|
+
yy ledger search --status todo --tag backend --limit 10
|
|
55
|
+
yy ledger search --body "OAuth" --open
|
|
56
|
+
yy ledger search --commit abc123
|
|
57
|
+
```
|
|
58
|
+
Filters: `--status`, `--tag`, `--body`, `--response`, `--commit`, `--open` (no agent_response), `--recent`, `--exclude` (exclude tags)
|
|
59
|
+
|
|
60
|
+
**GET** — Full task details (including dependency info and related task details)
|
|
61
|
+
```bash
|
|
62
|
+
yy ledger get TASK_ID
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**MARK** — Update status with required response message
|
|
66
|
+
```bash
|
|
67
|
+
yy ledger mark in_progress --id TASK_ID --response "Starting work on this"
|
|
68
|
+
yy ledger mark done --id TASK_ID --response "Completed: implemented X, tested Y" --commit abc123def
|
|
69
|
+
yy ledger mark todo --id TASK_ID --response "Reopening: found regression"
|
|
70
|
+
```
|
|
71
|
+
Required: `--id` and `--response`. Optional: `--commit` (recommended for done).
|
|
72
|
+
|
|
73
|
+
**UPDATE** — Modify task fields
|
|
74
|
+
```bash
|
|
75
|
+
yy ledger update TASK_ID --status todo --tags backend,urgent
|
|
76
|
+
yy ledger update TASK_ID --commit abc123def
|
|
77
|
+
yy ledger update TASK_ID --response "Additional context"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**ARCHIVE** — Soft delete (preserves data, sets status to archive)
|
|
81
|
+
```bash
|
|
82
|
+
yy ledger archive TASK_ID
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Immutable cold archive packs
|
|
86
|
+
|
|
87
|
+
Normal `list`, `search`, `ready`, and `order` are deliberately hot-only. Exact `get TASK_ID` transparently resolves a hot task or a read-only archived task; use `history TASK_ID` explicitly for its ledger. Discover cold tasks only with bounded, projected `archive-search` output:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
yy ledger archive-search --tag backend --before 2026-01-01 --limit 20 --projection metadata
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Before archive maintenance, preflight the installed version/help and obtain explicit owner authorization. The repository and index must be clean, and reports must be durable new paths outside the repository:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
yy ledger --version
|
|
97
|
+
yy ledger archive-pack plan --status done,archive --older-than 90d --max-tasks 1000 --target-bytes 26214400 --hard-max-bytes 47185920 --report /external/receipts/archive-plan.json
|
|
98
|
+
# Independently inspect selected IDs, revisions, source HEAD, policy, and plan hash.
|
|
99
|
+
yy ledger archive-pack create --plan /external/receipts/archive-plan.json --report /external/receipts/archive-create.json
|
|
100
|
+
yy ledger archive-pack doctor
|
|
101
|
+
yy ledger doctor
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
A stale plan or selected-task/worktree conflict must fail closed: discard the plan, resolve the conflict, and plan again. Never automate archival, edit/append packs or manifests, restore/reopen an archived ID, use force/lossy controls, or enumerate archive files directly. Create follow-up work as a new hot task related to the archived ID. Production archival, push/deploy, and post-deploy E2E each require separate authorization; agents must not infer it from implementation approval.
|
|
105
|
+
|
|
106
|
+
### Dependency Management
|
|
107
|
+
|
|
108
|
+
**DEPS** — View, add, or remove task dependencies
|
|
109
|
+
```bash
|
|
110
|
+
# View dependency info (blockers, dependents, priority score)
|
|
111
|
+
yy ledger deps TASK_ID
|
|
112
|
+
|
|
113
|
+
# Add blockers (TASK_ID cannot start until BLOCKER1 and BLOCKER2 are done)
|
|
114
|
+
yy ledger deps add --id TASK_ID --blocked-by BLOCKER1 BLOCKER2
|
|
115
|
+
|
|
116
|
+
# Remove a blocker
|
|
117
|
+
yy ledger deps remove --id TASK_ID --blocked-by BLOCKER1
|
|
118
|
+
```
|
|
119
|
+
Cycle detection prevents circular dependencies automatically.
|
|
120
|
+
|
|
121
|
+
**READY** — Tasks with all blockers satisfied (safe to work on)
|
|
122
|
+
```bash
|
|
123
|
+
yy ledger ready
|
|
124
|
+
yy ledger ready --tag backend --limit 5
|
|
125
|
+
```
|
|
126
|
+
Returns tasks where status is backlog/todo/in_progress AND all `blocked_by` tasks are done/archive.
|
|
127
|
+
|
|
128
|
+
**ORDER** — Topological sort of open tasks respecting dependencies
|
|
129
|
+
```bash
|
|
130
|
+
yy ledger order
|
|
131
|
+
yy ledger order --scores
|
|
132
|
+
```
|
|
133
|
+
Use for determining safe parallel execution order.
|
|
134
|
+
|
|
135
|
+
### Body Markup for Inline Dependencies
|
|
136
|
+
|
|
137
|
+
Declare dependencies and relations directly in task body text:
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
[blocked_by]TASK_ID[/blocked_by] — This task is blocked by TASK_ID
|
|
141
|
+
[blocked_by]ID1, ID2[/blocked_by] — Blocked by multiple tasks
|
|
142
|
+
[task_id]RELATED_ID[/task_id] — Reference a related task
|
|
143
|
+
[task_id]ID1 ID2[/task_id] — Multiple related tasks
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
These are parsed automatically when the task is created/updated.
|
|
147
|
+
|
|
148
|
+
### Merge (Multi-Directory Consolidation)
|
|
149
|
+
|
|
150
|
+
When tasks get scattered across subdirectories:
|
|
151
|
+
```bash
|
|
152
|
+
# First produce and review a deterministic plan
|
|
153
|
+
yy ledger merge ./sub1/.juno_task ./sub2/.juno_task --into ./.juno_task \
|
|
154
|
+
--dry-run --plan-file /external/ledger-merge-plan.json
|
|
155
|
+
|
|
156
|
+
# Apply only that reviewed plan and retain its receipt
|
|
157
|
+
yy ledger merge ./sub1/.juno_task ./sub2/.juno_task --into ./.juno_task \
|
|
158
|
+
--apply-plan /external/ledger-merge-plan.json \
|
|
159
|
+
--receipt-file /external/ledger-merge-receipt.json
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Output Formats
|
|
163
|
+
|
|
164
|
+
All commands support: `-f json`, `-f ndjson` (default), `-f xml`, `-f table`
|
|
165
|
+
Add `--raw` for compact output. Add `-p` for pretty print.
|
|
166
|
+
|
|
167
|
+
### Best Practices
|
|
168
|
+
|
|
169
|
+
1. **Task sizing**: Create tasks small enough to complete in one iteration without filling the context window
|
|
170
|
+
2. **Status flow**: backlog → todo → in_progress → done (or archive for abandoned tasks)
|
|
171
|
+
3. **Always include `--response`** when using `mark` — document what you did and how you tested it
|
|
172
|
+
4. **Attach commits**: Use `--commit HASH` when marking done, then `update TASK_ID --commit HASH` to link the git history
|
|
173
|
+
5. **Use `ready`** before starting work to find unblocked tasks
|
|
174
|
+
6. **Use `order --scores`** to plan parallel execution pipelines
|
|
175
|
+
7. **Use `[blocked_by]` markup** in task body when creating tasks that depend on others
|
|
176
|
+
8. **Use `[task_id]` markup** in task body to cross-reference related tasks
|
|
177
|
+
9. **Use `get TASK_ID`** to see full task details including resolved dependency and related task info
|
|
178
|
+
10. **Concurrent features are supported** — start each selected task with `yy task start TASK_ID`; each gets a dedicated product worktree, while `yy merge` serializes only target updates
|
|
179
|
+
|
|
180
|
+
### Canonical Controller Routing
|
|
181
|
+
|
|
182
|
+
YYLO Ledger mutation resolves the controller in this order: explicit `JUNO_TASK_ROOT`, repository-local registration, then the current project root. Diagnose before orchestration with `.juno_task/scripts/controller_resolver.py --cwd "$PWD" --operation kanban`. The resolver may bootstrap or idempotently confirm a registration, but changing an existing controller requires `yy migrate registration plan` followed by a separately authorized apply. Explicit/registered path or branch errors fail closed—YYLO Ledger never switches Git branches or falls back silently.
|
|
183
|
+
|
|
184
|
+
Run YYLO Ledger and workflows from the controller. A task checkout may implement/test but routes task/session writes to that controller. An integration-owner checkout stays clean and refuses Kanban/orchestration/session writes in strict mode; launch from the controller and pass the product checkout separately as `TASK_ROOT`.
|
|
185
|
+
|
|
186
|
+
### Environment Variables
|
|
187
|
+
|
|
188
|
+
- `JUNO_TASK_ROOT` — Explicit canonical controller/task-storage root (not the product `TASK_ROOT`)
|
|
189
|
+
- `JUNO_CONTROLLER_BRANCH` — Expected controller branch for environment-based routing
|
|
190
|
+
- `JUNO_WORKSPACE_ROLE` — `controller`, `task`, or `integration-owner`
|
|
191
|
+
- `JUNO_WORKSPACE_ENFORCEMENT` — `off`, `warn`, or `strict`
|
|
192
|
+
- `JUNO_DEBUG=true` — Show diagnostic messages
|
|
193
|
+
- `JUNO_VERBOSE=true` — Show informational messages
|
|
194
|
+
- `JUNO_KANBAN_LIST_BODY_TRUNCATE_CHARS=N` — Override list body truncation (default: 1200)
|
|
195
|
+
|
|
196
|
+
$ARGUMENTS
|
|
197
|
+
|
|
198
|
+
## When to Use
|
|
199
|
+
|
|
200
|
+
- You need to interact with the YYLO Ledger task board (create, list, search, get, mark, update, archive, deps, ready, order, merge).
|
|
201
|
+
- You need dependency-aware scheduling (`deps`, `ready`, `order`) or multi-directory consolidation (`merge`).
|
|
202
|
+
- Use the dedicated `wiki-yylo`, `workflow-yylo` and `artifact-yylo` skills for native wiki/workflow/artifact Records instead of guessing their arguments.
|
|
203
|
+
|
|
204
|
+
## Limitations
|
|
205
|
+
|
|
206
|
+
- Requires YYLO Ledger 0.3.x+ with the needed command groups; if a group is absent, fail closed and request a Ledger upgrade - never edit store files by hand.
|
|
207
|
+
- Discovery (`list`, `search`, `ready`, `order`) is hot-only; cold tasks need explicit `archive-search`.
|
|
208
|
+
- `archive-pack` and `merge` need explicit owner authorization, a clean tree, and external plan/receipt paths; never automate archival or force past conflicts.
|
|
209
|
+
- Does not grant push, deploy, release, or production-mutation authority.
|
|
210
|
+
|
|
211
|
+
### Example
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
yy ledger --version && yy ledger --help
|
|
215
|
+
yy ledger ready --limit 5
|
|
216
|
+
yy ledger get TASK_ID
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
> Adapted from [yylo-dev/yylo-skills](https://github.com/yylo-dev/yylo-skills) (MIT) - v2.0.1; frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance.
|