Skip to content

DOC

Context LLM — ulk

Context LLM — ulk

Snapshot pour injection dans un prompt LLM. ~15K caracteres max.


Projet

ulk est un AI Development Toolkit open-source (MIT) qui etend Claude Code avec 46+ agents IA specialises. Monorepo leger, zero dependances npm a la racine. Version 4.0.1. Auteur : Mathieu Drouet (izo). Repository : github.com/izo/ulk.

Structure

ulk/
├── agents/           # 46+ agents (.md + frontmatter YAML)
│   ├── _shared/      # 13 protocoles partages
│   ├── orchestrators/  # Bruce (25), Blackemperor (18), Lovecraft (47)
│   ├── docs/         # Shuri (01), Friday (09)
│   ├── audit/        # Sargeras (45), Vision (05), A11y (06), Perf (07), SEO (32)
│   ├── session/      # 2b3 (08), Robocop (11), Gandalf (34), Task-runner (04)
│   ├── specials/     # Strange (16), Tony (50), Rodin (46), Sensei (38)
│   ├── mobile/       # Happy (49), Steve (27), Fluke (48)
│   ├── sync/         # Brigitte (24), Bifrost (21)
│   ├── analyze/      # Analyseurs stack (Astro, Next, Nuxt, SPIP, SwiftUI)
│   ├── deploy/       # Vercel, Netlify, Cloudflare, Docker, AWS
│   ├── test/         # Unit (Jest/Vitest), E2E (Playwright/Cypress)
│   ├── frontend/     # 7 agents + checklists
│   └── vps/          # 17+ agents VPS (optionnel)
├── commands/         # Miroir installable (genere)
├── skills/           # 12 skills CLI
├── schemas/          # 11 JSON Schemas (draft-07)
├── packages/
│   ├── core/         # @ulk/core (TypeScript: parsers, types, GitHub client)
│   └── status-board/ # Dashboard CLI
├── .claude/
│   ├── agents/       # 8 subagents persistants (memory: local)
│   └── rules/        # 6 regles path-specific
├── site/             # GitHub Pages
├── cheatheet/        # Generateurs docs (Node.js vanilla)
├── tools/            # CLI registry (33+ outils) + diagnostic
└── install.sh        # Installeur idempotent

Agents principaux

Agent#ModeleMission
Bruce25opusPoint d’entree PM, orchestre tout
Godspeed00sonnetDiagnostic projet, cache 30min
Shuri01sonnetPipeline doc : spec/todo/sync/full
Task-runner04sonnetExecute taches todo.md
Vision05sonnetAudit code 8 dimensions + simplify
A11y-auditor06sonnetWCAG 2.1/2.2
Perf-auditor07sonnetCore Web Vitals, bundle, DB
2b308sonnetCheckpoint fin de session
Robocop11opusFix erreurs (runtime, compile, test)
Blackemperor18opusOrchestrateur 5 modes
Sargeras45opusAudit omniscient 10 axes
Tony50opusBrief vers stack + archi + timing

Distribution : 10 agents opus (orchestration complexe), 62+ agents sonnet (taches focalisees).

Commandes essentielles

# Installation
curl -fsSL https://raw.githubusercontent.com/izo/ulk/main/install-remote.sh | bash
./install.sh                    # Locale
./install.sh --with-vps --with-teams --with-memory-loop  # Options

# Mise a jour
git pull && ./install.sh

# Generateurs
node cheatheet/generate-commands.cjs   # commands/ depuis agents/
node cheatheet/generate-registry.cjs   # registry.json + registry.md

# Packages
cd packages/core && npm install && npm run build && npm run test
node packages/status-board/src/cli.js  # Dashboard

# Diagnostic
./install.sh --check   # CLI + Skills
./install.sh --verify  # Installation

Workflows cles

Nouveau projet : bruce go -> Godspeed diagnostic -> Shuri spec + todo -> Task-runner execute.

Session dev : bruce next -> Task-runner prend la tache -> implemente -> 2b3 checkpoint + commit.

Audit complet : blackemperor audit -> Shuri spec -> [Vision + Perf + A11y] parallele -> todo consolide.

Fix erreur : bruce fix ou fix #42 -> Robocop diagnostic -> fix -> verification -> close issue.

Pre-release : blackemperor mode=release -> audits paralleles -> Robocop -> tests -> GO/NO-GO.

Conventions

Format agent : fichier .md avec frontmatter YAML (name, model, phase, tools, invocation, extends).

Phases : define -> plan -> build -> verify -> review -> ship -> orchestrator. Max 3 phases par agent.

Modeles : opus = orchestrateurs/analyse complexe. sonnet = taches focalisees.

Context Protocol : bloc CONTEXTE PROJET: transmis par les orchestrateurs aux sous-agents. Economise 3-10K tokens par agent en evitant le re-scan.

CLI > MCP : preferer les CLI (gh, vercel, neonctl) aux MCP pour 0 token de contexte. MCP reserves a Figma, Notion, Linear.

Regle des 50% : ne jamais depasser 50% du contexte LLM. /clear proactif a 40%.

Todo.md Monoboard : format Kanban compatible Obsidian. Colonnes : Backlog / Todo / In Progress / Blocked / Done. Priorites P0-P3, efforts XS-XXL.

Frontmatter standard : title, type, category, date, status (draft/active/deprecated/archived), author, tags.

Git : [prefix]: [description] (#ID). Prefixes : feat, fix, refactor, docs, test, chore, perf, security.

Non-destructif : les agents ne suppriment jamais de contenu utilisateur.

Idempotent : install.sh et les agents produisent le meme resultat a chaque execution.

Memoire

8 subagents avec memory: local dans .claude/agents/ : bruce, godspeed, gandalf, task-runner, 2b3, strange, steve, tony. Stockage : ~/.claude/agent-memory-local/<agent>/.

Knowledge Vault Loop : MEMORY.md (staging) -> lovecraft capture -> docs/_memory/ (vault Obsidian) -> lovecraft distribute -> CLAUDE.md (bloc vault:begin/end).

Fichiers d’etat

  • docs/spec.md — Specification projet (source de verite)
  • docs/todo.md — Kanban Monoboard (backlog priorise)
  • CLAUDE.md — Instructions projet pour Claude Code
  • agents/registry.json — Registre auto-genere (72 agents)
  • tools/cli-registry.json — Registre 33+ outils CLI