/check-async
Analyzes Python async code for correctness, patterns, and potential issues.
$ npx -y skills add athola/claude-night-market --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/check-async
Context preview
What this command does when you run it.
Analyzes Python async code for correctness, patterns, and potential issues.
Command definition
check-async.mdCheck Async Command
Usage
Analyzes Python async code for correctness, patterns, and potential issues.
Basic Usage
/check-async
Analyzes async code in the current directory.
Specific File
/check-async src/api/handlers.py
What It Does
1. **Pattern Detection**: Identifies async/await usage patterns 2. **Issue Detection**: Finds common async pitfalls 3. **Blocking Call Detection**: Identifies blocking operations in async code 4. **Concurrency Analysis**: Reviews gather, create_task, and semaphore usage 5. **Best Practice Check**: Validates against async best practices
Analysis Categories
- **Correctness**: Missing await, blocking calls, unclosed resources
- **Patterns**: Proper use of gather, create_task, semaphores
- **Error Handling**: CancelledError handling, timeout usage
- **Performance**: Connection pooling, rate limiting
- **Testing**: pytest-asyncio compatibility
Common Issues Detected
- Missing `await` on coroutines
- Blocking calls (`time.sleep`, sync I/O) in async code
- Unhandled `CancelledError`
- Missing timeout handling
- Improper resource cleanup
- Missing connection pooling
Output Format
For each file:
- Async function count
- Issues found with severity
- Pattern compliance score
- Specific recommendations
Examples
# Check with detailed output
/check-async --verbose
# Focus on blocking calls
/check-async --blocking-only
# Include test files
/check-async --include-tests
Integration
Uses the `python-async` skill's analysis tools:
- `async-analyzer`: Pattern and correctness analysis
- `concurrency-checker`: Concurrent operation validation
This command validates async code follows best practices and avoids common pitfalls.
Read more
Check Async Command
Usage
Analyzes Python async code for correctness, patterns, and potential issues.
Basic Usage
/check-async
Analyzes async code in the current directory.
Specific File
/check-async src/api/handlers.py
What It Does
1. **Pattern Detection**: Identifies async/await usage patterns 2. **Issue Detection**: Finds common async pitfalls 3. **Blocking Call Detection**: Identifies blocking operations in async code 4. **Concurrency Analysis**: Reviews gather, create_task, and semaphore usage 5. **Best Practice Check**: Validates against async best practices
Analysis Categories
- **Correctness**: Missing await, blocking calls, unclosed resources
- **Patterns**: Proper use of gather, create_task, semaphores
- **Error Handling**: CancelledError handling, timeout usage
- **Performance**: Connection pooling, rate limiting
- **Testing**: pytest-asyncio compatibility
Common Issues Detected
- Missing `await` on coroutines
- Blocking calls (`time.sleep`, sync I/O) in async code
- Unhandled `CancelledError`
- Missing timeout handling
- Improper resource cleanup
- Missing connection pooling
Output Format
For each file:
- Async function count
- Issues found with severity
- Pattern compliance score
- Specific recommendations
Examples
# Check with detailed output /check-async --verbose # Focus on blocking calls /check-async --blocking-only # Include test files /check-async --include-tests
Integration
Uses the `python-async` skill's analysis tools:
- `async-analyzer`: Pattern and correctness analysis
- `concurrency-checker`: Concurrent operation validation
This command validates async code follows best practices and avoids common pitfalls.
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Other commands on claude-night-market.
- /aggregate-logs
Generate LEARNINGS.md from skill execution logs.
Open command - /analyze-skill
Analyze skill file complexity metrics and generate modularization recommendations for splitting or progressive loading.
Open command - /bulletproof-skill
Harden skills against rationalization and bypass behaviors
Open command - /context-report
Generate context optimization report for skill directories
Open command - /create-command
Create slash commands with brainstorming and best practices
Open command - /create-hook
Create hooks with brainstorming and security-first design
Open command

