← スキル一覧に戻る

plugin-mm-importer-dev
by insoln
⭐ 1🍴 0📅 2026年1月11日
SKILL.md
name: plugin-mm-importer-dev description: Mattermost mm-importer plugin development workflow (SemVer bump, Docker multi-stage build, bundle output, deploy/enable via backend API). Use when changing plugin endpoints, attachment streaming, channel creation, or plugin packaging. license: Complete terms in LICENSE.txt compatibility: Requires Docker for the canonical build.
Mattermost Plugin: mm-importer
When to use
- Editing plugin server code under
infra/plugin/server/ - Updating plugin API endpoints or behavior
- Changing attachment streaming (
/attachment_from_url) or size validation - Building and packaging the plugin bundle for deployment
Key rules
- Do not use legacy build scripts. Use the multi-stage Docker build helper:
bash infra/plugin/build-docker.sh
- If you change plugin code, bump the version in
infra/plugin/plugin.jsonfollowing SemVer.
Build (canonical)
From repo root:
bash infra/plugin/build-docker.sh
Expected output:
infra/plugin/dist/mm-importer-<version>.tar.gz
Deploy / enable via backend
Backend management endpoints are exposed in two equivalent forms:
/plugin/*(legacy, used by some scripts)/api/plugin/*(documented in the root README)
Common endpoints:
GET /plugin/status(orGET /api/plugin/status)POST /plugin/ensure(orPOST /api/plugin/ensure) — idempotent deploy+enablePOST /plugin/deploy(orPOST /api/plugin/deploy)POST /plugin/enable(orPOST /api/plugin/enable)POST /plugin/reinstall(orPOST /api/plugin/reinstall)
Typical flow:
- Ensure backend is healthy:
curl http://localhost:8000/healthcheck - Ensure plugin installed+enabled:
curl -X POST http://localhost:8000/plugin/ensure - Verify plugin responds (example):
http://localhost:8065/plugins/mm-importer/api/v1/hello
Related docs
- Plugin API + build/deploy strategy: infra/plugin/README.md
- Backend API routes overview: backend/app/api/README.md
- Backend plugin endpoint implementation: backend/app/api/plugin.py
- Public API examples: README.md
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です