CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

bash-script-generator

Creates bash scripts with argument parsing, error handling, logging, and input validation following current standards. Use when creating new bash or shell scripts, .sh files, CLI tools, scripting automation, text processing workflows (grep/awk/sed pipelines), or building production-ready command-line utilities. Trigger phrases include 'write a bash script', 'create a shell script', 'generate a .sh file', 'bash command', 'scripting', or 'automate with bash'.

69

Quality

87%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

73%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly actionable generator skill with a clear staged workflow and an explicit validation feedback loop. Its weaknesses are noticeable internal duplication (Mindset vs. Anti-Patterns, Pattern 1 vs. Stage 4, Key Best Practices vs. Anti-Patterns) and one broken reference path (examples/log-analyzer.sh resolves to assets/log-analyzer.sh).

Suggestions

Fix the broken reference: change 'examples/log-analyzer.sh' in the References section to the actual path 'assets/log-analyzer.sh'.

Deduplicate content: the Mindset paragraph restates the 'set -euo pipefail' rationale already covered by Anti-Pattern 1, and Pattern 1 re-implements Stage 4's getopts parsing — keep one authoritative location and reference it from the other.

Consolidate the overlapping guidance between 'Key Best Practices' and 'Anti-Patterns' (variable quoting and eval both appear in both sections), e.g. by making Key Best Practices a brief pointer to the Anti-Patterns entries.

DimensionReasoningScore

Conciseness

Mostly dense, actionable code rather than explanations of known concepts, but there is real duplication: the Mindset's 'Never trust set -e alone... always pair it with -u and -o pipefail' restates Anti-Pattern 1's WHY; Pattern 1 re-implements Stage 4's getopts parsing; and quoting/eval guidance appears in both 'Key Best Practices' and 'Anti-Patterns'. Not 4: the redundancy goes beyond minor trimmable instances; not 2: most content earns its place.

3 / 5

Actionability

Concrete, copy-paste-ready code for logging, error handling, getopts parsing, and main(), plus executable commands like 'bash scripts/generate_script_template.sh standard output-script.sh'. Not 5: some pieces are stubs or delegated — 'process_file() { cat "${file}"; }' as a placeholder, 'Add log_debug with LOG_LEVEL guard from template', and '# Main logic here' comments leave minor gaps.

4 / 5

Workflow Clarity

An explicit 8-stage sequence with a REQUIRED pre-generation checklist (clarify ambiguities, explain approach) and a validate -> fix -> re-validate feedback loop in Stage 8 ('Run validator... Fix issues and re-validate until all checks pass'), matching the anchor-5 pattern including error recovery. Not 4: validation checkpoints are explicit at both the start and end of the workflow, not just present.

5 / 5

Progressive Disclosure

Good structure with clearly annotated one-level-deep references ('references/text-processing-guide.md — grep/awk/sed selection...'), and full implementations correctly delegated to 'assets/templates/standard-template.sh'. Not 5: the body references 'examples/log-analyzer.sh', but the file actually lives at 'assets/log-analyzer.sh' — a broken navigation path — and Stage 4's full code blocks partially duplicate the template file.

4 / 5

Total

16

/

20

Passed

Description

96%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An excellent description: concrete capabilities, explicit use-when guidance with trigger phrases, and comprehensive natural-language keywords including the .sh extension. The only weakness is that broad triggers like 'bash command' could fire on one-off commands the skill explicitly says not to handle.

DimensionReasoningScore

Specificity

The description lists multiple concrete capabilities — 'argument parsing, error handling, logging, and input validation' — comparable in breadth to the anchor-5 example's 'extract text and tables... fill forms, merge documents'. Coverage of the script-generation domain is comprehensive rather than having minor gaps, so it does not fit the anchor-4 example.

5 / 5

Completeness

It explicitly answers both what ('Creates bash scripts with argument parsing, error handling, logging, and input validation following current standards') and when ('Use when creating new bash or shell scripts, .sh files, CLI tools, scripting automation...') with concrete trigger phrases, mirroring the anchor-5 example structure. Not 4: the 'when' clause is fully explicit, not merely present.

5 / 5

Trigger Term Quality

It covers natural terms comprehensively with synonyms and file extensions — 'bash or shell scripts, .sh files, CLI tools' — plus quoted user phrases like 'write a bash script', 'create a shell script', 'generate a .sh file', 'bash command', 'scripting', 'automate with bash'. This matches anchor 5 (synonyms + .sh extension); anchor 4 would require missing natural terms, which is not the case.

5 / 5

Distinctiveness Conflict Risk

It carves a clear bash/shell-script niche with mostly distinct triggers, but the generic phrases 'bash command' and 'scripting' risk triggering for one-off interactive commands that the body's 'When NOT to Use' section explicitly excludes. This is the anchor-4 'minor overlap risk' fit rather than anchor 5's 'minimal conflict risk'; anchor 3 would require overlap with other skills, which the bash-specific framing avoids.

4 / 5

Total

19

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 2 deeper-than-1-level

Warning

Total

15

/

16

Passed

Repository

pantheon-org/tekhne

Path

skills/development/scripting/bash-script/generator/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.