@le2004/agentspec
v1.0.1
Published
AgentSpec for Gemini CLI: spec-driven data engineering workflows, agents, commands, and KB domains.
Downloads
225
Maintainers
Readme
AgentSpec
Spec-driven data engineering workflows for Gemini CLI.
AgentSpec installs a project-local runtime with specialist role profiles, knowledge base domains, SDD templates, and Gemini custom commands for building data engineering work through repeatable phases.
Install
npm install -g @le2004/agentspecInitialize AgentSpec inside a project:
agentspec initThen open Gemini CLI in that project and use the generated commands:
/agentspec:brainstorm
/agentspec:define
/agentspec:design
/agentspec:build
/agentspec:shipWhat Init Creates
.gemini/
commands/
agentspec/
.agentspec/
agents/
commands/
kb/
scripts/
sdd/
skills/
GEMINI.mdCommands
Workflow:
/agentspec:brainstorm/agentspec:define/agentspec:design/agentspec:build/agentspec:ship/agentspec:iterate
Data engineering:
/agentspec:pipeline/agentspec:schema/agentspec:data-quality/agentspec:sql-review/agentspec:lakehouse/agentspec:ai-pipeline/agentspec:data-contract
Utilities:
/agentspec:review/agentspec:judge/agentspec:status/agentspec:generate-web-diagram/agentspec:generate-slides
CLI
agentspec init --dry-run
agentspec init --force
agentspec validate
agentspec doctorGemini Extension Conflicts
Use only one AgentSpec command source at a time.
The npm package is designed to generate workspace commands in:
.gemini/commands/agentspec/If you also have an AgentSpec Gemini extension installed at
~/.gemini/extensions/agentspec, Gemini CLI will detect duplicate commands and
rename them, for example:
/agentspec:build -> /agentspec:agentspec:build
/agentspec:build -> /workspace.agentspec:buildFix it by moving the extension out of the way:
mv ~/.gemini/extensions/agentspec ~/.gemini/extensions/agentspec.bak
agentspec init --forceThen restart Gemini CLI.
Runtime Model
AgentSpec for Gemini CLI uses role profiles and routing instructions rather
than plugin-native subagents. The generated GEMINI.md tells Gemini where to
find:
- specialist profiles in
.agentspec/agents/ - command source docs in
.agentspec/commands/ - KB domains in
.agentspec/kb/ - routing instructions in
.agentspec/skills/agent-router/ - SDD artifacts in
.agentspec/sdd/
Context7
Context7 MCP is not installed or configured by AgentSpec. During the Gemini refactor, maintainers use Context7 only to verify current external documentation.
Development
npm run check
npm run smoke:initThe current transition keeps legacy repository assets in place while the npm
package publishes only the Gemini CLI runtime under templates/agentspec/.
License
MIT
