look-ahead-scheduler
БесплатноБез исполняемых скриптовНе проверенGenerate rolling look-ahead schedules for construction. Create 2-week, 3-week, or 6-week look-aheads with constraint analysis and crew coordination.
от datadrivenconstruction★ 461 звезда на GitHubОб этом скилле
Look-Ahead Scheduler
Overview
Generate rolling look-ahead schedules from the master schedule. Create actionable short-term plans with constraint analysis, crew assignments, and daily coordination.
"Look-ahead planning catches 80% of schedule problems before they occur" — DDC Community
Look-Ahead Hierarchy
┌─────────────────────────────────────────────────────────────────┐
│ LOOK-AHEAD PLANNING │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Master Schedule (12+ months) │
│ ↓ │
│ Phase Schedule (3-6 months) │
│ ↓ │
│ 6-Week Look-Ahead (make-ready) │
│ ↓ │
│ 3-Week Look-Ahead (constraint removal) │
│ ↓ │
│ Weekly Work Plan (commitment) │
│ ↓ │
│ Daily Coordination │
│ │
└─────────────────────────────────────────────────────────────────┘
Technical Implementation
from dataclasses import dataclass, field
from typing import List, Dict, Optional, Set
from datetime import datetime, timedelta
from enum import Enum
from collections import defaultdict
class ConstraintType(Enum):
PREDECESSOR = "predecessor"
LABOR = "labor"
MATERIAL = "material"
EQUIPMENT = "equipment"
INFORMATION = "information"
PERMIT = "permit"
INSPECTION = "inspection"
SPACE = "space"
WEATHER = "weather"
class ConstraintStatus(Enum):
OPEN = "open"
IN_PROGRESS = "in_progress"
RESOLVED = "resolved"
BLOCKED = "blocked"
class ActivityStatus(Enum):
NOT_STARTED = "not_started"
IN_PROGRESS = "in_progress"
COMPLETE = "complete"
DELAYED = "delayed"
@dataclass
class Constraint:
id: str
activity_id: str
constraint_type: ConstraintType
description: str
responsible_party: str
needed_by: datetime
status: ConstraintStatus = ConstraintStatus.OPEN
resolution_notes: str = ""
resolved_date: Optional[datetime] = None
@dataclass
class LookAheadActivity:
id: str
name: str
trade: str
location: str
planned_start: datetime
planned_finish: datetime
duration: int
labor_hours: float
crew_size: int
predecessors: List[str] = field(default_factory=list)
constraints: List[Constraint] = field(default_factory=list)
status: ActivityStatus = ActivityStatus.NOT_STARTED
percent_complete: float = 0.0
notes: str = ""
can_start: bool = False
@dataclass
class WeeklyWorkPlan:
week_start: datetime
week_end: datetime
activities: List[LookAheadActivity]
total_labor_hours: float
trades_involved: List[str]
constraints_to_resolve: List[Constraint]
@dataclass
class DailyPlan:
date: datetime
activities: List[LookAheadActivity]
labor_by_trade: Dict[str, int]
equipment_needed: List[str]
inspections: List[str]
safety_focus: str
class LookAheadScheduler:
"""Generate rolling look-ahead schedules."""
def __init__(self, project_name: str):
self.project_name = project_name
self.activities: Dict[str, LookAheadActivity] = {}
self.constraints: Dict[str, Constraint] = {}
self.weekly_plans: List[WeeklyWorkPlan] = []
def import_from_master(self, master_activities: List[Dict],
look_ahead_start: datetime,
look_ahead_weeks: int = 6) -> int:
"""Import activities from master schedule for look-ahead period."""
look_ahead_end = look_ahead_start + timedelta(weeks=look_ahead_weeks)
count = 0
for act in master_activities:
start = datetime.fromisoformat(act['planned_start']) if isinstance(act['planned_start'], str) else act['planned_start']
finish = datetime.fromisoformat(act['planned_finish']) if isinstance(act['planned_finish'], str) else act['planned_finish']
# Include if overlaps look-ahead period
if start <= look_ahead_end and finish >= look_ahead_start:
activity = LookAheadActivity(
id=act['id'],
name=act['name'],
trade=act.get('trade', ''),
location=act.get('location', ''),
planned_start=start,
planned_finish=finish,
duration=act.get('duration', (finish - start).days),
labor_hours=act.get('labor_hours', 0)
Установить look-ahead-scheduler в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл look-ahead-scheduler?
Generate rolling look-ahead schedules for construction. Create 2-week, 3-week, or 6-week look-aheads with constraint analysis and crew coordination.
Как установить скилл look-ahead-scheduler?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл look-ahead-scheduler запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic