Suggest unit tests from file list and function definitions. Analyzes code to recommend test cases and provides test templates for better coverage.
Scanned 9/7/2026
Install to Claude Code
npx -y skills add jiayaoqijia/cryptoskill --skill xspoonai-official-test-suggestions --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Xspoonai Official Test Suggestions?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/jiayaoqijia-xspoonai-official-test-suggestions)More formats (shields.io, HTML) on the badges page.
---
name: test-suggestions
track: enterprise-skills
version: 0.1.0
summary: Suggest unit tests from file list and functions
---
## Description
Suggest unit tests from file list and function definitions. Analyzes code to recommend test cases and provides test templates for better coverage.
## Inputs
```json
{
"files": ["list of source files"],
"functions": ["function names to test"]
}
```
## Outputs
```json
{
"ok": true,
"data": {
"suggestions": [],
"coverage_estimate": "75%"
}
}
```
## Usage
### Demo Mode
```bash
python scripts/main.py --demo
```
### Get Test Suggestions
```bash
echo '{"files": ["main.py"], "functions": ["process_data"]}' | python3 scripts/main.py
```
## Examples
### Example 1: Test Suggestions
```bash
$ echo '{"files": ["utils.py"], "functions": ["calculate_total"]}' | python3 scripts/main.py
{
"ok": true,
"data": {
"suggestions": ["Test with positive numbers", "Test with negative numbers", "Test edge cases"],
"coverage_estimate": "85%"
}
}
```
## Error Handling
When an error occurs, the skill returns:
```json
{
"ok": false,
"error": "Error description",
"details": {
"files": "File not found"
}
}
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Practical guide to testing web applications with screen readers for comprehensive accessibility validation.
克劳德代码会话的正式评估框架,实施评估驱动开发(EDD)原则
Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。
Django测试策略,包括pytest-django、TDD方法论、factory_boy、模拟、覆盖率以及测试Django REST Framework API。
在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。