Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions agents/priyanshu360__aigen-agent/README.md
Original file line number Diff line number Diff line change
@@ -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 |
15 changes: 15 additions & 0 deletions agents/priyanshu360__aigen-agent/metadata.json
Original file line number Diff line number Diff line change
@@ -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
}