К основному содержанию
плагин GitHub Copilot официальный · GitHub

gem-team — плагин для GitHub Copilot: что делает и как установить

Плагин превращает запросы к ИИ-кодингу в последовательный процесс с планированием, TDD и проверками. Подойдёт, если проекту нужны повторяемые задачи и планы, которые можно продолжить позже.

Установить в GitHub Copilot · Команда из источника Все способы и платформы ↓
copilot plugin install gem-team@awesome-copilot
Открыть на GitHub

Что делает gem-team

gem-team распределяет работу между специализированными агентами. Сначала он оценивает запрос и выбирает глубину процесса, затем планирует задачи и выполняет их волнами. Независимые задачи могут идти параллельно; задачи с пересекающейся областью изменений выполняются по очереди. TDD и проверки применяются всегда, а ревью и аудит безопасности запускаются с учётом риска.

Для задач MEDIUM и HIGH создаётся сохраняемый план с ID: работу можно приостановить, продолжить или расширить. Плагин также сохраняет и повторно использует устойчивые шаблоны после успешного выполнения. Для установки в GitHub Copilot нужен APM. Параметры маршрутизации моделей настраиваются в .gem-team.yaml.

Ставьте gem-team, если хотите задавать агенту задачи по этапам и возвращаться к ним с сохранённым планом. Для разовых небольших правок такой процесс может быть лишним.

Какие задачи решает

  • разбить запрос на планируемые этапы
  • выполнять независимые задачи параллельно
  • проверять изменения через TDD
  • продолжить задачу по сохранённому плану
  • направлять задачи разной сложности разным моделям

Примеры запросов агенту

  • Добавь проверку для этого изменения и выполни задачу через TDD.
  • Составь план для этой задачи, сохрани его и начни с первого этапа.
  • Продолжи сохранённый план и проверь изменения.

Как установить gem-team

Команда из источника

copilot plugin install gem-team@awesome-copilot

Из того же набора554

Весь набор →
git-commit официальный github Скилл разбирает изменения Git, выбирает связанные файлы и создаёт коммит в формате Conventional Commits. Пригодится, когда нужно закоммитить одну или несколько логических частей изменений. GitHub Copilot 47 165установок excalidraw-diagram-generator официальный github Скилл превращает описание на обычном языке в диаграмму Excalidraw. Подойдёт, когда нужно показать процесс, связи между объектами или устройство системы. GitHub Copilot 31 639установок multi-stage-dockerfile официальный github Скилл помогает создавать многоэтапные Dockerfile для разных языков и фреймворков. Пригодится, когда важны размер и состав runtime-образа. GitHub Copilot 29 688установок documentation-writer официальный github Скилл для создания технической документации по фреймворку Diátaxis: туториалы, гайды, справки и объяснения. Предлагает структуру перед написанием. GitHub Copilot 27 757установок prd официальный github Собирает из идеи структурированный PRD с пользовательскими историями, техническими требованиями и рисками. Подходит для планирования новых функций, в том числе с AI. GitHub Copilot 24 035установок refactor официальный github Скилл помогает менять структуру кода без изменения внешнего поведения. Подойдёт для постепенной уборки сложных функций, дублирования и кодовых запахов. GitHub Copilot 22 321установок java-springboot официальный github Задаёт практики разработки Spring Boot-приложений: от структуры проекта до тестов и безопасности. Пригодится, когда Copilot пишет или проверяет Java-код. GitHub Copilot 21 272установок create-readme официальный github Скилл изучает проект и создаёт структурированный README.md. Подойдёт, когда документацию нужно собрать по коду и файлам проекта. GitHub Copilot 19 081установок

Похожие

Вопросы о gem-team

Как установить gem-team в GitHub Copilot?

Сначала установите APM, затем выполните copilot plugin install gem-team@awesome-copilot.

Что делает gem-team?

Плагин организует работу ИИ-агента по этапам: планирует задачи, запускает специализированных агентов и проверяет изменения. Для крупных задач он сохраняет план, чтобы работу можно было продолжить.

Как gem-team продолжает прерванную задачу?

Для задач MEDIUM и HIGH он сохраняет ID плана и plan.yaml. План можно приостановить, продолжить или расширить.

