.agents/skills/major-task/SKILL.md
Handle $ARGUMENTS. Use this for architectural, comparative, benchmark, migration, or proposal-grade work where wrong framing is expensive. Be deep, not bloated. Be explicit, not ceremonial.
<task>#$ARGUMENTS</task>
Classify the input:
gh issue view first.gh pr view first.#555: resolve it against the current gh repo first, then fetch it with gh issue view.Read the full source-of-truth context before doing anything else.
If the task comes from a ticket, issue, PR, or spec, also read comments and attachments when available.
Restate the decision to make, not just the topic.
Classify the major-work lane:
Decide whether the work is:
Load autogoal immediately and create or update one docs/plans goal plan
from the major primary template plus packs:
node .agents/rules/autogoal/scripts/create-goal-scratchpad.mjs \
--template major-task \
--title "<short major task title>"
Add touched-surface packs as needed: --with docs, --with browser,
--with package-api, or --with agent-native.
When the work needs a real implementation plan, phased rollout, or plan
artifact, make the active major-task goal plan the durable planning
surface.
Load learnings-researcher early when the domain smells repeated or the repo has prior decisions worth mining.
If the work is editor-framework-facing, start from @docs/analysis/editor-architecture-candidates.md as the candidate map instead of widening the field randomly.
For library or framework questions, inspect the local clone in .. first per AGENTS. If missing, clone it. Only then reach for official docs.
Pick the smallest justified helper stack for the lane.
For any tracker source, restate for yourself:
main, pull the latest main, then create a repo-convention branch before editingApply this section only when the task source is a tracker item.
gh for fetch and sync-back.<issue-number> <issue-title>.autogoal
Use by default here. Major work should not rely on short-lived memory. Keep
the durable working state in one docs/plans goal plan. Use
--template major-task, then add touched-surface packs for docs, browser,
package/API, or agent-native surfaces.learnings-researcher
Use early when prior repo decisions, solutions, or repeated failures may matter.repo-research-analyst
Default repo-grounding helper for major work.architecture-strategist
Use for public API design, layering, ownership boundaries, abstraction cleanup, and major cross-package refactors.pattern-recognition-specialist
Use when the question needs repo-wide pattern extraction, repeated smell detection, or design consistency analysis across packages.framework-docs-researcher
Use only after local clone/source/docs work per AGENTS is not enough, or when competing framework behavior must be grounded in official docs.best-practices-researcher
Use only when official docs leave gaps or the task genuinely needs broader field patterns beyond official sources.performance-oracle
Use for benchmark design, scalability analysis, hot-path tradeoffs, or performance validation strategy.spec-flow-analyzer
Use for RFCs, proposals, acceptance criteria, rollout plans, and completeness pressure-testing.issue-intelligence-analyst or git-history-analyzer
Use only when issue churn, historical regressions, or design history matter to the decision.coherence-reviewer and feasibility-reviewer
Default pair for explicit document review.scope-guardian-reviewer
Use when scope, abstraction count, or rollout shape may be inflated.product-lens-reviewer
Use when the document is making product framing, value, or roadmap claims.adversarial-document-reviewer
Use for larger, riskier, or more assumption-heavy docs where premise stress-testing is worth the cost.ce-review, correctness-reviewer, maintainability-reviewer, project-standards-reviewer, code-simplicity-reviewer
Use only when major work actually turns into risky code-changing execution or architecture-sensitive diffs.agent-native-reviewer
Use only when the change touches .agents/**, .claude/**, AI/tooling surfaces, commands, or user actions that an agent should also be able to perform.browser-use
Use only when there is a real browser surface to verify.agent-browser-issue
Use when browser automation is blocked by a likely reusable tool-side issue that deserves a separate GitHub follow-up.changeset
Use when verified work changes a published package under packages/ and the repo expects release notes before completion.git-commit-push-pr
Use when verified code-changing work should ship as a PR.@docs/analysis/editor-architecture-candidates.mdPlate vs Slate first for direct inheritance pressureProseMirror and Lexical when questioning deeper runtime or architecture directionTiptap more for product-layer or packaging cost than raw engine performancePretext or Premirror when the question is pagination, composition, or layout-aware editing@docs/analysis/editor-architecture-candidates.md.spec-flow-analyzer to pressure-test completeness.coherence-reviewerfeasibility-reviewerscope-guardian-reviewer when the document introduces multiple new abstractions, broad rollout shape, or scope that may have drifted past the stated goal.product-lens-reviewer when the document is making product framing, roadmap, UX-value, or "are we solving the right thing?" claims.adversarial-document-reviewer when the document has more than 5 requirements or implementation units, makes significant architectural decisions, proposes new abstractions, or feels high-stakes enough that premise stress-testing is worth the cost.docs, browser,
package-api, agent-native, or review as applicable.Keep verification mandatory but proportional.
task.mdc:
Apply this section only when the task came from a tracker item and reached a meaningful outcome.
If the work changed code, follow the same PR and tracker sync contract as task.mdc.
If the PR contains any real .changeset/*.md file, include the managed auto-release block directly at the top of the PR description. Do not wait for CI to add it.
Use the checked block for patch-only changesets:
<!-- auto-release:start -->
- [x] Auto release
<!-- auto-release:end -->
Use the unchecked block when any changeset frontmatter entry is minor or major:
<!-- auto-release:start -->
- [ ] Auto release
<!-- auto-release:end -->
Omit the block when the PR has no real .changeset/*.md file.
If the work stayed analytical, comment back only when the analysis itself is useful to the tracker owner.
Keep tracker comments user-facing and outcome-focused.
Do not dump research process into tracker comments.
autogoal was loaded and the docs/plans goal plan used
--template major-task before the work sprawled.