SkillsGrove
SkillsGrove/생산성/wulaosiji/skills/feishu-logger

feishu-logger

설치

$npx skills add https://github.com/wulaosiji/skills --skill feishu-logger
$git clone --depth 1 https://github.com/wulaosiji/skills.git /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/feishu-doc-orchestrator/feishu-logger ~/.claude/skills/feishu-logger
이 Agent Skill을 설치해 주세요: https://github.com/wulaosiji/skills/tree/d733e1308915dcdcc52c9594853b10f497e7a4a0/feishu-doc-orchestrator/feishu-logger — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MIT日志记录子技能 / Feishu logger sub-skill. 收集所有步骤的结果,记录文档创建结果到日志文件,支持 Markdown 和 JSON 格式。 Use when: "记录飞书文档日志", "log feishu document", "创建日志汇总", "creation log summary", "Markdown日志", "markdown log", "JSON日志", "json log". 内部组件,由 feishu-doc-orchestrator 编排调用,汇总所有子技能输出到 CREATED_DOCS.md 和 created_docs.json。Cross-references: feishu-doc-orchestrator, feishu-doc-verifier, feishu-block-adder. Built by UniqueClub 🌐 https://uniqueclub.ai
아래 SKILL.md는 wulaosiji/skills(커밋 d733e13)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2025 Feishu Document Creation Skill. 라이선스: feishu-doc-orchestrator/LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Feishu Logger (Sub-skill)

收集所有步骤的结果,记录到日志文件(Markdown 和 JSON 格式)。内部组件。

When to Use

Use this skill when:

  • 需要汇总文档创建流程中所有步骤的结果时
  • 需要生成 Markdown 格式的创建日志时
  • 需要生成 JSON 格式的结构化日志时

Do NOT use this skill if:

  • 需要验证文档 → use feishu-doc-verifier instead
  • 需要创建文档 → use feishu-doc-orchestrator (parent) instead
  • 需要添加块 → use feishu-block-adder instead

Typical triggers:

  • 「记录创建日志」「汇总文档创建结果」
  • "log creation result", "summarize doc creation"

Workflow

  1. 探查 (Probe) 从工作流目录加载所有 JSON 结果文件:blocks.json、doc_info.json、add_result.json、permission_result.json、verify_result.json。

  2. 约束 (Constrain) 只记录关键信息(文档 ID、URL、权限状态、验证状态),不记录敏感凭证。日志文件追加写入,不覆盖历史记录。

  3. 执行 (Execute)

  4. 加载所有结果文件

  5. 提取关键信息

  6. 追加记录到 CREATED_DOCS.md 和 created_docs.json

  7. 在控制台打印创建摘要

python scripts/logger.py workflow/ output
  1. 验证 (Verify) 检查日志文件已更新,新记录包含完整的文档信息和状态。

  2. 交付 (Deliver) 返回日志文件路径和创建摘要。

Output

CREATED_DOCS.md 格式:

## 文档标题

- **时间**: 2026-01-22 10:30:00
- **文档ID**: `U2wNd2rMkot6fzxr67ScN7hJn7c`
- **URL**: [https://feishu.cn/docx/...](...)
- **collaborator_added**: True
- **owner_transferred**: True
- **user_has_full_control**: True
- **document_verified**: True
- **tables_created**: 10
- **blocks_created**: 290

Guardrails

Anti-patterns

  • NEVER 在日志中记录飞书应用凭证或 token
  • Do NOT 覆盖历史日志记录(追加写入)
  • Do NOT 独立使用本子技能——应由父技能编排

Constraints

  • 接收所有子技能的输出结果
  • 最终汇总并记录到日志文件
  • 支持 Markdown 和 JSON 双格式输出

Related Skills

  • feishu-doc-orchestrator (parent) — 主编排技能,调用本子技能
  • feishu-doc-verifier — 上游:提供验证结果
  • feishu-block-adder — 上游:提供块添加结果

About UniqueClub

Part of the UniqueClub toolkit. 🌐 https://uniqueclub.ai

라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2025 Feishu Document Creation Skill

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.