AGENT SKILL

agentbot-opensource

暂无简介

License 许可
MIT
最近更新
2026-06-11
Stars
★ 0
Forks
0

03 SKILL.md 正文

# agentbot-opensource Development Patterns

> Auto-generated skill from repository analysis

## Overview
This skill teaches the core development conventions and workflows for contributing to the `agentbot-opensource` repository. The project is written in TypeScript and uses the Hono framework for building web applications. It follows consistent coding standards, commit patterns, and test file organization to ensure code quality and maintainability.

## Coding Conventions

### File Naming
- Use **camelCase** for file names.
  - Example: `userSession.ts`, `messageHandler.ts`

### Import Style
- Use **relative imports** for internal modules.
  - Example:
    ```typescript
    import { getUser } from './userService';
    ```

### Export Style
- Use **named exports** for all modules.
  - Example:
    ```typescript
    // userService.ts
    export function getUser(id: string) { ... }
    export function createUser(data: UserData) { ... }
    ```

### Commit Patterns
- Follow **conventional commits** with a `build` prefix for build-related changes.
  - Example:
    ```
    build: update dependencies to latest versions
    ```
- Commit messages are concise, averaging around 78 characters.

## Workflows

### Code Contribution
**Trigger:** When adding new features, fixing bugs, or updating code.
**Command:** `/contribute`

1. Create a new branch from `main`.
2. Write code following the coding conventions above.
3. Add or update tests as needed (see Testing Patterns).
4. Commit changes using the conventional commit format.
5. Push your branch and open a pull request.

### Dependency Management
**Trigger:** When dependencies need to be updated or added.
**Command:** `/update-deps`

1. Run the package manager to install or update dependencies.
   ```bash
   npm install [package-name]
  1. Commit the changes with a build prefix.
    build: add [package-name] for [purpose]
    
  2. Push and create a pull request if necessary.

Testing Patterns

  • Test files use the pattern *.test.* (e.g., userService.test.ts).
  • The testing framework is unknown; check existing test files for framework-specific syntax.
  • Place tests alongside the modules they test or in a dedicated tests directory.
  • Example test file name:
    messageHandler.test.ts
    

Commands

Command Purpose
/contribute Start the code contribution workflow
/update-deps Update or add dependencies

04 同仓库更多 Skills

dnzengou
dnzengou/agentbot-opensource

provisioning-v1

暂无简介

★ 0
dnzengou
dnzengou/agentbot-opensource

get-api-docs

Use this skill when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", "query Pinecone", or any time the user asks you to write code against an external service and you need current API reference. Fetch the docs with chub before answering, rather than relying on training knowledge.

★ 0
dnzengou
dnzengou/agentbot-opensource

zyfai

Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial deterministic subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.

★ 0
dnzengou
dnzengou/agentbot-opensource

zerion

Interpreted crypto wallet data for AI agents. Use when an agent needs portfolio values, token positions, DeFi positions, NFT holdings, transaction history, PnL data, token prices, charts, gas prices, swap quotes, or DApp information across 41+ chains. Zerion transforms raw blockchain data into agent-ready JSON with USD values, protocol labels, and enriched metadata. Supports x402 pay-per-request ($0.01 USDC on Base) and API key access. Triggers on mentions of portfolio, wallet analysis, positions, transactions, PnL, profit/loss, DeFi, token balances, NFTs, swap quotes, gas prices, or Zerion.

★ 0
dnzengou
dnzengou/agentbot-opensource

zapper

Placeholder for Zapper skill.

★ 0
dnzengou
dnzengou/agentbot-opensource

yoink

Play Yoink, an onchain capture-the-flag game on Base. Yoink the flag from the current holder, check game stats and leaderboards, view player scores, and compete for the trophy. Uses Bankr for transaction execution.

★ 0