[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A7ETDX8RKQMFCCB0HNB1KT":3,"skill-same:01M7A7ETDX8RKQMFCCB0HNB1KT":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7A7ETDX8RKQMFCCB0HNB1KT","scripting-expert",null,"Infrastructure and OS automation via shell scripts (Bash\u002FZsh for macOS\u002FLinux) and PowerShell 7+ (cross-OS): CI\u002FCD hooks, Helm hooks, Airflow operators, idempotency, static validation with ShellCheck and PSScriptAnalyzer, and testing with bats-core\u002FPester. Use when writing Bash scripts for CI\u002FCD pipelines, creating Airflow bash operators, implementing Helm chart hooks, writing portable shell scripts, or creating PowerShell automation for DevOps tasks. Trigger: Bash, shell script, CI\u002FCD hook, Helm hook, Airflow, PowerShell, ShellCheck, bats-core. Do NOT trigger for: application code in Go\u002FPython\u002FTypeScript, Kubernetes YAML authoring.","ronsilver\u002Fagent-covenant","ronsilver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F46677526?v=4","01M7A719H1DVMZSKNAESAC82DA","Jorge Maturana","01M7A719J5GP33TM303CB8NN00",1,"MIT","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fscripting-expert\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: scripting-expert\ndescription: \"Infrastructure and OS automation via shell scripts (Bash\u002FZsh for macOS\u002FLinux) and PowerShell 7+ (cross-OS): CI\u002FCD hooks, Helm hooks, Airflow operators, idempotency, static validation with ShellCheck and PSScriptAnalyzer, and testing with bats-core\u002FPester. Use when writing Bash scripts for CI\u002FCD pipelines, creating Airflow bash operators, implementing Helm chart hooks, writing portable shell scripts, or creating PowerShell automation for DevOps tasks. Trigger: Bash, shell script, CI\u002FCD hook, Helm hook, Airflow, PowerShell, ShellCheck, bats-core. Do NOT trigger for: application code in Go\u002FPython\u002FTypeScript, Kubernetes YAML authoring.\"\nlicense: MIT\nmetadata:\n  author: Community\n  version: \"1.0\"\n  category: infrastructure\n  status: stable\n---\n# Scripting Expert\n\n**Bash\u002FZsh + PowerShell: CI\u002FCD, automation, hooks and testing.**\n\n## Core Stack\n\n- POSIX Shell: Bash 5+ \u002F Zsh (macOS default)\n- Windows\u002FCross: PowerShell 7+ (.NET Core, cross-OS)\n- Linting: ShellCheck (bash), PSScriptAnalyzer (PowerShell)\n- Testing: bats-core (bash), Pester (PowerShell)\n- team context: Airflow bash operators, Helm hooks, CI\u002FCD scripts\n\n## Bash\u002FZsh Patterns\n\n### Safety Header (MANDATORY)\n\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bash\nset -euo pipefail\n```\n\n- `-e`: exit on first error (NEVER omit)\n- `-u`: error on undefined variable\n- `-o pipefail`: pipe fails if any command in pipe fails\n\n### Idempotent Operations\n\n```bash\n# Check state before acting — never assume\nif ! command -v aws &>\u002Fdev\u002Fnull; then\n  echo \"Error: aws CLI not installed\" >&2\n  exit 1\nfi\n\n# Idempotent create-if-not-exists\nif [[ ! -d \"\u002Fopt\u002Fexample\u002Fconfig\" ]]; then\n  mkdir -p \"\u002Fopt\u002Fexample\u002Fconfig\"\nfi\n```\n\n### Traps for Cleanup\n\n```bash\ncleanup() {\n  rm -f \"${TEMP_FILE}\"\n  docker stop \"${CONTAINER_ID}\" 2>\u002Fdev\u002Fnull || true\n}\ntrap cleanup EXIT\n```\n\n### Quoting Rules\n\n```bash\n# ALWAYS quote variables\ncp \"${SOURCE}\" \"${DEST}\"      # correct\ncp $SOURCE $DEST              # breaks on spaces — NEVER\n\n# NEVER use backticks — use $()\nfiles=$(find . -name \"*.go\") # correct\nfiles=`find . -name \"*.go\"`   # deprecated — NEVER\n```\n\n## PowerShell 7+ Patterns\n\n```powershell\n# Error handling\n$ErrorActionPreference = \"Stop\"\n\n# Idempotent: check before create\nif (-not (Test-Path \"C:\\example\\config\")) {\n    New-Item -ItemType Directory -Path \"C:\\example\\config\"\n}\n```\n\n## Linting (Golden Chain)\n\n```\nshellcheck script.sh -> bats test\n```\n\n```bash\n# Run shellcheck on all scripts\nfind . -name \"*.sh\" -exec shellcheck {} +\n```\n\n```\nPSScriptAnalyzer -> Pester test\n```\n\n## Testing with bats-core\n\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bats\n\n@test \"script exits 0 on valid input\" {\n  run .\u002Fprocess_item.sh --value 1000 --type standard\n  [ \"$status\" -eq 0 ]\n}\n\n@test \"script exits non-zero on missing value\" {\n  run .\u002Fprocess_item.sh --type standard\n  [ \"$status\" -ne 0 ]\n}\n```\n\n## Patterns\n\n### Airflow Bash Operator\n\n```python\n# data-orchestration-airflow\nBashOperator(\n    task_id=\"validate_partitions\",\n    bash_command=\"scripts\u002Fvalidate_partitions.sh --table {{ ds }}\",\n    dag=dag\n)\n```\n\n### Helm Hook\n\n```yaml\n# infraestructure-helm\napiVersion: batch\u002Fv1\nkind: Job\nmetadata:\n  annotations:\n    \"helm.sh\u002Fhook\": pre-upgrade\nspec:\n  template:\n    spec:\n      containers:\n      - name: migrate\n        command: [\"\u002Fscripts\u002Fmigrate.sh\"]\n```\n\n## Choosing Between Shells\n\n| Scenario | Shell |\n|---|---|\n| macOS\u002FLinux CI | Bash (shebang `#!\u002Fusr\u002Fbin\u002Fenv bash`) |\n| Cross-platform | PowerShell 7+ |\n| Airflow operators | Bash (Linux workers) |\n| Helm hooks | Bash (container images) |\n| Windows targets | PowerShell |\n\n## Constraints\n\n- ALWAYS `set -euo pipefail` or equivalent error handling\n- NEVER use backticks — `$()` only\n- ALWAYS quote variables in bash (spaces break unquoted)\n- NEVER `eval` on user\u002Fexternal input\n- NEVER hardcode secrets — use env vars or secret management\n- ALWAYS log to stderr for diagnostics (`>&2`), stdout for data output\n- ALWAYS handle exit codes explicitly — never assume success\n- NEVER `rm -rf` without explicit path validation\n- NEVER `curl | bash` — download, verify, then execute\n- ALWAYS test idempotency: run twice, expect same result\n\n## Overview\n\nAutomate infrastructure and CI\u002FCD through shell scripts (Bash\u002FZsh for macOS\u002FLinux) and PowerShell 7+ (cross-OS): Helm hooks, Airflow operators, idempotent operations, static validation with ShellCheck\u002FPSScriptAnalyzer, and testing with bats-core\u002FPester.\n\n## Quick Reference\n\n| Task | Tool | Command |\n|---|---|---|\n| Bash linting | ShellCheck | shellcheck script.sh |\n| Bash testing | bats-core | bats test.bats |\n| PowerShell linting | PSScriptAnalyzer | Invoke-ScriptAnalyzer script.ps1 |\n| PowerShell testing | Pester | Invoke-Pester test.ps1 |\n| Safety header | Bash | set -euo pipefail |\n\n## Workflow\n\n1. Add safety header: `set -euo pipefail` (Bash) or `$ErrorActionPreference = \"Stop\"` (PowerShell)\n2. Check prerequisites: commands exist, files accessible\n3. Implement idempotent operations (check state before changing)\n4. Add traps for cleanup of temp files and resources\n5. Run shellcheck\u002FPSScriptAnalyzer linting\n6. Write bats-core\u002FPester tests, run twice to verify idempotency\n\n## Anti-patterns\n\nFAIL: Running rm -rf without path validation\n```bash\n# BAD: unvalidated path\nrm -rf \"${DIR}\u002Ftemp\"\n\n# GOOD: validate path is safe\n[[ \"${DIR}\" == \"\u002Ftmp\u002Fexample\u002F\"* ]] || { echo \"unsafe path: ${DIR}\" >&2; exit 1; }\nrm -rf \"${DIR}\u002Ftemp\"\n```\n\nFAIL: Piping curl output directly to shell\n```bash\n# BAD: execute without verification\ncurl -sL https:\u002F\u002Fexample.com\u002Finstall.sh | bash\n\n# GOOD: download, verify, then execute\ncurl -sL -o install.sh https:\u002F\u002Fexample.com\u002Finstall.sh\nsha256sum -c install.sha256 && bash install.sh\n```\n\nFAIL: Using eval with user-supplied input\n```bash\n# BAD: eval on external input\neval \"command ${user_input}\"\n\n# GOOD: structured parsing with validation\ncase \"${user_input}\" in\n    start|stop|restart) service_action \"${user_input}\" ;;\n    *) echo \"invalid action\" >&2; exit 1 ;;\nesac\n```\n\n## References\n\n- ShellCheck documentation: https:\u002F\u002Fwww.shellcheck.net\u002F (last_verified: 2026-05)\n- bats-core test framework: https:\u002F\u002Fgithub.com\u002Fbats-core\u002Fbats-core (last_verified: 2026-05)\n- PowerShell PSScriptAnalyzer: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpowershell\u002Fmodule\u002Fpsscriptanalyzer\u002F (last_verified: 2026-05)\n\n- [references\u002Fbash-patterns.md](references\u002Fbash-patterns.md)\n- [references\u002Fidempotency.md](references\u002Fidempotency.md)\n- [references\u002Ftesting-bats.md](references\u002Ftesting-bats.md)\n\n## Verification Checklist\n\n- [ ] Safety header present: `set -euo pipefail` (Bash) or `$ErrorActionPreference = \"Stop\"` (PowerShell)\n- [ ] All variables quoted in Bash (no unquoted expansions)\n- [ ] No backticks used — `$()` syntax only\n- [ ] No `eval` on user or external input\n- [ ] No `rm -rf` without explicit path validation\n- [ ] Cleanup trap registered for temp files and resources\n- [ ] Exit codes handled explicitly (never assume success)\n- [ ] Idempotency verified: script produces same result when run twice\n\n## Troubleshooting\n\n| Symptom | Likely cause | Fix |\n|---------|-------------|-----|\n| Script fails on paths with spaces | Variables not quoted | Wrap all variable expansions in double quotes: `\"${VAR}\"` |\n| Trap cleanup not triggered on error | `set -e` causes exit before `trap` registers | Move `trap` registration to top of script, before any commands |\n| ShellCheck passes but script behaves differently on macOS | Bash version differences (3.2 on macOS vs 5+ on Linux) | Test on target OS; avoid Bash 4+ only features or use `#!\u002Fusr\u002Fbin\u002Fenv bash` compatible syntax |\n| `trap` does not catch `SIGKILL` (known limitation: SIGKILL cannot be trapped) | `kill -9` bypasses all trap handlers | Use `SIGTERM` as primary signal; implement watchdog process for forced termination cleanup |\n\n| [WARN] Bash `set -euo pipefail` still ignores error in `if` condition or `&&` chain | `set -e` is disabled inside conditions (`if`, `while`, `until`, `||`, `&&`) | Add explicit `|| exit $?` after critical commands; use `trap ERR` for global coverage |\n| trap EXIT fires but script continues running because trap does not exit automatically | trap EXIT runs cleanup code but does not stop script execution after trap completes | Add exit at end of trap body; use trap \"cleanup; exit\" EXIT pattern for termination |\n| Edge case: process substitution \u003C() creates named pipe that leaks if shell exits before read | Process substitution file descriptor stays open; zombie process if parent exits without consuming output | Use temp file with trap cleanup instead of process substitution for critical scripts |\n","# Scripting Expert\n\n**Bash\u002FZsh + PowerShell: CI\u002FCD, automation, hooks and testing.**\n\n## Core Stack\n\n- POSIX Shell: Bash 5+ \u002F Zsh (macOS default)\n- Windows\u002FCross: PowerShell 7+ (.NET Core, cross-OS)\n- Linting: ShellCheck (bash), PSScriptAnalyzer (PowerShell)\n- Testing: bats-core (bash), Pester (PowerShell)\n- team context: Airflow bash operators, Helm hooks, CI\u002FCD scripts\n\n## Bash\u002FZsh Patterns\n\n### Safety Header (MANDATORY)\n\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bash\nset -euo pipefail\n```\n\n- `-e`: exit on first error (NEVER omit)\n- `-u`: error on undefined variable\n- `-o pipefail`: pipe fails if any command in pipe fails\n\n### Idempotent Operations\n\n```bash\n# Check state before acting — never assume\nif ! command -v aws &>\u002Fdev\u002Fnull; then\n  echo \"Error: aws CLI not installed\" >&2\n  exit 1\nfi\n\n# Idempotent create-if-not-exists\nif [[ ! -d \"\u002Fopt\u002Fexample\u002Fconfig\" ]]; then\n  mkdir -p \"\u002Fopt\u002Fexample\u002Fconfig\"\nfi\n```\n\n### Traps for Cleanup\n\n```bash\ncleanup() {\n  rm -f \"${TEMP_FILE}\"\n  docker stop \"${CONTAINER_ID}\" 2>\u002Fdev\u002Fnull || true\n}\ntrap cleanup EXIT\n```\n\n### Quoting Rules\n\n```bash\n# ALWAYS quote variables\ncp \"${SOURCE}\" \"${DEST}\"      # correct\ncp $SOURCE $DEST              # breaks on spaces — NEVER\n\n# NEVER use backticks — use $()\nfiles=$(find . -name \"*.go\") # correct\nfiles=`find . -name \"*.go\"`   # deprecated — NEVER\n```\n\n## PowerShell 7+ Patterns\n\n```powershell\n# Error handling\n$ErrorActionPreference = \"Stop\"\n\n# Idempotent: check before create\nif (-not (Test-Path \"C:\\example\\config\")) {\n    New-Item -ItemType Directory -Path \"C:\\example\\config\"\n}\n```\n\n## Linting (Golden Chain)\n\n```\nshellcheck script.sh -> bats test\n```\n\n```bash\n# Run shellcheck on all scripts\nfind . -name \"*.sh\" -exec shellcheck {} +\n```\n\n```\nPSScriptAnalyzer -> Pester test\n```\n\n## Testing with bats-core\n\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bats\n\n@test \"script exits 0 on valid input\" {\n  run .\u002Fprocess_item.sh --value 1000 --type standard\n  [ \"$status\" -eq 0 ]\n}\n\n@test \"script exits non-zero on missing value\" {\n  run .\u002Fprocess_item.sh --type standard\n  [ \"$status\" -ne 0 ]\n}\n```\n\n## Patterns\n\n### Airflow Bash Operator\n\n```python\n# data-orchestration-airflow\nBashOperator(\n    task_id=\"validate_partitions\",\n    bash_command=\"scripts\u002Fvalidate_partitions.sh --table {{ ds }}\",\n    dag=dag\n)\n```\n\n### Helm Hook\n\n```yaml\n# infraestructure-helm\napiVersion: batch\u002Fv1\nkind: Job\nmetadata:\n  annotations:\n    \"helm.sh\u002Fhook\": pre-upgrade\nspec:\n  template:\n    spec:\n      containers:\n      - name: migrate\n        command: [\"\u002Fscripts\u002Fmigrate.sh\"]\n```\n\n## Choosing Between Shells\n\n| Scenario | Shell |\n|---|---|\n| macOS\u002FLinux CI | Bash (shebang `#!\u002Fusr\u002Fbin\u002Fenv bash`) |\n| Cross-platform | PowerShell 7+ |\n| Airflow operators | Bash (Linux workers) |\n| Helm hooks | Bash (container images) |\n| Windows targets | PowerShell |\n\n## Constraints\n\n- ALWAYS `set -euo pipefail` or equivalent error handling\n- NEVER use backticks — `$()` only\n- ALWAYS quote variables in bash (spaces break unquoted)\n- NEVER `eval` on user\u002Fexternal input\n- NEVER hardcode secrets — use env vars or secret management\n- ALWAYS log to stderr for diagnostics (`>&2`), stdout for data output\n- ALWAYS handle exit codes explicitly — never assume success\n- NEVER `rm -rf` without explicit path validation\n- NEVER `curl | bash` — download, verify, then execute\n- ALWAYS test idempotency: run twice, expect same result\n\n## Overview\n\nAutomate infrastructure and CI\u002FCD through shell scripts (Bash\u002FZsh for macOS\u002FLinux) and PowerShell 7+ (cross-OS): Helm hooks, Airflow operators, idempotent operations, static validation with ShellCheck\u002FPSScriptAnalyzer, and testing with bats-core\u002FPester.\n\n## Quick Reference\n\n| Task | Tool | Command |\n|---|---|---|\n| Bash linting | ShellCheck | shellcheck script.sh |\n| Bash testing | bats-core | bats test.bats |\n| PowerShell linting | PSScriptAnalyzer | Invoke-ScriptAnalyzer script.ps1 |\n| PowerShell testing | Pester | Invoke-Pester test.ps1 |\n| Safety header | Bash | set -euo pipefail |\n\n## Workflow\n\n1. Add safety header: `set -euo pipefail` (Bash) or `$ErrorActionPreference = \"Stop\"` (PowerShell)\n2. Check prerequisites: commands exist, files accessible\n3. Implement idempotent operations (check state before changing)\n4. Add traps for cleanup of temp files and resources\n5. Run shellcheck\u002FPSScriptAnalyzer linting\n6. Write bats-core\u002FPester tests, run twice to verify idempotency\n\n## Anti-patterns\n\nFAIL: Running rm -rf without path validation\n```bash\n# BAD: unvalidated path\nrm -rf \"${DIR}\u002Ftemp\"\n\n# GOOD: validate path is safe\n[[ \"${DIR}\" == \"\u002Ftmp\u002Fexample\u002F\"* ]] || { echo \"unsafe path: ${DIR}\" >&2; exit 1; }\nrm -rf \"${DIR}\u002Ftemp\"\n```\n\nFAIL: Piping curl output directly to shell\n```bash\n# BAD: execute without verification\ncurl -sL https:\u002F\u002Fexample.com\u002Finstall.sh | bash\n\n# GOOD: download, verify, then execute\ncurl -sL -o install.sh https:\u002F\u002Fexample.com\u002Finstall.sh\nsha256sum -c install.sha256 && bash install.sh\n```\n\nFAIL: Using eval with user-supplied input\n```bash\n# BAD: eval on external input\neval \"command ${user_input}\"\n\n# GOOD: structured parsing with validation\ncase \"${user_input}\" in\n    start|stop|restart) service_action \"${user_input}\" ;;\n    *) echo \"invalid action\" >&2; exit 1 ;;\nesac\n```\n\n## References\n\n- ShellCheck documentation: https:\u002F\u002Fwww.shellcheck.net\u002F (last_verified: 2026-05)\n- bats-core test framework: https:\u002F\u002Fgithub.com\u002Fbats-core\u002Fbats-core (last_verified: 2026-05)\n- PowerShell PSScriptAnalyzer: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpowershell\u002Fmodule\u002Fpsscriptanalyzer\u002F (last_verified: 2026-05)\n\n- [references\u002Fbash-patterns.md](references\u002Fbash-patterns.md)\n- [references\u002Fidempotency.md](references\u002Fidempotency.md)\n- [references\u002Ftesting-bats.md](references\u002Ftesting-bats.md)\n\n## Verification Checklist\n\n- [ ] Safety header present: `set -euo pipefail` (Bash) or `$ErrorActionPreference = \"Stop\"` (PowerShell)\n- [ ] All variables quoted in Bash (no unquoted expansions)\n- [ ] No backticks used — `$()` syntax only\n- [ ] No `eval` on user or external input\n- [ ] No `rm -rf` without explicit path validation\n- [ ] Cleanup trap registered for temp files and resources\n- [ ] Exit codes handled explicitly (never assume success)\n- [ ] Idempotency verified: script produces same result when run twice\n\n## Troubleshooting\n\n| Symptom | Likely cause | Fix |\n|---------|-------------|-----|\n| Script fails on paths with spaces | Variables not quoted | Wrap all variable expansions in double quotes: `\"${VAR}\"` |\n| Trap cleanup not triggered on error | `set -e` causes exit before `trap` registers | Move `trap` registration to top of script, before any commands |\n| ShellCheck passes but script behaves differently on macOS | Bash version differences (3.2 on macOS vs 5+ on Linux) | Test on target OS; avoid Bash 4+ only features or use `#!\u002Fusr\u002Fbin\u002Fenv bash` compatible syntax |\n| `trap` does not catch `SIGKILL` (known limitation: SIGKILL cannot be trapped) | `kill -9` bypasses all trap handlers | Use `SIGTERM` as primary signal; implement watchdog process for forced termination cleanup |\n\n| [WARN] Bash `set -euo pipefail` still ignores error in `if` condition or `&&` chain | `set -e` is disabled inside conditions (`if`, `while`, `until`, `||`, `&&`) | Add explicit `|| exit $?` after critical commands; use `trap ERR` for global coverage |\n| trap EXIT fires but script continues running because trap does not exit automatically | trap EXIT runs cleanup code but does not stop script execution after trap completes | Add exit at end of trap body; use trap \"cleanup; exit\" EXIT pattern for termination |\n| Edge case: process substitution \u003C() creates named pipe that leaks if shell exits before read | Process substitution file descriptor stays open; zombie process if parent exits without consuming output | Use temp file with trap cleanup instead of process substitution for critical scripts |\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"status":26,"version":27,"category":28},"Community","stable","1.0","infrastructure","main","6692ee5cbe39d4533b824e1c55d7d4fc01c4dde7","content\u002Fskills\u002Fscripting-expert",0,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant","https:\u002F\u002Fgithub.com\u002Fronsilver",":v","2026-08-27 05:49:26",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add ronsilver\u002Fagent-covenant --skill scripting-expert",{"tool":43,"command":44},"bunx","bunx skills add ronsilver\u002Fagent-covenant --skill scripting-expert",{"tool":46,"command":47},"pnpm","pnpm dlx skills add ronsilver\u002Fagent-covenant --skill scripting-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fscripting-expert\u002FSKILL.md",true,[51,57,61,65],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"evals\u002Fevals.json","REFERENCE","参考文档",2375,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fscripting-expert\u002Fevals\u002Fevals.json",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fbash-patterns.md",1181,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fscripting-expert\u002Freferences\u002Fbash-patterns.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fidempotency.md",1207,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fscripting-expert\u002Freferences\u002Fidempotency.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Ftesting-bats.md",938,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fscripting-expert\u002Freferences\u002Ftesting-bats.md",[70,77,84,91,98,105],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7A7HYVYNZ60GNGWAV51ZQ52","web-browsing-agent-expert","Web browsing for AI agents: driving a headless browser (Playwright, Puppeteer) from agent tooling, navigation and page-state grounding, DOM extraction and structured data capture, form interaction, session and cookie management, anti-bot mitigation awareness, and safe browsing rules (no PII exfiltration, respect robots and terms). Use when building a browsing tool or MCP server for an agent, teaching an agent to navigate and read web pages, extracting structured content from dynamic sites, or handling login walls and pagination in agent workflows. Trigger: web browsing agent, headless browser, Playwright MCP, Puppeteer, browser automation for agents, DOM extraction, page navigation, session management. Do NOT trigger for: end-to-end UI testing of an application (use playwright-expert); writing standalone scraping scripts for data pipelines (use python-expert); fetching a single public URL (use the fetch tool).","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fweb-browsing-agent-expert\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7A7HRC6951BAJ9NHBZA2M7Y","vector-databases","Design and operate vector databases for cloud-native AI features. Use when selecting between pgvector, Pinecone, or Weaviate for AI context layer or integration-hub; designing embedding schemas and index parameters; implementing ANN search with metadata filtering; managing embedding model versions; optimizing query latency; or debugging low retrieval quality. Pairs with rag-architecture for pipeline design and postgres-database-expert for pgvector specifics. Trigger: vector database, pgvector, Pinecone, Weaviate, embedding, ANN search, HNSW, cosine similarity. Do NOT trigger for: relational SQL optimization, standard PostgreSQL schema design, Redis caching.","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fvector-databases\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7A7HGHGWE7NZ5A08HQZJXDN","typescript-expert","Full-stack TypeScript stack for modern projects: frontend SSR\u002FCSR with Next.js 14 App Router and React, backend APIs with Node.js (Express\u002FFastify), state management with Zustand\u002FRedux Toolkit, unit and integration testing with Vitest\u002FJest + React Testing Library + MSW, and static analysis with ESLint\u002FPrettier\u002Ftsc. Use when building React components or hooks, implementing Next.js App Router or Server Components, writing Node.js REST API handlers, implementing middleware (auth, rate-limit, logging), managing client state (Zustand\u002FRTK), writing frontend\u002Fbackend tests, or running TypeScript linting\u002Ftype checks. Trigger: TypeScript, Next.js, React, Zustand, Node.js, Express, Fastify, MSW, Vitest. Do NOT trigger for: Python backend development, Go microservices, iOS\u002Fmobile development.","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftypescript-expert\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7A7H83JK9SENNYAPTTB6B4A","tool-usage","Guide correct tool selection, design, and orchestration for AI agents. Use when choosing between dedicated vs Bash tools, designing MCP tool interfaces, naming tool parameters, handling tool response limits, orchestrating parallel vs sequential calls, evaluating tool accuracy, applying ACI design principles, selecting workflow patterns, or reading\u002Ffiltering\u002Ftransforming\u002Fgenerating structured data (JSON, YAML, CSV, TOML, XML). Trigger: tool selection, MCP tool design, orchestration, ACI, parallel execution, composite tool, structured data, jq, yq, dasel, mlr, csvkit. Do NOT trigger for: writing application business logic, domain-specific development (route to domain skill), database migrations.","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftool-usage\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7A7GZ9A2VA9T7BJ07VV3PD5","token-efficiency","Enforce token-efficient output, compression, caching, and model routing. Use when calibrating response verbosity, applying compression strategies to logs or RAG chunks, routing tasks to the right model tier, setting thinking budgets, enforcing word limits, compressing context before reinitiation, applying KV-cache ordering, masking tool output observations, or applying clarification-first protocol before irreversible actions. Trigger: token efficiency, compression, model routing, thinking budget, KV-cache, clarification protocol. Do NOT trigger for: non-agent tooling, CI\u002FCD pipeline scripting, infrastructure provisioning.","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftoken-efficiency\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7A7GQFTY8GWVN4Z66Q4J52V","time-series-db","Time-series database patterns for cloud-native metrics and analytics: TimescaleDB, InfluxDB, and Amazon Timestream selection; continuous aggregates, retention policies, downsampling, and integration with Prometheus\u002FGrafana. Use when storing business metrics over time, building custom business dashboards, designing high-frequency event storage, or querying time-bucketed aggregations. Trigger: time-series, TimescaleDB, InfluxDB, Prometheus, Grafana, hypertable, continuous aggregate, retention policy. Do NOT trigger for: relational PostgreSQL schema design, NoSQL document stores, Kafka event streaming.","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftime-series-db\u002FSKILL.md",[],[]]