LumioAgentSpec

agent
Security Audit
Warn
Health Pass
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 15 GitHub stars
Code Warn
  • process.env — Environment variable access in plugin/tools/guard-commit.mjs
  • process.env — Environment variable access in plugin/tools/init-scaffold.mjs
  • process.env — Environment variable access in plugin/tools/inject-rules.mjs
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Spec-driven multi-agent development & adversarial review framework for Claude Code, Codex & DeepSeek Harness (DSH). 通用开发项目管理 Agent 框架:主 loop 调度、对抗审查、方法论技能集。

README.md

LumioAgentSpec

One framework to manage every coding agent.

Switch between Claude Code, Codex, Cursor, Grok and the rest. Your project's rules, context and progress stay put.

English · 简体中文

Agent Plugins 1.0.0
Claude Code plugin
Version
Node
License: MIT

QQ group 972220164
QQ group 972220164
QQ group · anything goes
Workflow community
Workflow community
Feishu topic group · agents and project management
Join the chat before you read the code. Other groups and the big picture are on the LumioGames profile.

The problem

There are a lot of coding agents now: Claude Code, Codex CLI, Cursor, GitHub Copilot, Grok, Kiro. Each is good at something different. Using one today and another tomorrow is normal.

But every switch hurts:

  • You re-teach the rules. What you told Claude Code, Codex has never heard.
  • You re-feed the context. What the project is, how far it got, why it was designed this way. A new agent starts from zero.
  • Every agent works its own way. How to split tasks, how to review, what "done" means. Different per vendor, and often different per session.

So the more agents there are, the less you dare to switch. And when you do, quality drops.

What LumioAgentSpec does

It takes project management away from the agent and gives it to one framework. The agent just does the work.

In three lines:

  1. Switch agents freely. Rules, knowledge, decisions and task progress all live in a .spec/ directory inside the repo, never in any agent's memory. Claude Code today, Codex tomorrow, same view of the project.
  2. One context, managed once. LumioAgentSpec decides which rules are mandatory, what to read before touching code, and where to record what you learned. You never write it per agent.
  3. Quality that does not depend on the agent's mood. Whoever writes the code does not review it. "Done" is decided by machines (lint, tests, a close-out gate), not by the agent saying so.

Which agents

Agent What it gets
Claude Code Everything: skills + the .spec/ project instance + rules injected into every session + the reviewer sub-agent + /lumio:init and /lumio:lint + an automatic pre-commit guard
Codex CLI · Cursor · GitHub Copilot · Kiro and other clients that support the Agent Plugins standard Skills + the .spec/ project instance + an AGENTS.md entry pointer that tells the agent which rules to read first
Grok and any agent that reads AGENTS.md The .spec/ project instance + the AGENTS.md entry pointer

Plainly: the core is identical everywhere (rules, knowledge, tasks, the review procedure), because it is just files in your repo. Claude Code adds automation on top: you don't have to remind it to read the rules or call for review. Other agents read the entry pointer themselves and follow the same procedure.

Quick start

Cursor / Codex / GitHub Copilot / VS Code / Kiro and other clients that support the Agent Plugins standard:

npx plugins add LumioGames/LumioAgentSpec

Claude Code:

claude plugin marketplace add LumioGames/LumioAgentSpec && claude plugin install lumio@lumioagentspec

Any other client / manual setup: load this repo's plugin/skills/ through the Agent Plugins standard, or just let the agent read the project's AGENTS.md.

Then, inside your project, once (this command exists in Claude Code only, for now):

/lumio:init

This creates .spec/ (knowledge base, decision records, task cards, plans) and appends an entry pointer to CLAUDE.md / AGENTS.md. It never overwrites existing files by default, so re-run it after a plugin upgrade to pick up new templates.

Finally fill in two blanks in .spec/AGENTS.md: what the project is and the close-out gate command (your lint + test command, for example). From then on, any agent opening the project knows what it is working on and what "finished" means — including the clients you installed via npx plugins add.

Design principles

The main agent dispatches, sub-agents execute, skills are methods, .md is law.
The main agent understands the goal, splits it, hands out work and closes out. Sub-agents only execute and never dispatch further. Skills are reusable ways of doing things. Rules are Markdown files that humans and agents both read.

Everything goes in the repo, nothing in the agent's memory.
What the project is, what was decided, how far it got: all in .spec/. Change the agent, the machine or the person, and nothing is lost.

Rules are always present, not left to goodwill.
In Claude Code, rules/*.md is injected at the start of every session. Adding a rule means adding a file. There is no registry, so nothing can be "forgotten to register".

The writer never reviews their own work.
The only functional sub-agent is reviewer. Its job is to assume your delivery is broken and prove it. Self-review is treated as a known degradation, never the default.

"Done" is decided by a machine.
closeout-gate looks at the diff and decides whether a review is needed and how deep. spec-lint runs before every commit and blocks it on failure. An agent saying "passed" counts for nothing without the command and its output.

Decisions are appended, never rewritten.
One ADR per decision. Overturn it by adding a new one and marking the old as superseded. History stays, and agents stop asking "why was it designed this way" over and over.

Disclose on demand.
Only the rules are resident. Skills, dispatch templates and the review checklist are read when needed. The context stays uncluttered, so the agent has room to think.

How it runs

flowchart LR
  subgraph hooks["Resident · Claude Code hooks"]
    direction TB
    S["SessionStart"] -->|"inject rules/*.md"| R["rules present"]
    P["PreToolUse · git commit"] -->|"spec-lint"| G{"pass?"}
    G -->|"no"| X["block commit"]
  end

  subgraph loop["main loop"]
    direction LR
    T["Goal"] --> BS["brainstorming"] --> WP["writing-plans · contract first"]
    WP --> W0["wave 0 · contract cards"] --> W1["wave 1..n · implementation cards in parallel"]
    W1 --> M["merge"] --> CG["closeout-gate"]
    CG -->|"fast exempt"| D["deliver with evidence"]
    CG -->|"quick / deep review"| RV["reviewer · closeout"] --> D
  end

What's inside

Six skills. Each one is a "when this happens, do it this way":

Skill When to use it
brainstorming Building something new: get intent, requirements and design clear first.
writing-plans Design is settled: write the step-by-step plan, or carve out contract cards first and split the rest into non-overlapping task cards.
subagent-driven-development Merge the contract cards, fan out implementation cards wave by wave, review the merged whole once.
test-driven-development Large tasks: failing test before production code. Small tasks are exempt.
systematic-debugging Hit a bug: find the root cause, no fixes before that.
spec-steward Finished a change: record new knowledge and conventions in .spec/.

Plus: one review sub-agent (reviewer), two commands (/lumio:init, /lumio:lint), two hooks (inject rules, guard commits), two resident rule files (system.md hard red lines, dispatch.md dispatch procedure), and a handful of pure Node scripts (two linters, closeout-gate, the scaffold). Zero runtime dependencies.

Repository layout

This repo is both the plugin and a project that uses it. Users install plugin/ only.

LumioAgentSpec/
├── plugin/            # ★ Publish surface: skills/ agents/ commands/ hooks/ rules/ templates/ tools/
├── .claude-plugin/    # marketplace.json
├── tests/             # Development surface, never shipped
└── .spec/             # This repo's own project instance, never shipped

Development

node plugin/tools/plugin-lint.mjs && node plugin/tools/spec-lint.mjs && node --test tests/*.test.mjs && claude plugin validate . --strict

Live reload while developing: symlink ~/.claude/skills/lumio to this repo's plugin/. Edits take effect immediately.

Add a rule by dropping a file into rules/. Add a skill with spec-steward. Record a decision as a new ADR. Run /lumio:lint when done.

Lumio Games Ecosystem

LumioAgentSpec is part of the public developer toolchain from Lumio Games (lumio.games), an AI-Native game development platform built for commercial-grade games (China mainland mirror: lumiogames.cn):

  • Lumio Games — Cross-platform instant-play browser game platform (China mainland: lumiogames.cn)
  • Lumio Games Studio — Free serverless game hosting, release management, SDK docs, and author API keys
  • Engineering Blog — Game systems, AI workflows, and engineering notes (China mainland: blog.lumiogames.cn)
  • LGUI — Engine-independent game UI framework for AI agents with browser preview and Unity export (source-available)
  • LumioTemplate — AI-coding game starter template for Claude Code, Codex, and Cursor (source-available)
  • Bowerbird — Local-folder game asset manager with 3D preview and MCP server (source-available)
  • LumioSDK — @lumiogames/sdk for sign-in, cloud saves, leaderboards, achievements, and chat (source-available)
  • LumioProfile — Cross-runtime performance profiler & Perfetto trace plugin with Agent CLI (MIT)

License

MIT

Reviews (0)

No results found