Use when writing or changing code that has any testable behavior — write the failing test first, implement the minimum to make it pass, then refactor under a gr…
不说虚话——S7532 交付的是能直接拿去用的成品,不是“AI 能做”的空话。
用大白话交代任务,它会先确认关键细节再动手,不瞎猜。
输出带结构与说明,拿来就能用,不用再自己整理格式。
与 AIXX 其他技能叠加使用,组成你自己的工作流。
把常用要求沉淀成一句话模板,下次直接复用。
下面是真实任务由 S7532 实际生成的内容节选——不是宣传文案,是它真的干出来的活。
任务:帮我给购物车模块写个单元测试:商品数量超10件时打九折,先写测试用例再实现这个discountCart函数。
# 购物车折扣模块:测试用例 + 实现
```javascript
// discountCart.test.js
const discountCart = require('./discountCart');
describe('购物车折扣计算 discountCart', () => {
test('1. 单商品数量>10件,打九折', () => {
const cart = [{ id: 'A1', price: 100, qty: 15 }];
const result = discountCart(cart);
expect(result.total).toBe(100 * 15 * 0.9); // 1350
expect(result.hasDiscount).toBe(true);
});
test('2. 单商品数量恰好10件,不打折', () => {
const cart = [{ id: 'B2', price: 50, qty: 10 }];
expect(discountCart(cart).total).toBe(500);
expect(discountCart(cart).hasDiscount).toBe(false);
});
test('3. 多商品混装:A超10件打折,B不超不打折', () => {
const cart = [
{ id: 'A1', price: 100, qty: 12 },
{ id: 'C3', price: 30, qty: 3 }
];
// 100*12*0.9 = 1080;30*3 = 90 → 合计1170
expect(discountCart(cart).total).toBe(1170);
expect(discountCart(cart).hasDiscount).toBe(true);
});
test('4. 空购物车返回0', () => {
expect(discountCart([])).toEqual({ total: 0, hasDiscount: false });
});
test('5. 数量为0或负数抛出异常', () => {
expect(() => discountCart([{ id: 'X', price: 10, qty: 0 }])).toThrow();
expect(() => discountCart([{ id: 'X', price: 10, qty: -1 }])).toThrow();
});
test('6. 价格精度:保留两位小数', () => {
const cart = [{ id: 'D4', price: 33.33, qty: 11 }];
expect(discountCart(cart).total).toBe(330.63); // 33.33*11*0.9=330.627 → 330.63
});
});
```
```javascript
// discountCart.js
function discountCart(cart) {
if (!Array.isArray(cart)) throw new Error('购物车必须为数组');
let total = 0, hasDiscount = false;
for (const item of cart) {
if (!
| 再招一个人 | 自己摸索 | 萬安云 S7532 | |
|---|---|---|---|
| 价格 | 月薪数千起 | 反复试错数小时 | $1.99 / 次 |
| 交付周期 | 招聘+培训数周 | 质量不稳定 | 分钟级 |
| 独特性 | 流动风险 | 无人复核 | 按你的任务从零生成 |
| 改稿迭代 | 加钱,走流程 | 反复试错 | 说话就能迭代 |
不用碰终端——你只管对 agent 说话,跑命令的活它来。
对你的 agent 说:
对你的 agent 说:



以上 Agent 均可接入萬安云 · OpenAI 兼容接口 · 装好 AIXX 即可调用全部技能
三步:终端执行 npx aixxai 安装 AIXX;对您的 AI 说「安装编号 S7532」;交代任务背景与要求,test-first-cycle即刻开工。
$1.99 一次买断(参考价,实际以平台标价为准)——永久使用,无订阅、无月费;该技能由萬安永久维护迭代,更新对已购用户免费。
可以。产出为普通数字文件,归购买者使用,可用于商业场景。
把你手头这件重复、费时、有固定套路的活交给它——先描述任务和背景,它会确认要点后直接产出成品,不满意可以继续改。
在指令里补充背景、受众与格式要求(例如“面向中小企业主、300 字以内、分三点”);要求越具体,产出越稳。
永久使用 · 无订阅无月费 · 永久维护迭代