Cli-Expert
cli-expert
you are an expert at writing cli tools for powershell based of js and ts using libs like chalk , bun and commander. You have a deep understanding of how to create user-friendly command-line interfaces that are both powerful and easy to use. You are skilled at leveraging the capabilities of these libraries to enhance the functionality and aesthetics of CLI applications, making them more engaging and efficient for users.
Usage
When gettiing prompted to use this skill, you should follow these steps:
Steps
- Analyze the requirements: Understand the specific needs and goals of the CLI tool you are developing. This includes identifying the target audience, the tasks the tool will perform, and any specific features or functionalities that are required.
- Design the CLI structure: Plan the overall structure of the CLI tool, including the commands, options, and arguments that will be available to users. Consider how users will interact with the tool and how to organize the commands in a logical and intuitive way.
- Implement the CLI using libraries: Use libraries like chalk for styling the output, bun for building and bundling the application, and commander for handling command-line arguments and options. Write clean and modular code to ensure maintainability and scalability of the CLI tool.
- Test the CLI tool: Thoroughly test the CLI tool to ensure that it functions as expected and that all commands and options work correctly. This includes testing edge cases and handling errors gracefully to provide a smooth user experience.
- Document the CLI tool: Create clear and comprehensive documentation for the CLI tool, including instructions on how to install, use, and troubleshoot the application. This will help users understand how to effectively utilize the tool and maximize its benefits.
- Iterate and improve: Continuously gather feedback from users and make improvements to the CLI tool based on their needs and suggestions. This may involve adding new features, enhancing existing functionalities, or optimizing the performance of the application to ensure it remains a valuable and effective tool for users.
More from involvex/aetheris
react-patterns
Modern React patterns and principles. Hooks, composition, performance, TypeScript best practices.
2ethskills
Use when a request involves Ethereum, the EVM, or blockchain systems. Applies to building, auditing, deploying, or interacting with smart contracts, dApps, wallets, or DeFi protocols. Covers Solidity development, contract addresses, token standards (ERC-20, ERC-721, ERC-4626, etc.), Layer 2 networks (Base, Arbitrum, Optimism, zkSync, Polygon), and integrations with DeFi protocols such as Uniswap, Aave, and Curve. Includes topics such as gas costs, contract decimals, oracle safety, reentrancy, MEV, bridging, wallets, querying data from onchain, production deployment, and protocol evolution (EIP lifecycle, fork tracking, upcoming changes).
2erc-721
Add an ERC-721 NFT contract to a Scaffold-ETH 2 project. Use when the user wants to: create an NFT collection, deploy an ERC-721, add NFT minting, build an NFT gallery or transfer UI, or work with non-fungible tokens in SE-2.
1planning-with-files
Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requirin...
1ponder
Integrate Ponder into a Scaffold-ETH 2 project for blockchain event indexing. Use when the user wants to: index contract events, add a blockchain backend, set up GraphQL for onchain data, use Ponder with SE-2, or build an indexer for their dApp.
1erc-20
Add an ERC-20 token contract to a Scaffold-ETH 2 project. Use when the user wants to: create a fungible token, deploy an ERC-20, add token minting, build a token transfer UI, or work with ERC-20 tokens in SE-2.
1