guidelines

Коллекция правил миграции между фреймворками и шаблонов преобразования (например, Struts→Spring MVC, JSP→Thymeleaf, EJB→Spring Boot). Триггеры: "проверить…

npx skills add https://github.com/microsoft/github-copilot-modernization --skill guidelines

User Input

You MUST consider the user input before proceeding (if not empty).

Purpose

Guidelines are curated, domain-specific knowledge bases providing:

  • Migration patterns: Technology-to-technology recipes
  • Transformation rules: Concrete mappings and conversion templates
  • Checklists: Step-by-step validation criteria

Directory Structure

skills/guidelines/
├── SKILL.md                    # This file - lookup mechanism
├── struts-to-spring/           # Struts 2 → Spring Boot 3.x
│   └── SKILL.md
└── {domain}/                   # Future guideline domains
    └── SKILL.md

Lookup Mechanism

When other skills need guideline lookup:

  1. Context Analysis: Extract technology keywords from spec/plan/code.
  2. Guideline Discovery: Search skills/guidelines/ subdirectories for matching patterns.
  3. Application: Load matching SKILL.md, extract applicable rules for current phase.

Integration Points

Workflow StepGuideline Application
SpecificationDomain constraints, scope boundaries
PlanningTechnology decisions, architecture patterns
TasksTransformation tasks, file-by-file changes
ImplementationCode transformation rules, test patterns
CompletenessValidation checklists, coverage criteria

Creating New Guidelines

  1. Create directory: skills/guidelines/{domain}/
  2. Create SKILL.md with:
    • Metadata header (name, description, triggers)
    • Rules organized by migration step
    • Concrete transformation examples (before/after)
    • Validation checklist

Documenting Applied Guidelines

When guidelines are applied, document in the relevant artifact:

## Applied Guidelines
- **Guideline**: struts-to-spring
- **Rules Used**: convert-action-to-controller, convert-validation
- **Reference**: skills/guidelines/struts-to-spring/SKILL.md

Больше skills от microsoft

oss-growth
microsoft
Персона OSS-хакера роста
official
accessibility-aria-expert
microsoft
Обнаруживает и исправляет проблемы доступности в веб-представлениях React/Fluent UI. Используйте при проверке кода на совместимость с экранными дикторами, исправлении ARIA-меток, обеспечении…
official
generate-canvas-app
microsoft
[УСТАРЕЛО — используйте canvas-app] Создать полное приложение Power Apps canvas.
official
django
microsoft
Лучшие практики веб-разработки на Django, включая модели, представления, шаблоны и тестирование.
official
github-issue-creator
microsoft
Преобразует сырые заметки, журналы ошибок, голосовой ввод или скриншоты в четкие отчеты о проблемах в формате GitHub-flavored markdown. Используется, когда пользователь вставляет информацию об ошибке, сообщение об ошибке…
official
python-package-management
microsoft
Использует uv для управления зависимостями и poethepoet для автоматизации задач.
official
runtime-validation
microsoft
Проверка во время выполнения для перенесённых приложений — охватывает стратегию тестирования (этап планирования) и выполнение тестов (этап валидации): проверка запуска,…
official
azure-postgres-ts
microsoft
Подключение к Azure Database for PostgreSQL Flexible Server с использованием пакета pg (node-postgres) с поддержкой аутентификации по паролю и Microsoft Entra ID (без пароля).
official