shdskill55
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "shdskill55" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ccb6a05b21cc33b0acf95740e494d2785e5a4b40a94e29a002f96f13aaa4ebca. Verify the upstream source and version against https://skillhub.cn/skills/user_9355e276/shdskill55 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
License-plate information recording and query tool. Supports quick recording and retrieval of family, friends’, or colleagues’ license-plate information via voice or keyboard input, suitable for scenarios that frequently manage plates (for example, community visitor registration or lending cars among acquaintances). Users can record information by “input name and plate number” or quickly retrieve stored plates by “query name plate.”
Introduction source: third_party · user_9355e276 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: shdskill55
description: 随时随地车牌记录查询name: 车牌信息记录与查询 description: 通过语音或键盘输入记录和查询家人、朋友、同事的车牌信息。触发词为“输入车牌”和“查询车牌”。 triggers:
- pattern: "输入{name}车牌{plate}" description: "记录某人的车牌信息,例如:输入张三车牌京A12345"
- pattern: "查询{name}车牌" description: "查询某人的车牌信息,例如:查询张三车牌" version: 1.0.0 author: Work Buddy 助手 variables:
- name: license_plate_db type: key_value description: "存储姓名与车牌的键值对数据" default: {} steps:
- id: parse_intent
type: switch
config:
cases:
- condition: "{{trigger.pattern}} contains '输入' and '车牌' in trigger.pattern"
steps:
- id: extract_name_and_plate
type: code
config:
language: python
code: |
import re
从触发文本中提取姓名和车牌
text = "{{trigger.text}}" # 匹配 “输入XXX车牌XXXXX” 或 “输入 XXX 车牌 XXXXX” match = re.search(r'输入\s*([^\s车牌]+)\s*车牌\s*([^\s]+)', text) if match: name = match.group(1).strip() plate = match.group(2).strip() # 保存到变量供后续步骤使用 print(f"name={name}, plate={plate}") else: # 尝试备用匹配 match2 = re.search(r'输入\s*([^\s]+)\s*车牌', text) if match2: name = match2.group(1).strip() # 车牌可能是剩下的部分 rest = text.replace(match2.group(0), '').strip() if rest: plate = rest else: plate = "未识别" else: name = "未识别" plate = "未识别" - id: save_plate type: action config: action: set_variable key: "license_plate_db.{{steps.extract_name_and_plate.name}}" value: "{{steps.extract_name_and_plate.plate}}"
- id: confirm_save
type: action
config:
action: send_message
to: "{{user.id}}"
content: |
✅ 已记录车牌信息
👤 姓名:{{steps.extract_name_and_plate.name}} 🚗 车牌号:{{steps.extract_name_and_plate.plate}}
- id: extract_name_and_plate
type: code
config:
language: python
code: |
import re
- condition: "{{trigger.pattern}} contains '查询' and '车牌' in trigger.pattern"
steps:
- id: extract_name_for_query
type: code
config:
language: python
code: |
import re
text = "{{trigger.text}}"
匹配 “查询XXX车牌”
match = re.search(r'查询\s*([^\s车牌]+)\s*车牌', text) if match: name = match.group(1).strip() print(f"query_name={name}") else: name = "未识别" - id: query_plate type: action config: action: get_variable key: "license_plate_db.{{steps.extract_name_for_query.name}}" default: "未找到"
- id: send_query_result
type: action
config:
action: send_message
to: "{{user.id}}"
content: |
🔍 车牌查询结果
👤 姓名:{{steps.extract_name_for_query.name}} 🚗 车牌号:{{steps.query_plate.value}} {{steps.query_plate.value == "未找到" ? "(暂无该联系人的车牌记录)" : ""}}default:
- id: extract_name_for_query
type: code
config:
language: python
code: |
import re
text = "{{trigger.text}}"
- id: send_help
type: action
config:
action: send_message
to: "{{user.id}}"
content: |
⚠️ 未识别的指令
请使用以下格式: • 记录:输入 [姓名] 车牌 [车牌号] • 查询:查询 [姓名] 车牌 例如: • 输入张三车牌京A12345 • 查询张三车牌
- condition: "{{trigger.pattern}} contains '输入' and '车牌' in trigger.pattern"
steps:
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供车牌信息的记录与查询功能,满足特定场景下的实用需求
Highlights
- 触发词定义清晰,覆盖主要使用场景,边界较为明确
Highlights
- 结构完整,步骤划分清晰,包含端到端示例和出口条件
Areas to improve
-
正则表达式边缘情况匹配风险 Reported severity: Minor
当前正则表达式在极端边缘情况下可能存在匹配失败的风险,且未对车牌格式进行校验
Recommendation: 建议增加更健壮的正则表达式或引入车牌格式校验逻辑,以提升数据提取的准确性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.