metatooth-metatooth-shell-instructions.ocm.json json Copy{
"ocm": "1",
"id": "metatooth-metatooth-shell-instructions",
"kind": "skill",
"name": "shell",
"description": "Shell Script Review Instructions",
"publisher": "metatooth",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Shell Script Review Instructions"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/metatooth/metatooth",
"path": ".github/instructions/shell.instructions.md",
"ref": "f500aeac7e718644ae649a89792d39077c8b9f26",
"url": "https://github.com/metatooth/metatooth/blob/f500aeac7e718644ae649a89792d39077c8b9f26/.github/instructions/shell.instructions.md",
"key": "metatooth/metatooth/.github/instructions/shell.instructions.md"
},
"applies_to": "**/*.sh"
},
"instructions": "# Shell Script Review Instructions\n\n## Error Handling\n- Scripts should use `set -e` to exit on errors\n- Use `set -u` to catch undefined variables\n- Consider `set -o pipefail` for pipeline error handling\n\n## Build Scripts (build.sh)\n- Clone from GitHub when branch is not \"local\"\n- Stage deployment files to `/tmp/{domain}.com/deployment/`\n- Clean up temporary directories on completion\n\n## Variables\n- Use uppercase for environment variables (GROWHERBERT_BRANCH, LYNNGROWN_BRANCH)\n- Quote all variable expansions: `\"${VAR}\"`\n- Provide sensible defaults: `${VAR:-default}`\n\n## Git Operations\n- Use `--",
"cost": {
"context_tokens": 174
}
}