Исходный текст

gem-team · Apache-2.0
# Gem Team

**Turn AI coding into an engineering process.**

> Agent definitions that enforce good software engineering: optimizing cost, time, and quality.

<p align="center">
  <a href="https://mubaidr.github.io/gem-team/"><b>Visit Homepage</b></a>
</p>

<br/>

<p align="center">
  <img src="https://img.shields.io/badge/APM-mubaidr/gem--team-blue?style=flat-square" alt="APM package: mubaidr/gem-team">
  <img src="https://img.shields.io/github/v/release/mubaidr/gem-team?style=flat-square&color=important" alt="Latest release">
  <img src="https://img.shields.io/badge/license-Apache%202.0-green?style=flat-square" alt="Apache-2.0 license">
  <img src="https://img.shields.io/badge/PRs-welcome-brightgreen?style=flat-square" alt="Pull requests welcome">
</p>

## Real-world performance

> Sub-$0.001 per API call on 100K+ token contexts. 82.8M+ tokens processed across 666 agent runs, with typical responses completing in 2-5 seconds. Prompt caching turns large contexts into sub-penny operations - a 10x cost reduction vs. uncached input.

_Observed during Gem-Team development using DeepSeek V4.1 Flash via CommandCode._

## The Problem

Current AI coding is often one-off and ad-hoc. You get code, but you don't get a repeatable process. This leads to inconsistent quality, wasted tokens, and a lack of long-term learning.

## The Solution

Gem Team wraps your AI with a disciplined engineering delivery system. It enforces good software engineering practices automatically, so you get better results with less effort.

## Why Gem Team?

- **Quality by Default**: TDD and acceptance checks always apply; reviews and security audits run when risk requires them. No more "vibe coding" that breaks in production.
- **Smart & Efficient**: 40-60% less context per task through scoped handoffs and proportional architecture. Cached tokens and compact evidence paths keep costs predictable and your AI focused.
- **Works With Your Tools**: Seamless integration with Copilot, Claude, Cursor, Codex, Gemini, and Windsurf. Use your preferred environment.
- **Learns & Improves**: Remembers what works and extracts reusable skills. Your AI gets smarter and more efficient over time.
- **Resumable Plans**: Every MEDIUM/HIGH task gets a persistent plan ID. Pause, resume, or extend work without losing context or re-discovering what you already know.
- **Works With Any Model**: Hardened output contracts and relational invariant fallbacks mean every agent works across commercial and open models - not just the ones that memorized your schema.

### Intelligent Model Routing

Gem Team automatically uses the right model for each kind of work:

- **Premium models** handle planning, debugging, and review where deeper reasoning matters.
- **Explore models** handle research, implementation, testing, documentation, and other bounded tasks efficiently.
- **Configurable tiers** let you choose the models and providers that fit your budget and workflow.

This gives you stronger verification where it matters without paying the highest model cost for every task. Configure it once in `.gem-team.yaml`:

```yaml
model_routing:
  enabled: true
  tiers:
    premium: "your-strong-model (provider)"
    explore: "your-fast-model (provider)"
```

**TL;DR:** Gem Team turns AI coding into a structured, repeatable engineering process with built-in quality, efficiency, and learning.

## Quick Start

