Skip to content

Flag a docs-page pointer in a skill file that has no section anchor #15938

Description

@kyle-sexton

Parent

Refs #15663 (the map decision this implements; map #15651).

Depends on

  • none: on the frontier now

Outcome

A skill or agent file that points at a docs page without a section anchor is flagged, with the fix named. The check is advisory at first, and the 246 existing anchorless links are in a baseline. Today the link check only tests that an anchor resolves, not that one exists.

Demo: add a docs-page link with no #section to a skill file; the check reports it and says to link the section.

Source: the talk, slide 39, 1:16:34: "Start with a lint rule to prevent new occurrences of anti-patterns. And then clean up those old patterns as well."

Decisions

Key interfaces

  • The rule on skill bodies stating current rules, its sentence on section anchors.
  • The repository's hygiene checks.

Done when

  • A check reports a docs-page link in a skill or agent file that has no section anchor, and does not report issue links.
  • It is advisory, with the current hits in a shrink-only baseline, and the pull request body states the condition for making it blocking.
  • It is proven on a failing and a passing sample, and its message names the fix.
  • The pull request body names this repository's dogfooding step.

Out of scope

  • Adding anchors to the 246 existing links.

Activity

  1. added
    agent-ready
    on Nov 13, 2026
  2. added theissue type on Nov 13, 2026
  3. removed
    agent-ready
    on Nov 13, 2026
  4. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: add an advisory hygiene check that flags a docs-page link in a skill or agent file when it has no #section anchor. It should skip issue links, and the message should name the fix. The 246 existing hits go into a shrink-only baseline. The check needs proof on a failing and a passing sample, and the PR body must state the condition for making it blocking and name the dogfooding step. Adding anchors to the existing links is out of scope.

    The scope is exact and the issue names no blockers. I found no duplicate among the open issues and no merged PR that already covers this.

    Automated triage. A maintainer reviews it.

  5. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  6. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"f1712d1ace0b0599cf48663fd1234530772a888dd574a9932ddff3848e3977c1","body_sha256":"e539b5942ee0bf7f3a63570a82b4040e8b1d5d659cb20424e37f4946d76ca291"}

  7. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions