TypeSpec remediation skill for Python

オープン
#49,990 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
28/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github, python

調査の方向性

Read the shared remediation contract in Azure/azure-rest-api-specs#48168 and the dependent review skill issue #49969 first; the skill path is still a placeholder, and the maintainers and CODEOWNERS are unconfirmed. Build the guidance skill and historical findings evals, including routing uncertain findings to manual investigation, then run the evals in CI. Done means the language team confirms the skill meets the contract, documents its supported planes, and approves the evidence and ownership.

索引モデルが issue の本文から書いたものです。

説明

needs-triage

Parent: https://github.com/Azure/azure-rest-api-specs/issues/48167
Repository: Azure/azure-sdk-for-python
Depends on: #49969 (generated SDK review skill)

Language-team ownership

  • Language owner completing this issue:
  • Remediation skill maintainers:
  • CODEOWNERS paths or team: <paths/team>

Summary

Author and maintain a TypeSpec remediation skill that takes the findings from the Python review skill and maps each one to where the spec author (or SDK team) should fix it.

This skill consumes the review skill's output, so it depends on #49969. The initial phase is guidance only. The pipeline never edits the spec PR or the SDK repo.

Shared skill contract

The central invocation, input, output, and trusted-validation contracts are defined in Azure/azure-rest-api-specs#48168.

The language team owns the skill's internal design, rules, supporting tools, and methodology. Central integration requires only that the skill satisfies the shared remediation contract within the provided read-only execution environment.

Deliverable: TypeSpec remediation skill

Location: .github/skills/<remediation-skill-name>/SKILL.md

  • Accepts the immutable review result and typespec-review-context.json supplied by the central workflow.
  • Returns the versioned TypeSpec remediation result defined in Azure/azure-rest-api-specs#48168.
  • Maps every review finding exactly once without adding, removing, or rewriting findings.
  • Produces guidance only and does not edit or regenerate code.

Evidence and evals

  • A small set of historical findings with known accepted fixes (TypeSpec, client.tsp, SDK-repository customization, or manual).
  • Examples for every plane supported by the review skill, or a documented subset with gaps and follow-up ownership.
  • Evals confirm that each finding is routed to the expected target and that uncertain cases go to manual-investigation.
  • Evals run in CI in this repository.
  • Evidence links and expected outcomes are reviewed by the language-team maintainers.

Pilot packages

Uses the pilot packages selected in #49969.

Maintenance

  • Named maintainers for the remediation skill (added to CODEOWNERS for the skill folder).
  • Process for updating the skill as client.tsp decorators, emitter options, or SDK customization mechanisms change.

Completion criteria

  • The skill path is final and owned by the language team.
  • The skill satisfies the shared remediation contract in Azure/azure-rest-api-specs#48168.
  • Supported planes match the review skill or are a documented subset.
  • Historical examples and evals are reviewed and passing.
  • Maintainers and CODEOWNERS are confirmed.
  • The language team confirms the skill is ready for central remediation integration.

Out of scope

Generated SDK review (tracked in #49969), central workflow implementation, PR publication, blocking checks, applying fixes, and regeneration.

主要言語
Python
スター
5.6k
フォーク
3.4k
平均マージ
1日 22時間
マージ済み PR(30日)
189

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/azure-sdk-for-python のほかの issue

Azure/azure-sdk-for-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。