schedule-compression
БесплатноБез исполняемых скриптовНе проверенCompress construction schedules using crashing and fast-tracking techniques. Analyze cost-time tradeoffs and find optimal acceleration strategies.
от datadrivenconstruction★ 461 звезда на GitHubОб этом скилле
Schedule Compression
Overview
Compress construction schedules when project deadlines are at risk. Apply crashing (adding resources) and fast-tracking (parallel activities) to accelerate delivery while managing cost and risk.
"Strategic compression can recover 20% of schedule with 10% cost increase" — DDC Community
Compression Techniques
┌─────────────────────────────────────────────────────────────────┐
│ SCHEDULE COMPRESSION │
├─────────────────────────────────────────────────────────────────┤
│ │
│ CRASHING FAST-TRACKING │
│ ──────── ───────────── │
│ Add resources to reduce Overlap sequential │
│ activity duration activities │
│ │
│ Before: ████████ (10d) Before: A ──→ B ──→ C │
│ After: █████ (5d) + $$$ After: A ──→ B │
│ └──→ C │
│ Cost: Higher labor/OT Risk: Rework if A changes │
│ │
└─────────────────────────────────────────────────────────────────┘
Technical Implementation
from dataclasses import dataclass, field
from typing import List, Dict, Optional, Tuple
from enum import Enum
class CompressionMethod(Enum):
CRASH = "crash"
FAST_TRACK = "fast_track"
HYBRID = "hybrid"
@dataclass
class Activity:
id: str
name: str
normal_duration: int
crash_duration: int # Minimum possible duration
normal_cost: float
crash_cost: float # Cost at crash duration
predecessors: List[str] = field(default_factory=list)
is_critical: bool = False
current_duration: int = 0
def __post_init__(self):
if self.current_duration == 0:
self.current_duration = self.normal_duration
@property
def crash_slope(self) -> float:
"""Cost per day of crashing."""
duration_diff = self.normal_duration - self.crash_duration
if duration_diff == 0:
return float('inf')
return (self.crash_cost - self.normal_cost) / duration_diff
@property
def days_available_to_crash(self) -> int:
"""Days activity can still be crashed."""
return self.current_duration - self.crash_duration
@dataclass
class FastTrackOption:
activity1_id: str
activity2_id: str
overlap_days: int
risk_level: str # low, medium, high
risk_description: str
rework_probability: float
potential_rework_cost: float
@dataclass
class CompressionPlan:
target_reduction: int
achieved_reduction: int
crash_activities: List[Tuple[str, int]] # (activity_id, days_crashed)
fast_track_options: List[FastTrackOption]
total_additional_cost: float
new_project_duration: int
risk_assessment: str
class ScheduleCompressor:
"""Compress construction schedules using crashing and fast-tracking."""
def __init__(self):
self.activities: Dict[str, Activity] = {}
self.fast_track_options: List[FastTrackOption] = []
self.project_duration: int = 0
self.critical_path: List[str] = []
def add_activity(self, id: str, name: str,
normal_duration: int, crash_duration: int,
normal_cost: float, crash_cost: float,
predecessors: List[str] = None,
is_critical: bool = False) -> Activity:
"""Add activity with crash data."""
activity = Activity(
id=id,
name=name,
normal_duration=normal_duration,
crash_duration=crash_duration,
normal_cost=normal_cost,
crash_cost=crash_cost,
predecessors=predecessors or [],
is_critical=is_critical
)
self.activities[id] = activity
return activity
def add_fast_track_option(self, activity1_id: str, activity2_id: str,
overlap_days: int, risk_level: str,
risk_description: str,
rework_probability: float = 0.1,
potential_rework_cost: float = 0) -> FastTrackOption:
"""Add fast-tracking option between activities."""
option = FastTrackOption(
activity1_id=activity1_id,
activity2_id=activity2_id,
overlap_days=overlap_days,
risk_level=risk_level,
risk_description=risk_description,
rework_probability=rework_probability,
potential_rework_cost=potential_rework_cost
)
self.fast_track_options.append(option)
return option
def calculate_project_duration(self) -> int:
"""Calculate cur
Установить schedule-compression в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл schedule-compression?
Compress construction schedules using crashing and fast-tracking techniques. Analyze cost-time tradeoffs and find optimal acceleration strategies.
Как установить скилл schedule-compression?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл schedule-compression запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic