소스 정보
- 저장소
- axfinn/devtools
- 최근 소스 활동
- 2026년 5월 2일 14:49
- 감지된 SKILL.md 언어
- 중국어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/axfinn/devtools --skill household명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | household |
| description | 家庭物品整理 — 物品库存管理、位置标注、到期提醒、AI 智能添加/分析、小票 OCR 识别。触发:整理物品、添加物品、库存管理、物品快过期、收纳整理 |
| triggers | ["整理物品","库存管理","添加物品","物品整理","收纳","household"] |
通过 DevTools 后端 API 管理家庭物品库存、位置和到期提醒。后端默认运行在 https://t.jaxiu.cn。
初始化后会获得 token(存储在前端 localStorage),所有操作需要 token。
curl -s -X POST https://t.jaxiu.cn/api/household/init \
-H "Content-Type: application/json" \
-d '{}'
# 返回: {"token":"xxx"}
curl -s -X POST https://t.jaxiu.cn/api/household/items \
-H "Content-Type: application/json" \
-d '{
"token": "xxx",
"name": "洗衣液",
"category": "日用品",
"quantity": 2,
"unit": "瓶",
"location": "阳台柜子",
"expire_date": "2027-01-01",
"min_stock": 1,
"notes": "蓝月亮薰衣草味"
}'
常用 category: 食品饮料、日用品、药品、化妆品、衣物、电子、文具、其他
# 全部物品
curl -s "https://t.jaxiu.cn/api/household/items?token=xxx"
# 按分类筛选
curl -s "https://t.jaxiu.cn/api/household/items?token=xxx&category=日用品"
# 按位置筛选
curl -s "https://t.jaxiu.cn/api/household/items?token=xxx&location=阳台柜子"
# 低库存提醒
curl -s "https://t.jaxiu.cn/api/household/items?token=xxx&low_stock=true"
# 即将过期
curl -s "https://t.jaxiu.cn/api/household/items?token=xxx&expiring=true"
# 使用物品(减少库存)
curl -s -X POST https://t.jaxiu.cn/api/household/items/{item_id}/use \
-H "Content-Type: application/json" \
-d '{"token":"xxx","quantity":1}'
# 补充物品(增加库存)
curl -s -X POST https://t.jaxiu.cn/api/household/items/{item_id}/restock \
-H "Content-Type: application/json" \
-d '{"token":"xxx","quantity":2}'
# 开封物品
curl -s -X POST https://t.jaxiu.cn/api/household/items/{item_id}/open \
-H "Content-Type: application/json" \
-d '{"token":"xxx"}'
# 更新
curl -s -X PUT https://t.jaxiu.cn/api/household/items/{item_id} \
-H "Content-Type: application/json" \
-d '{"token":"xxx","name":"新名称","quantity":5,"location":"新位置"}'
# 删除
curl -s -X DELETE "https://t.jaxiu.cn/api/household/items/{item_id}?token=xxx"
curl -s -X POST https://t.jaxiu.cn/api/household/templates \
-H "Content-Type: application/json" \
-d '{
"token": "xxx",
"name": "牛奶",
"category": "食品饮料",
"unit": "盒",
"default_location": "冰箱",
"min_stock": 3,
"expire_days": 7
}'
curl -s "https://t.jaxiu.cn/api/household/templates?token=xxx"
curl -s "https://t.jaxiu.cn/api/household/notifications?token=xxx"
# 单条
curl -s -X POST https://t.jaxiu.cn/api/household/notifications/{notif_id}/read \
-H "Content-Type: application/json" \
-d '{"token":"xxx"}'
# 全部已读
curl -s -X POST https://t.jaxiu.cn/api/household/notifications/read-all \
-H "Content-Type: application/json" \
-d '{"token":"xxx"}'
# 查看
curl -s "https://t.jaxiu.cn/api/household/todos?token=xxx"
# 创建
curl -s -X POST https://t.jaxiu.cn/api/household/todos \
-H "Content-Type: application/json" \
-d '{"token":"xxx","title":"购买牙膏","quantity":2,"priority":"medium"}'
# 完成/更新
curl -s -X PUT https://t.jaxiu.cn/api/household/todos/{todo_id} \
-H "Content-Type: application/json" \
-d '{"token":"xxx","done":true}'
curl -s -X POST https://t.jaxiu.cn/api/household/ai/add \
-H "Content-Type: application/json" \
-d '{
"token": "xxx",
"text": "冰箱里有3盒安慕希酸奶,保质期到6月30号,还有2斤车厘子"
}'
curl -s -X POST https://t.jaxiu.cn/api/household/ai/analyze \
-H "Content-Type: application/json" \
-d '{"token":"xxx"}'
# 返回: 库存健康度、过期风险、补货建议
curl -s "https://t.jaxiu.cn/api/household/ai/restock?token=xxx"
# 基于使用频率和低库存自动推荐需要购买的物品
curl -s -X POST https://t.jaxiu.cn/api/household/ai/parse \
-H "Content-Type: application/json" \
-d '{
"token": "xxx",
"text": "超市购物清单:牛奶2盒、面包1袋、鸡蛋30个、洗衣液1瓶"
}'
curl -s -X POST https://t.jaxiu.cn/api/household/ai/todos/merge \
-H "Content-Type: application/json" \
-d '{"token":"xxx"}'
# 智能合并相似的待购项
curl -s -X POST https://t.jaxiu.cn/api/household/ocr/receipt \
-H "Content-Type: application/json" \
-d '{
"token": "xxx",
"image": "data:image/png;base64,iVBORw0KGgo..."
}'
# 识别小票上的商品、金额、日期,自动添加到库存
curl -s -X POST https://t.jaxiu.cn/api/household/barcode/lookup \
-H "Content-Type: application/json" \
-d '{"token":"xxx","barcode":"6901234567890"}'
curl -s "https://t.jaxiu.cn/api/household/stats?token=xxx"
# 返回: 总物品数、分类分布、低库存数、即将过期数、本月消耗/补充统计
# 发送消息
curl -s -X POST https://t.jaxiu.cn/api/household/chat \
-H "Content-Type: application/json" \
-d '{"token":"xxx","message":"冰箱里有什么吃的?"}'
# 查看历史
curl -s "https://t.jaxiu.cn/api/household/chat/history?token=xxx"
# 清除历史
curl -s -X DELETE "https://t.jaxiu.cn/api/household/chat/history?token=xxx"
当用户说"家里还有多少牛奶"或"整理一下冰箱"时,使用物品列表查询。 当用户说"我买了xxx"时,使用 AI 添加物品 API。 当用户说"帮我整理超市小票"时,使用小票 OCR。 当用户说"什么东西快过期了"时,使用 expiring=true 筛选。
Base URL: https://t.jaxiu.cn