Rechercher

PythonReactSEOPDF
GitHub Skill

handle-large-tasks

Use this skill to split large plans into smaller chunks. This skill manages your context window for large tasks. Use it when a task will take a long time and cause context issues.

tilework-tech☆ 106 Étoiles du dépôt5 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

  • Announce that you are creating subagents.
  • Construct a plan for each subagent.
  • Write a test for each subagent based on what you expect the subagent to do.
  • Start each subagent using the Task tool with instructions to make the test pass.
    • Subagents may come back and ask questions or present plans. Review and provide feedback.
    • You may have to restart subagents. If that happens, simply pass in the previous produced plan.
  • Evaluate the code the subagent produces. Give feedback. Iterate until tests pass AND the code fits.
  • When all subagents complete, make sure all tests pass and all of the code fits together coherently.

Guidelines

Use subagents to manage your context. Each subagent has its own limited context window. Subagents perform best when they have clear implementation guidelines. Each subagent should be given a small and precise task. Create tests for each subagent and explicitly tell the subagent that it is responsible for making sure that test passes. The tests should test behavior. You are responsible for the final output. That means you MUST ensure that everything runs as expected. You should create high level tests that validate overall behavior.

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-01-28
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!