Library Implementer (Bash)
The Library Implementer skill provides context injection for creating well-structured Bash library files with reusable functions following shell best practices.Overview
| Property | Value |
|---|---|
| Skill ID | ct-library-implementer-bash |
| Tier | 2 (Execution) |
| Protocol | implementation |
| Tags | implementation, bash, library |
Capabilities
- Function Libraries - Create lib/*.sh files with related functions
- Utility Functions - Implement shared helper functions
- Module Design - Organize functions into cohesive modules
- Documentation - Document function signatures and usage
When to Use
The dispatch algorithm selects ct-library-implementer-bash for:- Tasks with keywords:
bash,library,shell,lib/ - Tasks labeled:
bash-library - Task type:
bash-library
Directory Structure
Library Template
Naming Conventions
Input Validation
Error Handling
JSON Output
Module Organization
Single Responsibility
Dependency Layers
Execution Flow
Output Location
Libraries are created in:lib/{{MODULE_NAME}}.sh
Related Skills
- Test Writer - Creates tests for libraries
- Task Executor - General implementation
- Validator - Validates code quality
