Логотип Aiwg Regenerate Agents

Aiwg Regenerate Agents

Сообщество
jmagly
aiwg-regenerate-agents

Regenerate AGENTS.md with vendor-neutral content for multi-platform support

Обзор

Издательjmagly
Репозиторийaiwg
Название навыкаaiwg-regenerate-agents
Звёзды
225
Форки
34
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — jmagly. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Aiwg Regenerate Agents в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/aiwg-utils/skills/aiwg-regenerate-agents
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jmagly/aiwg.git /tmp/aiwg
mkdir -p .claude/skills
cp -r /tmp/aiwg/agentic/code/addons/aiwg-utils/skills/aiwg-regenerate-agents .claude/skills/aiwg-regenerate-agents
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Aiwg Regenerate Agents в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Aiwg Regenerate Agents, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Aiwg Regenerate Agents не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Regenerate AGENTS.md

Regenerate the AGENTS.md file, analyzing current project state while preserving team directives and organizational requirements. Supports Windsurf and Factory AI (both use AGENTS.md as context file).

Hook file approach (default): Generates AIWG-windsurf.md or AIWG-factory.md (per --provider) and adds directive to AGENTS.md. @-link support unverified — defaults to section-style until confirmed (see #444).

Full inject (--full-inject): Embeds AIWG content inline with AIWG markers.

Used by: Factory AI, Cursor, OpenCode, Codex, and other platforms that use AGENTS.md for configuration.

Vendor-neutral: This file provides generic agent descriptions and natural language patterns suitable for any platform.

Core Principle

Team content is preserved. AIWG content is updated. Content is vendor-neutral.

Parameters

FlagDescription
--no-backupSkip creating backup file
--dry-runPreview changes without writing
--show-preservedList all detected preserved content and exit
--fullFull regeneration, preserve nothing (destructive)

Execution Steps

Step 1: Create Backup

Unless --no-backup specified:

  1. Check if AGENTS.md exists
  2. If exists, copy to AGENTS.md.backup-{YYYYMMDD-HHMMSS}
  3. Report backup location

Step 2: Extract Preserved Content

Same preservation patterns as other platforms:

  1. Explicit Preserve Blocks: <!-- PRESERVE --> ... <!-- /PRESERVE -->
  2. Preserved Section Headings: Team *, Org *, Definition of Done, etc.
  3. Inline Directives: Lines with directive keywords

Step 3: Analyze Project

  • Languages and package managers
  • Development commands
  • Test framework
  • CI/CD configuration
  • Directory structure

Step 4: Detect AIWG State

Check installed frameworks by scanning for deployed agents/droids:

  • .factory/droids/ (Factory AI)
  • .opencode/agent/ (OpenCode)
  • .cursor/rules/ (Cursor)
  • .codex/agents/ (Codex)

Read registry for framework versions.

Step 5: Generate AGENTS.md

Document Structure:

markdown
# AGENTS.md

Project configuration for AI assistance platforms.

## Project Overview

{Description from README.md or package.json}

## Tech Stack

- **Language**: {detected languages}
- **Runtime**: {Node.js, Python, etc.}
- **Framework**: {detected frameworks}
- **Test Framework**: {detected test framework}
- **Package Manager**: {npm/yarn/pip/etc.}

## Development Commands

| Command | Description |
|---------|-------------|
| `npm install` | Install dependencies |
| `npm run build` | Build TypeScript to dist/ |
| `npm test` | Run Vitest test suite |
| `npm run lint` | Run ESLint |

## Project Structure

src/ → Source code test/ → Test files tools/ → CLI tools and scripts docs/ → Documentation .github/ → CI/CD workflows


---

## Team Directives

<!-- PRESERVED SECTION -->

{ALL PRESERVED CONTENT}

<!-- /PRESERVED SECTION -->

---

## AIWG Framework

This project uses the AIWG SDLC framework for software development workflows.

### Available Agents

**Architecture & Design:**
- `architecture-designer` - System architecture and technical decisions
- `database-architect` - Database design and optimization
- `api-designer` - RESTful/GraphQL API design

**Development & Implementation:**
- `software-implementer` - Test-first development (TDD)
- `integrator` - Component integration and build management
- `test-engineer` - Comprehensive test suite creation
- `test-architect` - Test strategy and framework design

**Quality & Security:**
- `code-reviewer` - Code quality and security review
- `security-architect` - Security design and threat modeling
- `qa-engineer` - Quality assurance and testing
- `performance-engineer` - Performance optimization

**Operations & Release:**
- `devops-engineer` - CI/CD and deployment automation
- `sre` - Site reliability and monitoring
- `release-manager` - Release coordination and rollout

**Management & Coordination:**
- `project-manager` - Project planning and tracking
- `product-owner` - Product vision and requirements
- `scrum-master` - Agile process facilitation
- `business-analyst` - Requirements gathering and analysis

**Specialized:**
- `technical-writer` - Documentation and content
- `ux-designer` - User experience and interface design
- `data-engineer` - Data pipelines and analytics

**Deployment:** Agents are deployed to platform-specific directories:
- Claude Code: `.claude/agents/`
- GitHub Copilot: `.github/agents/`
- Factory AI: `.factory/droids/`
- Cursor: `.cursor/rules/`

**Full catalog:** @~/.local/share/ai-writing-guide/agentic/code/frameworks/sdlc-complete/agents/

### Workflow Commands

**Intake & Planning:**
- `intake-wizard` - Generate project intake forms
- `intake-from-codebase` - Analyze codebase to generate intake
- `project-status` - Check current project phase
- `project-health-check` - Comprehensive health assessment

**Phase Transitions:**
- `flow-inception-to-elaboration` - Transition to Elaboration
- `flow-elaboration-to-construction` - Transition to Construction
- `flow-construction-to-transition` - Transition to Transition
- `flow-gate-check` - Validate phase gate criteria

**Continuous Workflows:**
- `flow-security-review-cycle` - Security validation
- `flow-test-strategy-execution` - Test execution
- `flow-risk-management-cycle` - Risk management
- `flow-retrospective-cycle` - Retrospective analysis

**Development:**
- `flow-guided-implementation` - Step-by-step implementation
- `generate-tests` - Generate test suite
- `setup-tdd` - Set up test-driven development
- `pr-review` - Pull request review

**Full workflow catalog:** @~/.local/share/ai-writing-guide/agentic/code/frameworks/sdlc-complete/commands/

### Natural Language Requests

Use natural language to request workflows:

| Request | Maps To |
|---------|---------|
| "transition to elaboration" | flow-inception-to-elaboration |
| "run security review" | flow-security-review-cycle |
| "check project status" | project-status |
| "start iteration N" | flow-iteration-dual-track |
| "generate tests for module" | generate-tests + test-engineer |
| "review this PR" | pr-review + code-reviewer |
| "design authentication API" | api-designer |
| "optimize database queries" | database-architect + performance-engineer |

**Natural language guide:** @~/.local/share/ai-writing-guide/agentic/code/frameworks/sdlc-complete/docs/simple-language-translations.md

## Project Artifacts

{If .aiwg/ exists:}

| Category | Location |
|----------|----------|
| Requirements | @.aiwg/requirements/ |
| Architecture | @.aiwg/architecture/ |
| Planning | @.aiwg/planning/ |
| Testing | @.aiwg/testing/ |
| Security | @.aiwg/security/ |
| Deployment | @.aiwg/deployment/ |

## Full Reference

**AIWG Installation:** `~/.local/share/ai-writing-guide/`

**Framework Documentation:**
- SDLC Complete: @~/.local/share/ai-writing-guide/agentic/code/frameworks/sdlc-complete/README.md
- All Workflows: @~/.local/share/ai-writing-guide/agentic/code/frameworks/sdlc-complete/commands/
- All Agents: @~/.local/share/ai-writing-guide/agentic/code/frameworks/sdlc-complete/agents/
- Orchestration: @~/.local/share/ai-writing-guide/agentic/code/frameworks/sdlc-complete/docs/orchestrator-architecture.md

**Core References:**
- Orchestrator: @~/.local/share/ai-writing-guide/agentic/code/addons/aiwg-utils/prompts/core/orchestrator.md
- Agent Design: @~/.local/share/ai-writing-guide/agentic/code/addons/aiwg-utils/prompts/agents/design-rules.md
- Error Recovery: @~/.local/share/ai-writing-guide/agentic/code/addons/aiwg-utils/prompts/reliability/resilience.md

**Platform-specific configurations:**
- Claude Code: CLAUDE.md
- GitHub Copilot: .github/copilot-instructions.md
- Cursor: .cursorrules
- Windsurf: .windsurfrules
- Warp: WARP.md

---

<!--
  Add team-specific notes below.
  Content in preserved sections survives regeneration.
-->

Step 6: Write Output

If --dry-run: Display content, do not write.

Otherwise:

  1. Write to AGENTS.md
  2. Report summary
AGENTS.md Regenerated
=====================

Backup: AGENTS.md.backup-20260113-153512

Team Content Preserved:
  ✓ Team Directives (2 sections, 21 lines)

AIWG Content Updated:
  ✓ Project commands and structure
  ✓ Agent descriptions (20 agents)
  ✓ Workflow patterns (natural language)
  ✓ Full references included

Vendor-Neutral Content:
  ✓ Generic agent descriptions
  ✓ Natural language patterns
  ✓ No platform-specific syntax
  ✓ Context size optimized: 287 lines

Output: AGENTS.md (287 lines)

Vendor-Neutral Content Rules

INCLUDE (generic descriptions):

  • Agent purposes and capabilities
  • Natural language workflow patterns
  • Project structure and commands
  • Framework references

EXCLUDE (platform-specific):

  • Claude Code slash command syntax
  • Copilot @-mention examples
  • Cursor rule patterns
  • Platform-specific invocation methods

REFERENCE (link to all):

  • Full workflow catalog
  • Full agent catalog
  • Platform-specific context files
  • Framework documentation

Target size: 250-350 lines (excluding team content)

Multi-Platform Support

AGENTS.md serves as a fallback for platforms without dedicated context files:

PlatformPrimary ContextFallback
Claude CodeCLAUDE.mdAGENTS.md
GitHub Copilot.github/copilot-instructions.mdAGENTS.md
Cursor.cursorrulesAGENTS.md
Windsurf.windsurfrulesAGENTS.md
WarpWARP.mdAGENTS.md
Factory AI.factory/README.mdAGENTS.md
OpenCode.opencode/README.mdAGENTS.md
Codex~/.codex/configAGENTS.md

Examples

bash
# Regenerate AGENTS.md
/aiwg-regenerate-agents

# Preview changes
/aiwg-regenerate-agents --dry-run

# Check preserved content
/aiwg-regenerate-agents --show-preserved

# Full regeneration
/aiwg-regenerate-agents --full

Related Commands

CommandRegenerates
/aiwg-regenerate-claudeCLAUDE.md (Claude Code)
/aiwg-regenerate-copilotcopilot-instructions.md (GitHub Copilot)
/aiwg-regenerate-cursorrules.cursorrules (Cursor)
/aiwg-regenerate-windsurfrules.windsurfrules (Windsurf)
/aiwg-regenerate-warpWARP.md (Warp Terminal)
/aiwg-regenerate-factory.factory/README.md (Factory AI)
/aiwg-regenerate-agentsAGENTS.md (Multi-vendor)
/aiwg-regenerateAuto-detect vendor

References

  • Base Template: @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/regenerate-base.md
  • Vendor Detection: @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/docs/vendor-detection.md
  • @implements @.aiwg/requirements/use-cases/UC-019-regenerate-vendor-specific.md

Часто задаваемые вопросы

Что делает навык ИИ Aiwg Regenerate Agents?

Regenerate AGENTS.md with vendor-neutral content for multi-platform support

Зачем использовать Aiwg Regenerate Agents в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Aiwg Regenerate Agents — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Aiwg Regenerate Agents в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/aiwg-utils/skills/aiwg-regenerate-agents. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Aiwg Regenerate Agents?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Aiwg Regenerate Agents?

С любым количеством. В TypingMind вы можете использовать Aiwg Regenerate Agents с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Aiwg Regenerate Agents?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — jmagly. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