Install [APM](https://microsoft.github.io/apm/) first:

```bash
# macOS / Linux
curl -sSL https://aka.ms/apm-unix | sh

# Windows PowerShell
irm https://aka.ms/apm-windows | iex

# Verify
apm --version
```

Install Gem Team into your current project:

```bash
apm install mubaidr/gem-team --target copilot,claude,cursor,opencode,codex,gemini,windsurf
```

Or install for one target only:

```bash
apm install mubaidr/gem-team --target copilot
```

Install globally for personal use:

```bash
apm install -g mubaidr/gem-team
```

APM records the resolved commit in `apm.lock.yaml`. Repeating `apm install`
replays that lockfile; it does not silently upgrade an existing installation.
Refresh Gem Team explicitly when desired:

```bash
# Project-scoped installation
apm update mubaidr/gem-team --yes

# Global installation
apm update -g mubaidr/gem-team --yes
```

To check for an update to the APM CLI itself, use `apm self-update --check`.

For reproducible environments, pin a release tag:

```bash
apm install 'mubaidr/gem-team#gem-team-v<version>' --target copilot
```

Replace `<version>` with a published version from the
[GitHub Releases](https://github.com/mubaidr/gem-team/releases) page.

After the first install, commit the generated APM files that belong to your repo, especially `apm.yml`, `apm.lock.yaml`, and the generated harness directories such as `.github/`, `.claude/`, `.cursor/`, `.opencode/`, `.codex/`, `.gemini/`, or `.windsurf/`. Do **not** commit `apm_modules/`.

> APM can auto-detect targets from existing harness directories, but explicit `--target` is recommended for predictable installs and fresh repositories.
>
> Direct Git installs use the canonical sources in `.apm/`. Maintainers do not
> need to commit `build/`; release archives and checksums are generated and
> attached automatically to each GitHub Release.

## The Process

Gem Team uses a structured workflow to turn AI coding into a reliable engineering process:

1. **Route**: Classify the request from supplied evidence and select only the workflow depth it needs.
2. **Plan**: Use an in-memory wave plan for TRIVIAL/LOW work or a persistent, planner-confirmed wave plan for MEDIUM/HIGH work.
3. **Build**: Execute every wave plan through the same ordered-wave loop, using TDD and specialist agents.
4. **Verify**: Check every task and run reviewer integration checks only when changed-scope risk requires them.
5. **Learn**: Promote only stable, high-confidence patterns after successful execution.

## Features

- **Risk-Based Quality Gates**: TDD and deterministic verification always apply; specialist reviews and audits run when the plan or changed scope requires them.
- **Effortless Context**: Progressive context management prevents bloat. Scoped handoffs, context-coalesced tasks, verbatim cluster `shared_context`, a cache-lifetime payload order, and evidence-by-reference keep each agent's token footprint minimal while maximizing cached token reuse across waves.
- **Smart Routing**: Tasks are automatically routed to the right agents based on complexity.
- **Parallel Execution**: Independent tasks run in parallel within waves; overlapping ownership is serialized to prevent conflicts.
- **Resumable Plans**: Every MEDIUM/HIGH task gets a persistent plan ID and `plan.yaml`. Pause, resume, or extend work without losing context.
- **Reusable Knowledge**: High-confidence patterns and skills are extracted and reused for future tasks.
- **Cost Efficiency**: Model routing, output hygiene, and compact handoffs ensure you only use the tokens you need. Evidence travels by reference, not by copy - keeping context usage low and cache hits high across waves.
- **Failure Classification**: Every failure is classified (retry, fixable, replan, flaky, regression, platform-specific, test-bug) so the Orchestrator routes it to the right agent instead of blindly retrying.
- **Verification Boundary**: The Orchestrator never re-verifies or second-guesses specialist output. Verification is owned exclusively by the specialist responsible for the work.
- **Quality Directives**: Every agent follows specific rules that prevent common AI coding issues: no dead buttons, no buzzwords, no template filler, and every decision has a reason.

## How it Works

Gem Team installs a set of specialized agents that work together under the guidance of an Orchestrator. This team follows a disciplined workflow that includes planning, implementation, verification, and learning.

- **Specialist Agents**: Dedicated agents for planning, research, implementation, review, and more.
- **Orchestration**: One wave loop coordinates ordered work, parallel tasks, bounded retries, and final acceptance checks at every complexity level.
- **Context Management**: Execution agents receive an authoritative `task_definition` with a nested `handoff`; constraints, evidence, and prior-wave outputs travel through it. Planner receives a bounded `planning_context`; reviewer uses a dedicated review `handoff`; every delegate receives only a role-scoped configuration snapshot.

### Agent Roles

| Role                | Description                                                                                                                                                                                                                   |
| :------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Orchestrator**    | Classifies intent, routes work, tracks state, and enforces verification gates. Never re-verifies specialist output.                                                                                                           |
| **Planner**         | Creates bounded wave plans with YAGNI/KISS scope reduction and concern-separated slices: milestones, routing, handoffs, risks, and criteria.                                                                                  |
| **Implementer**     | Implements features, fixes, and refactors with TDD. Covers happy paths, boundaries, errors, and state transitions. Applies SOLID, fail-fast, and least-surprise. Every major decision has a one-line reason. No dead buttons. |
| **Reviewer**        | Independent reviews for quality, security, and compliance. Read-only critic mode for decisions. Verifies every decision has a reason. Flags dead buttons and external script patches as blocking issues.                      |
| **Debugger**        | Root-cause analysis, stack traces, regression bisection. Adds a reproduction test; never implements fixes.                                                                                                                    |
| **Researcher**      | Codebase exploration in five budgeted modes: scan, question, audit, trace, deep.                                                                                                                                              |
| **Browser Tester**  | E2E browser tests with visual, accessibility, performance, network, and regression checks.                                                                                                                                    |
| **Mobile Tester**   | Mobile E2E on iOS/Android with Detox, Maestro, or Appium.                                                                                                                                                                     |
| **DevOps**          | Infrastructure, CI/CD, containers, health checks, rollback, and production approvals.                                                                                                                                         |
| **Documentation**   | Technical docs, READMEs, API references, diagrams, and walkthroughs. No buzzwords. Every section exists because the product needs it. No fabricated statistics.                                                               |
| **Code Simplifier** | Removes dead code, reduces complexity, consolidates duplicates, and improves naming. Every refactoring has a one-line reason. No buzzwords. Removes AI-slop comments.                                                         |
| **Skill Creator**   | Extracts high-confidence patterns into reusable `SKILL.md` files and assets.                                                                                                                                                  |

## Compatible Tools

Gem Team works with your favorite AI coding tools:

| Tool         | Harness             | Description                          |
| :----------- | :------------------ | :----------------------------------- |
| **Copilot**  | `.github/agents/`   | VS Code Copilot / GitHub Copilot CLI |
| **Claude**   | `.claude/agents/`   | Claude Code                          |
| **Cursor**   | `.cursor/agents/`   | Cursor                               |
| **OpenCode** | `.opencode/agents/` | OpenCode                             |
| **Codex**    | `.codex/agents/`    | Codex CLI                            |
| **Gemini**   | `GEMINI.md`         | Gemini CLI                           |
| **Windsurf** | `.windsurf/rules/`  | Windsurf / Cascade                   |

## Configuration

Gem Team is designed to work out of the box with smart defaults. You can customize behavior by editing the `AGENTS.md` file or specific agent definitions in the `.apm/agents/` directory.

### Reviewer and critic modes

`gem-reviewer` uses three independent axes:

- `review_mode`: `standard`, `high`, or `critic` controls review intensity.
- `review_target`: `plan`, `task`, `code`, `decision`, `docs`, `config`, or `integration` selects what is reviewed.
- `review_scope`: `changed`, `affected`, or `full` limits the evidence breadth.

TRIVIAL/LOW work does not invoke the planner or reviewer during planning.
MEDIUM/HIGH work receives one pre-execution plan review: standard for MEDIUM,
high for HIGH or high-risk work, and critic for architecture, breaking-change,
or cross-domain signals. Later integration review is risk-triggered, not a
routine wave gate.

Discussion is answered directly. A requested evaluation or decision becomes a
read-only challenge with `review_mode: critic`, `review_target: decision`, and
`review_scope: full`. Critic mode does not mutate files or claim implementation.
Its subject and context are passed through `handoff`:

```yaml
review_mode: critic
review_target: decision
review_scope: full
handoff:
  critic_subject:
    objective: str
    proposal: str
    constraints:
      - str
    alternatives:
      - str
    evidence:
      - str
    decision_needed: str
  critic_context:
    audience: str
    time_horizon: str
    success_criteria:
      - str
    known_unknowns:
      - str
```

## Learn More

- [Documentation](https://mubaidr.github.io/gem-team/)
- [Contributing](https://mubaidr.github.io/gem-team/5.resources/2.contributing.html)
- [License](LICENSE)

## Support

If you have questions or need help, please open an issue on [GitHub](https://github.com/mubaidr/gem-team/issues).

© mubaidr · Apache-2.0 · github/awesome-copilot

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой