Track and update action item status from natural language updates like 'Seanのメールには返信しておいた' or 'Lu対応予定'. Integrates with daily-comms-ops workflow. Use when managing action items across communication channels.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
従業員リスト(勤務可能時間帯・曜日・資格等の制約条件付き)と人員要件(作業室×曜日×時間帯の必要人員)を入力として、 個人別シフトを自動編成するスキル。
制約充足型 Greedy Assignment アルゴリズムにより、 ハード制約(労働時間上限、連続勤務制限、休息時間、資格マッチング)を遵守しつつ、 公平性(週末均等配分、時間偏差)を考慮したシフト表を生成する。カバレッジ検証(30分刻み)と公平性レポートも自動出力。
Use when: 「シフトを作成」「従業員のシフト編成」「勤務表を自動生成」 「人員配置のシフト計画」「週次シフトスケジュール」「shift schedule」
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
従業員リスト(roster)と人員要件(requirements)を入力として、制約充足型 Greedy Assignment で個人別シフトを自動編成するスキル。 production-schedule-optimizer の出力(人員要件)を活用可能だが、単体でも汎用的なシフト計画ツールとして動作する。
Primary language: Japanese (default), English supported Algorithm: Constraint-Satisfaction Greedy Assignment (difficulty-first slot ordering) Output format: Markdown report (shift table, coverage matrix, fairness report, alerts) Dependencies: None (Python standard library only)
start_hour >= end_hour のパターンは SFT-E004 で Reject3種類のCSVファイルを入力として受け取る(シフトパターンは任意)。
| Column | Type | Required | Description |
|---|---|---|---|
| employee_id | string | Yes | 一意の従業員ID(例: EMP-001) |
| name | string | Yes | 表示名 |
| available_days | string | Yes | 勤務可能曜日(セミコロン区切り: MON;TUE;WED) |
| max_hours_week | float | Yes | 週最大労働時間 |
| max_days_week | int | Yes | 週最大勤務日数 |
| qualifications | string | Yes | 対応可能な作業室コード(セミコロン区切り) |
| is_supervisor | int | Yes | 監督者=1, それ以外=0 |
| preferred_patterns | string | No | 希望シフトパターン(セミコロン区切り, 空=制限なし) |
| avoid_days | string | No | 回避希望曜日(ソフト制約, セミコロン区切り) |
| contract_hours | float | No | 契約時間(デフォルト=max_hours_week, 公平性計算用) |
| Column | Type | Required | Description |
|---|---|---|---|
| day | string | Yes | 曜日コード(MON-SUN) |
| room_code | string | Yes | 作業室コード |
| required_staff | int | Yes | 必要人員数 |
| start_hour | float | No | 稼働開始(デフォルト 8.0) |
| end_hour | float | No | 稼働終了(デフォルト 17.0) |
| need_supervisor | int | No | 監督者必須=1(デフォルト 1) |
| Column | Type | Required | Description |
|---|---|---|---|
| pattern_id | string | Yes | パターンID(例: FULL_8H) |
| name | string | Yes | 表示名 |
| start_hour | float | Yes | 開始時刻 |
| end_hour | float | Yes | 終了時刻 |
| break_start | float | No | 休憩開始(空=休憩なし) |
| break_end | float | No | 休憩終了 |
| net_hours | float | Yes | 実労働時間 |
未指定時はビルトインの5パターン(FULL_8H / EARLY_8H / LATE_8H / SHORT_6H / HALF_4H)を使用。
Sample files:
assets/sample_roster.csv,assets/sample_requirements.csv,assets/sample_shift_patterns.csv
Purpose: 制約充足型 Greedy Assignment で個人別シフトを自動編成する。
各スロットについて:
候補フィルタ (is_eligible): ハード制約チェック
優先度スコア (compute_priority_score): 固定重み式
score = -(remaining_hours * 10) # 契約残余多い=優先
+ (weekend_shifts * 20) # 週末バランス
+ (avoid_penalty * 50) # 回避曜日ペナルティ
- (supervisor_bonus * 100) # 監督者ボーナス
- (speciality * 5) # 資格専門度
+ (preference_miss * 30) # 希望パターン不一致
タイブレーク: score ASC → employee_id ASC(完全決定性)
パターン選択 (select_pattern): ソートキー = (希望一致, -カバー時間, pattern_id ASC)
割当 + 状態更新: hours_assigned, days_assigned, last_shift_end を更新
監督者チェック: need_supervisor=1 の場合、監督者不在なら SFT-W002
Detail: Load
references/shift_planning_methodology.mdfor algorithm details.
Purpose: 入力データと生成結果の品質検証。
| Code | Trigger | Description |
|---|---|---|
| SFT-E001 | max_hours_week <= 0 | 週労働時間が無効 |
| SFT-E002 | max_days_week <= 0 | 週勤務日数が無効 |
| SFT-E003 | net_hours <= 0(パターン) | パターン実労働時間が無効 |
| SFT-E004 | start_hour >= end_hour(パターン) | 深夜跨ぎ非対応 |
| SFT-E005 | required_staff <= 0(要件) | 必要人員が無効 |
| SFT-E006 | room_code に有資格者ゼロ(静的) | 構造的に充足不可能 |
| SFT-E007 | 有効パターンゼロ | 全パターンが無効 |
| SFT-E008 | employee_id 重複 | 従業員ID重複 |
| Code | Trigger | Description |
|---|---|---|
| SFT-W001 | カバレッジギャップ | assigned < required |
| SFT-W002 | 監督者不在 | need_supervisor=1 なのに未配置 |
| SFT-W003 | 回避曜日に割当 | ソフト制約違反 |
| SFT-W004 | 時間偏差 > 4h | 公平性警告 |
| SFT-W005 | 割当ゼロの従業員 | 遊休 |
| SFT-W006 | 連続勤務日数超過 | 事後監査 |
| SFT-W007 | シフト間休息時間不足 | 事後監査 |
| SFT-W008 | 候補ゼロ(動的) | 当日制約で割当不可 |
| SFT-W009 | 週末シフト標準偏差 > 1.0 | 週末不公平 |
| SFT-W010 | max_hours_week 到達 | 時間上限で未充足 |
Detail: Load
references/labor_constraints_guide.mdfor labor law considerations.
python3 skills/shift-planner/scripts/generate_shifts.py \
--roster roster.csv \
--requirements requirements.csv \
--patterns shift_patterns.csv \
--week-start 2026-02-23 \
--max-consecutive-days 6 \
--min-rest-hours 11 \
--output shifts.md
| Flag | Required | Default | Description |
|---|---|---|---|
| --roster | Yes | - | 従業員リスト CSV |
| --requirements | Yes | - | 人員要件 CSV |
| --patterns | No | ビルトイン5パターン | シフトパターン CSV |
| --week-start | Yes | - | 週開始日(YYYY-MM-DD, 表示専用) |
| --max-consecutive-days | No | 6 | 最大連続勤務日数 |
| --min-rest-hours | No | 11.0 | シフト間最小休息時間(時間) |
| --output | No | stdout | 出力先(Markdown) |
| Pattern | Start | End | Break | Net Hours |
|---|---|---|---|---|
| FULL_8H | 08:00 | 17:00 | 12:00-13:00 | 8.0h |
| EARLY_8H | 06:00 | 15:00 | 11:00-12:00 | 8.0h |
| LATE_8H | 10:00 | 19:00 | 14:00-15:00 | 8.0h |
| SHORT_6H | 08:00 | 14:00 | None | 6.0h |
| HALF_4H | 08:00 | 12:00 | None | 4.0h |
| File | Description | When to Load |
|---|---|---|
shift_planning_methodology.md | アルゴリズム詳細、スコアリング重み、改善手法 | アルゴリズム理解・改善時 |
labor_constraints_guide.md | 労働法制約、休憩規則、連続勤務制限 | 労働制約検討時 |
| File | Description |
|---|---|
sample_roster.csv | 従業員リストサンプル(8名) |
sample_requirements.csv | 人員要件サンプル(7日×2室) |
sample_shift_patterns.csv | シフトパターンサンプル |
shift_output_template.md | 出力テンプレート |
recommended 値を requirements.csv の required_staff に転記아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Track and update action item status from natural language updates like 'Seanのメールには返信しておいた' or 'Lu対応予定'. Integrates with daily-comms-ops workflow. Use when managing action items across communication channels.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
AI活用提案の専門コンサルタントスキル。LLM・AIエージェントの活用事例知識を基に、業界別、部門別、シーン別に最適なAI導入提案を行います。システム化、業務改善、効率化を得意とし、具体的な活用事例、期待効果、導入ステップを含む実践的な提案を提供します。Use when proposing AI/LLM adoption strategies for specific industries, departments, or business scenarios.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Generate AI-powered BPO service proposals for Japanese companies in the US market. Use when creating outsourcing proposals with AI service menus, ROI estimation, implementation roadmaps, and bilingual (JA/EN) proposal documents for 在米日系企業向けAI実装.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
AI(LLM)が生成した日本語テキストの「AI臭」を検出・診断し、人間らしい文章にリライトするスキル。 Use when: 「AIっぽい文章を直して」「人間らしくリライトして」「AI臭を消して」「この文章をもっと自然にして」 「テキストのAI感を減らして」「機械っぽさを取りたい」 "make this sound more human", "remove AI tone", "humanize this text", "detect if this is AI-generated". 6つのAI特有パターン(視覚的マーカー、単調なリズム、マニュアル的構成、非コミット姿勢、抽象語の濫用、 定型メタファー)を正規表現ベースで検出し、0-100のAI臭スコアを算出。3つの人間化技法 (バランスを崩す・客観を崩す・論理を崩す)でリライトを実行する。 Note: 検出スクリプトは日本語テキスト専用。英語テキストの場合はClaude自身がreferences/を参照して分析・リライトする。
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Generate audit-ready internal control design documents from As-Is business process inventories. Produces control IDs, assertion mappings, procedures, SoD analysis, KPIs, materiality thresholds, and implementation roadmaps. Use when building internal controls for new audit engagements, SOX/J-SOX compliance, or process improvement initiatives.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Review audit-related documents (control design documents, bottleneck analyses, requirements definitions, etc.) for quality, scoring them 0-100 with a severity-rated findings list. Use when reviewing audit documents, checking control design quality, or verifying cross-document consistency. Supports documents governed by US GAAP, IFRS, or J-GAAP.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.