diff --git a/agents/priyanshu360__aigen-agent/README.md b/agents/priyanshu360__aigen-agent/README.md new file mode 100644 index 0000000..aa12528 --- /dev/null +++ b/agents/priyanshu360__aigen-agent/README.md @@ -0,0 +1,36 @@ + +# Aigen Agent — LLM Skill Definitions + +Agent repository for [Aigen](https://github.com/priyanshu360/aigen), the build-time TypeScript function generator. + +This repo defines the LLM agent's personality, rules, and skills used to generate utility functions at build time. It's a separate Git repo so prompts can be versioned and iterated independently of the build tool. + +## Structure + +``` +aigen-agent/ +├── agent.yaml ← agent metadata, model, skill list +├── SOUL.md ← agent personality and core principles +├── RULES.md ← generation constraints and style rules +├── skills/ +│ ├── utility-function-generation/ ← generates TypeScript from call-site context +│ ├── type-inference/ ← infers argument/return types +│ └── compile-error-repair/ ← fixes functions that fail tsc +└── workflows/ + └── generate-function.yaml ← orchestrates the generation flow +``` + +## Usage + +Point your Vite/esbuild plugin's `agentDir` option to this repo: + +```ts +aigenPlugin({ agentDir: "../aigen-agent" }) +``` + +## Relation to Aigen + +| Repo | Purpose | +|---|---| +| `aigen` (build tool) | Scanner, pipeline, plugins, runtime | +| `aigen-agent` (this repo) | LLM prompts, skills, rules | diff --git a/agents/priyanshu360__aigen-agent/metadata.json b/agents/priyanshu360__aigen-agent/metadata.json new file mode 100644 index 0000000..9117f84 --- /dev/null +++ b/agents/priyanshu360__aigen-agent/metadata.json @@ -0,0 +1,15 @@ +{ + "name": "aigen-agent", + "author": "priyanshu360", + "description": "Generates TypeScript utility functions from call-site context, infers types, and repairs compilation errors", + "repository": "https://github.com/priyanshu360/aigen-agent", + "path": "", + "version": "1.0.0", + "category": "developer-tools", + "tags": ["typescript", "code-generation", "build-time", "utility-functions"], + "license": "MIT", + "model": "claude-sonnet-4-5-20250929", + "adapters": ["claude-code", "system-prompt"], + "icon": false, + "banner": false +}