event-signup-collector

Parse pasted event announcements to generate an event ID, return the signup link, and produce WeChat group copy; when exporting event acceptance documents on request, read Smartsheet signup data, collect material photos and installation CSVs, and generate the acceptance Excel according to Tencent templates. Intended for scenarios where users paste event notices into project tasks or request export of acceptance documentation.

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 "event-signup-collector" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6e1e9de85fb31bd2ca6a149dcdb8abec213859ee53fccde79e2ef399853b0388. Verify the upstream source and version against https://skillhub.cn/skills/user_6ed34347/event-signup-collector 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

Parse pasted event announcements to generate an event ID, return the signup link, and produce WeChat group copy; when exporting event acceptance documents on request, read Smartsheet signup data, collect material photos and installation CSVs, and generate the acceptance Excel according to Tencent templates. Intended for scenarios where users paste event notices into project tasks or request export of acceptance documentation.

0 Downloads

Introduction source: third_party · user_6ed34347 · 1.0.9 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: event-signup-collector
displayName: 活动报名助手
version: 2.0.0
slug: event-signup-collector
agent_created: true
description: >
  当用户在项目任务中粘贴活动通知原文时,解析并生成活动ID、返回报名链接和微信群文案。
  当用户要求导出活动验收文件时,读取Smartsheet报名数据、收集物料照片和装机CSV,按腾讯模板生成验收Excel。
skillType: experience
categoryId: cat_tool_02_12
tags: [活动运营, 报名, 验收, 自动化]
author: 共创馆
summary: 创建活动→生成报名链接→自动汇总→导出验收Excel

活动报名助手

数据源

Smartsheet:  BqlXltJAyOFT  sheet: t33ZvL(表单数据自动写入此sheet)
表单链接:    https://docs.qq.com/smartsheet/form/BqlXltJAyOFT%2Ft33ZvL%2FvVO3aO?tab=t33ZvL
验收模板:    F:\Workbuddy-Folder\AI+OPC\活动运营skill设计\【腾讯云 AI 智能体推广专项 】装机活动验收模板.xlsx
工作目录:    F:\Workbuddy-Folder\work-manager\events\

场景一:创建活动

管理员在项目任务中粘贴活动通知原文。解析并输出:

解析字段

从通知原文提取:活动名称、日期、时间、签到时间、地点、主办方、承办方、议程描述

保存活动信息

F:\Workbuddy-Folder\work-manager\events\EVENT-YYYY-MMDD\活动信息.json

{
  "活动ID": "EVENT-2026-0712",
  "腾讯模板名称": "【腾讯云 AI 智能体推广专项】{活动简称}+{承办公司}+{月日}+{城市}",
  "活动名称": "...",
  "日期": "2026-07-12",
  "时间": "14:00-17:00",
  "签到时间": "13:30",
  "地点": "...",
  "主办方": "...",
  "承办方": "...",
  "议程描述": "从通知正文提取"
}

返回报名文案

✅ 活动 EVENT-YYYY-MMDD 已创建

👇 报名链接(发微信群):
https://docs.qq.com/smartsheet/form/BqlXltJAyOFT%2Ft33ZvL%2FvVO3aO?tab=t33ZvL

📋 活动ID选: EVENT-YYYY-MMDD

场景二:导出验收文件

管理员说"导出 EVENT-xxx"时执行。

步骤

1. 读数据

# 读 Smartsheet 表单数据
mcp__tencent-docs__smartsheet.list_records({
  file_id: "BqlXltJAyOFT", sheet_id: "t33ZvL", limit: 200
})
# 筛选 活动ID = EVENT-xxx 的记录

# 读活动信息
with open(r'F:\Workbuddy-Folder\work-manager\events\{event_id}\活动信息.json') as f:
    info = json.load(f)

2. 询问补充材料

📋 已汇总 N 条报名记录。请补充:

1️⃣ 物料设计图片(直接发图片)
2️⃣ 现场照片(直接发图片,3-5张)
3️⃣ 装机客户CSV账单 — 发送L3明细账单CSV文件
   (没有可回复"跳过")

3. 生成 Excel — 完整脚本

import openpyxl, shutil, json, csv, re, os
from openpyxl.drawing.image import Image as XlImage
from openpyxl.styles import Alignment
from PIL import Image as PilImage

TEMPLATE = r'F:\Workbuddy-Folder\AI+OPC\活动运营skill设计\【腾讯云 AI 智能体推广专项 】装机活动验收模板.xlsx'
out = f'F:\\Workbuddy-Folder\\活动验收-{event_id}.xlsx'
shutil.copy(TEMPLATE, out)
wb = openpyxl.load_workbook(out)

ws1 = wb['活动信息']

