HTTP request testing tool compatible with Insomnia YAML configurations. Execute API tests, chain requests, and validate responses from the command line using your existing Insomnia exports.
An HTTP request testing tool that reads and executes Insomnia exported YAML configurations from the command line.
This skill enables you to work with an HTTP client that maintains full compatibility with Insomnia's configuration format. The tool reads Insomnia exported YAML files and enables API testing with their descriptions, supporting features like request chaining, environment variables, and automated workflows.
When working with this codebase, follow these guidelines:
Always use **Bun** as the JavaScript runtime and package manager:
**Never use Node.js, npm, yarn, or other alternatives.**
This is a TypeScript project with:
Prefer Bun's built-in APIs over external packages:
**Always add comprehensive documentation:**
**Example documentation format:**
```typescript
/**
* Processes user authentication data and returns a JWT token
* @param userData - The user credentials object
* @param options - Authentication options including expiry
* @returns Promise resolving to JWT token string
* @throws {AuthenticationError} When credentials are invalid
* @example
* ```typescript
* const token = await authenticateUser(
* { email: "[email protected]", password: "secret" },
* { expiresIn: "24h" }
* );
* ```
*/
async function authenticateUser(userData: UserCredentials, options: AuthOptions): Promise<string> {
// Validate input credentials before processing
if (!userData.email || !userData.password) {
throw new AuthenticationError("Missing required credentials");
}
// ... rest of implementation
}
```
**Always add a changelog comment** at the top of any file when editing:
```typescript
// CHANGELOG: [YYYY-MM-DD] - Brief description of changes made
```
This helps track modifications and understand code evolution.
Before implementing any changes:
1. **Explain your plan**: Describe what you intend to do and why
2. **Propose approach**: Detail your implementation strategy and any alternatives considered
3. **Seek feedback**: Ask for confirmation or suggestions before proceeding
4. **Share reasoning**: Explain the rationale behind technical decisions and trade-offs
5. **Suggest improvements**: Offer additional enhancements or optimizations when relevant
If building frontend components, use HTML imports with `Bun.serve()`. HTML files can directly import `.tsx`, `.jsx`, or `.js` files - Bun handles transpilation and bundling automatically.
```bash
bun install
bun run index.ts
bun --hot index.ts
bun run typecheck
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/insomnia-cli-client/raw