← スキル一覧に戻る

nrpg-workflow
by CleanExpo
⭐ 1🍴 0📅 2026年1月18日
SKILL.md
name: nrpg-workflow description: Use when working on NRPG Platform tasks to follow repo conventions (NextAuth cookie sessions, tenant safety, and contractor privacy) and to run the correct checks. metadata: short-description: NRPG workflow guardrails
Follow these rules when implementing changes in this repository:
Auth (critical)
- Use NextAuth cookie sessions for web UI flows.
- Do not use
localStoragetokens for auth in the UI. - In API routes, prefer
getServerSession(authOptions)and server-side role checks. - Only allow
Authorization: Bearer ...when explicitly required for non-browser clients.
Multi-tenancy & privacy (critical)
- Never expose contractor identities to clients.
- Clients must not be able to browse/search contractors or contact them directly.
- Enforce role-based access for any contractor profile endpoints/pages.
Implementation workflow
- Scan for auth-token usage (
localStorage,Authorization: Bearer) and remove/limit as required. - Verify server-side auth checks in any modified
app/api/**/route.ts. - Run targeted checks for the area changed:
npm run lintnpm testnpm run build
- Fix failures only if they are related to the change being made.
スコア
総合スコア
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
レビュー
💬
レビュー機能は近日公開予定です