Przejdź do treści
Biblioteka skilli
Programowanie · Nauka i wyjaśnianie

asyncio

/asyncio

Pokazuje wzorce asyncio w Pythonie, pułapki współbieżności i kontrolę obciążenia przy pisaniu usług asynchronicznych.

Repozytorium
SkillCamo ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
04.11.2026

Ocena i bezpieczeństwo

95/ 100Klasa: dobry
Format20 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 04.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Pokazuje wzorce asyncio w Pythonie, pułapki współbieżności i kontrolę obciążenia przy pisaniu usług asynchronicznych.

Oryginalny opis (EN)

asyncio patterns, concurrency pitfalls, and backpressure. Use when writing async Python services.

Jak działa

  1. When to Offer This Workflow
  2. Workflow Stages
  3. Checklist Before Completion
  4. Tips for Effective Guidance
  5. Handling Deviations
  6. Quality Bar
Sekcje z nagłówków SKILL.md, w oryginale · 59 linii, 358 słów
Podgląd SKILL.md
---
name: asyncio
description: "asyncio patterns, concurrency pitfalls, and backpressure. Use when writing async Python services."
---

# Asyncio

Structured guidance for **async Python** with **asyncio**: confirm triggers, propose the stages below, and adapt if the user wants a lighter pass.

## When to Offer This Workflow

**Trigger conditions:**
- User mentions **asyncio**, **async python**, or closely related work
- They want a structured workflow rather than ad-hoc tips
- They are preparing a review, rollout, or stakeholder communication

**Initial offer:**
Explain the four stages briefly and ask whether to follow this workflow or work freeform. If they decline, continue in their preferred style.

## Workflow Stages

### Stage 1: Clarify context & goals

Anchor on **event loop and tasks**. Ask what success looks like, constraints, and what must not break. Capture unknowns early.

### Stage 2: Design or plan the approach

Translate goals into a concrete plan around **cancellation and timeouts**. Compare alternatives and explicit trade-offs; avoid implicit assumptions.

### Stage 3: Implement, validate, and harden

Execute with verification loops tied to **backpressure and queues**. Prefer small steps, measurable checks, and rollback points where risk is high.

### Stage 4: Operate, communicate, and iterate

Close the loop with **debugging concurrency**: monitoring, documentation, stakeholder updates, and lessons learned for the next cycle.

## Checklist Before Completion

- Goals and constraints are explicit for **asyncio** work
- Risks and trade-offs are stated, not hand-waved
- Verification steps match the change’s impact (tests, canary, peer review)
- Operational follow-through is covered (monitoring, docs, owners)

## Tips for Effective Guidance

- Be procedural: stage-by-stage, with clear exit criteria
- Ask for missing context (environment, scale, deadlines) before prescribing
- Prefer checklists and concrete examples over generic platitudes
- If the user declines the workflow, switch to freeform help without lecturing

## Handling Deviations

- If the user wants to skip a stage: confirm and continue with what they need.
- If context is missing: ask targeted questions before strong recommendations.
- Prefer concrete examples, trade-offs, and verification steps over generic advice.

## Quality Bar

- Each recommendation should be **actionable** (what to do next).
- Call out **failure modes** relevant to asyncio concurrency (security, scale, UX, or ops).
- Keep tone direct and respectful of the user’s time.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • _meta.json 1 KB

Wersje

W bazie nie ma innych skilli o nazwie asyncio.

Migawka bazy z 13.11.2026 · wersja paczki fa58babcaee3 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100python-async
    Stosuje wzorce asynchroniczne Python z asyncio i aiohttp dla współbieżności I/O, przy dodawaniu API async i debugowaniu kodu asynchronicznego.
  • 95python-async-patterns
    Pomaga w programowaniu asynchronicznym w Pythonie z asyncio, async/await i concurrent.futures oraz we wzorcach współbieżności.
  • 90python-services
    Podpowiada wzorce Pythona dla narzędzi CLI, współbieżności asynchronicznej i usług backendowych: FastAPI, asyncio, zadania w tle oraz konfiguracja uv, ruff, ty, pytest i pyproject.toml.
  • 95python-async-patterns
    Pokazuje wzorce asyncio i async/await dla aplikacji I/O, API i systemów współbieżnych.
  • 90python
    Podpowiada wzorce wydajnościowe dla Pythona 3.11+ przy pisaniu, przeglądzie i refaktoryzacji kodu: asyncio, struktury danych, pamięć, współbieżność, pętle i napisy.
  • 100python-idiomatic-asyncio
    Pisze nieblokujące usługi w asyncio z zadaniami, semaforami i TaskGroups.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.