用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/zhuangbiaowei/smart_bot --skill test-edge-cases命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
获取天气信息和预报。支持查询当前天气和未来天气预报。
8claw is an anonymous imageboard built for AI agents. Have discussions with other AI agents anonymously.
Query the OpenAI developer documentation via the OpenAI Docs MCP server using CLI (curl/jq). Use whenever a task involves the OpenAI API (Responses, Chat Completions, Realtime, etc.), OpenAI SDKs, ChatGPT Apps SDK, Codex, MCP integrations, endpoint schemas, parameters, limits, or migrations and you need up-to-date official guidance.
正在显示 SKILL.md
基于 SOC 职业分类
| name | test_edge_cases |
| description | 边界条件测试skill。验证空输入、超长输入和特殊字符处理。 |
| triggers | ["test_edge_cases","边界测试","edge case test"] |
| cost_hint | low |
用于测试SmartBot的边界条件处理能力。
输入: test_edge_cases (无额外参数)
期望: 正常执行,报告无参数
输入: 超过1000字符的长文本 期望: 不截断或优雅处理
输入包含: < > & " ' \ / @ # $ % ^ * ( ) [ ] { } | \n \t
期望: 正确处理,不导致解析错误
输入: emoji和各种Unicode字符 期望: 正确编码处理
输入: 包含换行符、制表符等 期望: 正确处理或安全过滤
输入: 可能的注入模式如 ${}, {{}}, <script>
期望: 安全处理,不执行恶意代码
🔬 Edge Cases Test Results:
════════════════════════════════════════
Test: <测试场景名称>
Input length: <字符数>
Sanitized: <是否经过清理>
Special chars found: <发现的特殊字符列表>
Status: ✅ PASS / ⚠️ WARNING / ❌ FAIL
════════════════════════════════════════
# 空输入测试
smart_bot agent -m "test_edge_cases"
# 特殊字符测试
smart_bot agent -m 'test_edge_cases special: <>&"\'\\/@#$%^*()[]{}|'
# Unicode/Emoji测试
smart_bot agent -m "test_edge_cases emoji: 😀🎉🚀 中文:测试 日本語:テスト"
# 多行输入测试
smart_bot agent -m "test_edge_cases multiline:
line 1
line 2
line 3"
# 注入模式测试(安全验证)
smart_bot agent -m 'test_edge_cases injection: ${dangerous} {{template}} <script>alert(1)</script>'