用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vinilana/workshop-yungas --skill test-generation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| type | skill |
| name | Test Generation |
| description | Generate comprehensive test cases for code |
| skillSlug | test-generation |
| phases | ["E","V"] |
| generated | "2026-03-02T00:00:00.000Z" |
| status | filled |
| scaffoldVersion | 2.0.0 |
Activate this skill when generating test cases for existing or new code. Use it after implementing a feature, fixing a bug, or when increasing test coverage.
@nestjs/testingsupertest@testing-library/svelte:memory: SQLite database for backend tests.it('should return 404 when franchise does not exist').describe('FranchiseService', () => {
it('should create a franchise with valid data', async () => {
const dto: CreateFranchiseDTO = {
name: 'Test Franchise',
ownerName: 'John Doe',
email: 'john@example.com',
};
const result = await service.create(dto);
expect(result).toHaveProperty('id');
expect(result.name).toBe('Test Franchise');
expect(result.status).toBe('pending');
});
it('should return all franchises matching search term', async () => {
const results = await service.findAll('São Paulo');
expect(results.every(f => f.city === 'São Paulo')).toBe(true);
});
});
describe('GET /api/franchises', () => {
it('should return 200 with franchise list', async () => {
const res = await request(app)
.get('/api/franchises')
.set('Authorization', 'Bearer test-token');
expect(res.status).toBe(200);
expect(res.body.data).toBeInstanceOf(Array);
});
});