blocking-io-guard
A contributor skill in ByteDance's DeerFlow repository for making sure async Python backend code that could block the event loop is covered by a runtime test.
O que a skill ensina
A contributor skill in ByteDance's DeerFlow repository for making sure async Python backend code that could block the event loop is covered by a runtime test. It scans either the contributor's own diff before a pull request or the whole repository, sorts each finding into already offloaded (add a guard test), blocking (offload it, then add a test) or no action with a recorded reason, and writes or extends an anchor test that drives the exact code path. A mandatory step reintroduces the blocking call to prove the test fails, then restores the fix to see it pass. The pull request lists every finding, its outcome and the red-to-green evidence.
O que faz
- Scan Python async code for calls that block the event loop
- Sort findings into guard, fix or no-action
- Write anchor tests and prove they fail without the fix
Sobre
- Publicador
- ByteDance
- Ferramenta
- Testes
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
O que tem dentro
- references/good-anchor-rules.md
- references/sop-skeleton.md
- templates/anchor.template.py
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Esta skill inclui scripts que o seu agente pode executar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Testes | |
| Publicador | ByteDance | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Sim | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | MIT | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 202685.246 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Fontes
- Arquivo da skill (SKILL.md)github.com/bytedance/deer-flow10 de nov. de 2026
- Repositório no GitHubgithub.com/bytedance/deer-flow · Comprova: Licença, Publicador, Atividade11 de nov. de 2026
- Pasta no repositório (blocking-io-guard)github.com/bytedance/deer-flow · Comprova: Inclui scripts10 de nov. de 2026