notion-content
記事を公開した後、Notionデータベースにコンテンツレコードを自動作成します。記事タイトルと公開リンク(zhihu、weixin、baidu、sohu、toutiao、x.com)をユーザーが提供した際に使用できます。URLから自動的にプラットフォームを判定し、公開日を入力します。「/notion-content」「notion記録」「内容入库」というコマンド、またはユーザーがリンク付きで記事を公開したことを伝えた場合に起動します。
description の原文を見る
Create content records in Notion database after publishing articles. Use when user provides article title and publishing links (zhihu, weixin, baidu, sohu, toutiao, x.com). Auto-detects platform from URL, fills publish date. Trigger on "/notion-content", "notion记录", "内容入库", or when user says they published an article with links.
SKILL.md 本文
Notion コンテンツマネージャー
記事を様々なプラットフォームに公開した後、Notion の「内容中心」データベースにコンテンツレコードを作成します。
使用方法
ユーザーが以下を提供します:
- タイトル: 記事のタイトル(必須)
- リンク: 公開された記事の URL 1 つ以上(必須)
入力例:
/notion-content
タイトル:《AI編程実戦ガイド》
リンク:
https://zhuanlan.zhihu.com/p/123456
https://mp.weixin.qq.com/s/abcdef
ワークフロー
- ユーザー入力を解析してタイトルとリンクを抽出する
- スクリプトを実行します:
python scripts/notion_content.py --title "文章标题" --links "url1" "url2" "url3"
- 結果をユーザーに報告する
スクリプト位置
scripts/notion_content.py - すべてのビジネスロジックを処理します:
- URL ドメインからのプラットフォーム検出
- 重複リンクの確認
- Notion API 呼び出し
- エラーハンドリング
環境設定
スキルディレクトリの .env ファイルが必要です:
NOTION_TOKEN=secret_xxxxx
サポート対象プラットフォーム
| プラットフォーム | URL パターン |
|---|---|
| 知乎 | zhihu.com |
| 百家号 | baijiahao.baidu.com |
| 搜狐号 | sohu.com |
| 头条号 | toutiao.com |
| 公众号 | mp.weixin.qq.com |
| X 記事 | x.com, twitter.com |
ライセンス: MIT(寛容ライセンスのため全文を引用しています) · 原本リポジトリ
詳細情報
- 作者
- majiayu000
- ライセンス
- MIT
- 最終更新
- 2026/5/4
Source: https://github.com/majiayu000/claude-skill-registry / ライセンス: MIT