Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Create a Skill for reading issue-level custom fields (Type/Priority/Effort) via GraphQL

Abierto Apto para principiantes
#14,802 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
88/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Tranquilo
Stack tecnológico
github, graphql

Línea de trabajo

Crea la SKILL.md solicitada en .github/skills/ y usa la receta de GraphQL del issue como punto de partida. Documenta issueType, issueFieldValues, las uniones IssueFieldValue e IssueFields, la consulta para copiar y pegar y la variante por lotes con alias. Se considera terminado cuando el skill cubre el filtrado por Priority/Effort, explica por qué labels y projectItems son diferentes y cumple todos los criterios de aceptación indicados.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

NewApi-Net11
Summary

Create a Copilot Skill (under .github/skills/) that documents how to read GitHub issue-level custom fields (the new Type → Priority / Effort fields that appear on issues, distinct from Projects v2 fields and from labels).

Motivation

Triaging the NewApi-Net11 work relies on the Priority field (High/Medium/Low). These are not labels and not Projects v2 items, so the usual gh issue list --label ... and projectItems/projectV2 GraphQL paths do not surface them. Discovering the correct GraphQL shape took several introspection round-trips; a Skill would let the agent (and contributors) read/filter by these fields immediately.

What the Skill should document

The working GraphQL recipe on the Issue type:

  • issueType { name } — the Type (e.g. Bug).
  • issueFieldValues(first: N) { nodes { ... } } — the custom field values. Each node is a union IssueFieldValue with members:
    • IssueFieldSingleSelectValue (Priority/Effort): select value and field { ... on IssueFieldSingleSelect { name } }.
    • IssueFieldTextValue, IssueFieldNumberValue, IssueFieldDateValue, IssueFieldMultiSelectValue.
  • The field accessor is the union IssueFields (members IssueFieldSingleSelect, IssueFieldText, IssueFieldNumber, IssueFieldDate, IssueFieldMultiSelect) — you must use an inline fragment to read name.

Example query that returns Priority for an issue:

query {
  repository(owner: "dotnet", name: "winforms") {
    issue(number: 14795) {
      number
      issueType { name }
      issueFieldValues(first: 20) {
        nodes {
          __typename
          ... on IssueFieldSingleSelectValue {
            value
            field { ... on IssueFieldSingleSelect { name } }
          }
        }
      }
    }
  }
}

Returns: issueType.name = "Bug", and a node { value: "High", field: { name: "Priority" } }.

Acceptance criteria
  • A SKILL.md describing when to use this (filtering NewApi-Net11 work by Priority/Effort), the union shapes, the copy-paste GraphQL, and a batched multi-issue variant (aliased sub-selections) for reading many issues at once.
  • A short note that gh issue list --label cannot filter these fields, and that Projects v2 (projectItems) is a different mechanism.
Lenguaje dominante
C#
Estrellas
4.9k
Forks
1.1k
Merge medio
7 h 33 min
PR fusionados (30 d)
49

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de dotnet/winforms

Todos los issues de dotnet/winforms

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.