typing skill improvements

This commit is contained in:
John Lancaster
2026-06-21 15:20:00 -05:00
parent 3c5db37223
commit c5b7733528
3 changed files with 70 additions and 2 deletions
+6 -2
View File
@@ -24,6 +24,7 @@ Use this skill to enforce a latest-syntax-first typing standard grounded in curr
Load references only when needed:
- Source map and standards links: [typing source map](./references/index.md)
- Practical review workflow and quality gates: [typing review workflow](./references/review-workflow.md)
- Astral ty adoption and operation guidance: [Astral ty usage reference](./references/astral-ty.md)
## When to Use
@@ -44,19 +45,22 @@ Load references only when needed:
- Baseline and compatibility checks: [typing source map](./references/index.md)
- Exact modernization sequence and branching logic: [typing review workflow](./references/review-workflow.md)
- Integrating or tuning Astral ty: [Astral ty usage reference](./references/astral-ty.md)
- Need official rationale for a specific feature: [typing source map](./references/index.md)
## Load Order
1. Start with [typing source map](./references/index.md) for authoritative links.
2. Load [typing review workflow](./references/review-workflow.md) to execute the review.
3. Return to source links for any feature-level recommendation included in the final output.
3. Load [Astral ty usage reference](./references/astral-ty.md) when the workflow includes `ty` setup, configuration, migration, or editor integration.
4. Return to source links for any feature-level recommendation included in the final output.
## Load Budget
1. Default: load one reference (`index.md`) for lightweight guidance.
2. Standard review: load two references (`index.md` and `review-workflow.md`).
3. Do not load additional docs unless a project-specific edge case requires it.
3. Add `astral-ty.md` only when `ty` is in scope.
4. Do not load additional docs unless a project-specific edge case requires it.
## Decision Baseline