# === 自适应图片宽度:读取D列宽度,1字符≈5.5px,上限320px ===
col_w = ws1.column_dimensions.get('D').width or 60
cell_px_w = min(int(col_w * 5.5), 320)

# Sheet 1: 活动信息
ws1['D2'] = info['腾讯模板名称']
ws1['D3'] = info['地点']
ws1['D4'] = f"{info['日期']} {info['时间']}({info['签到时间']}签到)"

# D5 活动议程
agenda = info.get('议程描述', '')
c = ws1['D5']; c.value = agenda; c.alignment = Alignment(wrap_text=True, vertical='top')
ws1.row_dimensions[5].height = 80

# D6 物料设计图 — 自适应列宽
pil_d6 = PilImage.open(物料图路径)
ratio6 = cell_px_w / pil_d6.width
img1 = XlImage(物料图路径)
img1.width = cell_px_w; img1.height = int(pil_d6.height * ratio6)
ws1.add_image(img1, 'D6')
ws1.row_dimensions[6].height = int(img1.height * 0.75) + 5

# D7 现场照片 — Pillow拼合为一张竖图后放入
imgs = [PilImage.open(p).convert('RGB') for p in 照片路径列表]
hq_w = 1200  # 高分辨率拼合
h_each = int(hq_w * imgs[0].height / imgs[0].width)
resized = [im.resize((hq_w, h_each)) for im in imgs]
gap = 4
combined = PilImage.new('RGB', (hq_w, h_each * len(resized) + gap * (len(resized)-1)), 'white')
y_pos = 0
for r in resized:
    combined.paste(r, (0, y_pos))
    y_pos += h_each + gap
tmp = os.environ['TMP'] + '\\combined_photos.jpg'
combined.save(tmp, quality=90)

img2 = XlImage(tmp)
ratio7 = cell_px_w / combined.width
img2.width = cell_px_w; img2.height = int(combined.height * ratio7)
ws1.add_image(img2, 'D7')
ws1.row_dimensions[7].height = int(img2.height * 0.75) + 10

# Sheet 2: 参会名单(公司, 姓名, 手机号, 职位)
ws2 = wb['参会名单']
ws2.delete_rows(4)
for i, a in enumerate(attendees):
    ws2.cell(row=4+i, column=1, value=a['公司名称'])
    ws2.cell(row=4+i, column=2, value=a['姓名'])
    ws2.cell(row=4+i, column=3, value=a['手机号'])
    ws2.cell(row=4+i, column=4, value=a['职位'])

# Sheet 3: 装机客户明细
# A列=UIN, B列=企业名称(从CSV配置属性提取), C-F列留空手动贴截图
ws3 = wb['装机客户明细']
ws3.delete_rows(4)

uins_company = {}
with open(CSV路径, 'r', encoding='utf-8') as f:
    reader = csv.reader(f)
    next(reader)  # 跳过表头
    for row in reader:
        uin = row[1].strip().replace('\t', '')       # 使用者UIN
        config = row[16].strip().replace('\t', '')    # 配置属性
        # 匹配"企业名称"或"企业信息"
        m = re.search(r'企业(?:名称|信息):([^;]+)', config)
        company = m.group(1) if m else ''
        if uin and uin.isdigit():
            uins_company[uin] = company

for i, uin in enumerate(sorted(uins_company.keys())):
    ws3.cell(row=4+i, column=1, value=uin)           # A列: UIN
    ws3.cell(row=4+i, column=2, value=uins_company[uin])  # B列: 企业名称
    # C-F列留空(手动粘贴 workbuddy/Lighthouse/CodingPlan/ADP/Token Plan 截图)

wb.save(out)

4. 返回

✅ 验收文件已生成: 活动验收-EVENT-xxx.xlsx

📊 Sheet1: 活动信息+物料图+现场照
📊 Sheet2: {N}人参会名单
📊 Sheet3: {M}个装机UIN(B列=企业名称,C-F列留空手动贴截图)
💡 请检查自动填充内容,手动补充截图和装机客户明细

Current listing version

1.0.9

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供活动报名解析与验收文件导出功能,适用于活动运营场景
  • 具有明确的实用价值和广泛的应用场景
Trigger Precision95/100

Highlights

  • 触发词精准完整,覆盖多种变体,边界清晰
  • description 明确描述了两个核心触发场景
Structure and Standards90/100

Highlights

  • 结构清晰,分为两个主要场景,每个场景都有详细的步骤划分
  • 包含端到端示例,frontmatter完整
Execution Reliability88/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常
  • 脚本逻辑完整,可靠性良好
Evidence Verifiability (mean of the first four)90/100

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.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • docs.qq.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

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.