AGENT SKILL

bash-script-generator

Create or modify shell scripts using the requested shell and validate the actual output.

License 许可
Apache-2.0
最近更新
2026-11-11
Stars
★ 1
Forks
0

01 前言 Front Matter

name
bash-script-generator
description
Create or modify shell scripts using the requested shell and validate the actual output.

02 资源文件 4

03 SKILL.md 正文

Shell script generation

Before repository work, read and apply Mandatory agent tools in the repository root at docs/agent-tools.md: Caveman for every task, CocoIndex Code before broad code navigation, and Crawl4AI for web-page research. Retain actual execution evidence.

Determine the intended interpreter, inputs, outputs, failure behavior and target environment from the request and existing project. Default to Bash only when no different shell is required. Use the project's conventions and dependencies; do not promise POSIX sh portability for Bash-specific syntax or a Bash scaffold. For a POSIX sh target, write for that shell and check the actual supported implementations; a syntax check alone does not establish portability.

Implement the requested behavior with appropriate argument handling and meaningful tests. Validate the generated script itself, using the intended interpreter's syntax check and, when available, ShellCheck configured for that interpreter. Run representative behavior and failure cases in an isolated test workspace. Report commands, results, unavailable checks and remaining limits. A syntax check does not run the script or establish functional correctness.

Do not assume set -e handles every failure. In Bash, a function called as an if condition can continue after a failing command even when errexit is enabled; explicitly propagate failures that matter. With Bash pipefail, check the pipeline result and do not interpret it as identifying the command that finished last. Test the actual control flow and shell versions used by the script.

The upstream scripts/run_ci_checks.sh checks the skill's bundled files and its own regression tests; it does not accept the generated script as an input. Its passing result is not validation of the user's output. The upstream standard template uses Bash features and is not a POSIX sh scaffold.

The original upstream instructions are preserved at provenance/original.SKILL.md. This overlay addresses selected interpreter and validation issues; its component controls do not measure coding-agent effectiveness.

04 同仓库更多 Skills

strmt7
strmt7/ai_skills_collection_benchmarked

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

测试与质量前端开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

Skill与智能体开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

playwright-skill

Complete browser automation with Playwright. Auto-detects dev servers, writes reusable test scripts, and supports screenshots, responsive checks, UX validation, login flows, link checks, and arbitrary browser automation. Use when the user wants to test a website, automate browser interactions, validate web functionality, or perform browser-based testing.

测试与质量Skill与智能体开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

前端开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

设计师前端开发视觉设计
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

zarr-python

Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.

★ 1