Resource Requirements Auto-planning
Core Principles
- Transparency Enables Collaboration: Resource requirements and allocation plans are visible to all, ensuring the team understands resource constraints
- Risk Early Identification: Resource conflicts and dependency risks are identified and flagged at the planning stage
- Automated Tracking: Resource status, conflict detection, and utilization rate are automatically tracked
Interaction Mode
🤖 AI Auto-execution
- All steps are completed automatically by AI
- Output is generated automatically, no real-time human participation required
- If critical conflicts cannot be automatically resolved, an escalation request is output
- Human can review and adjust the allocation plan at any time
Input
| Input Item |
Type |
Required |
Source |
Description |
| project_scope |
object |
Yes |
output/pm-project/planning-project-charter/project_charter |
Project scope (including in_scope/out_of_scope) |
| technical_solution |
object |
Yes |
User provided |
Technical solution description |
| team_capability_data |
object |
○ |
User provided |
Team capability data (skill matrix, historical performance) |
Execution Steps
Step 1: Workload Estimation [Core]
Actions:
- Analyze project scope, identify work items
- Estimate baseline hours based on historical data (similar projects)
- Adjust estimates using AI learning model (considering technical complexity, team familiarity)
- Summarize total workload and person-day requirements
Output:
{
"workload_estimates": [{
"work_item_id": "WI-001",
"description": "string",
"estimated_hours": number,
"confidence": 0.0-1.0,
"estimation_method": "historical | ai-adjusted | expert",
"similar_historical_project": "string | null"
}],
"total_estimated_hours": number,
"estimation_confidence": 0.0-1.0
}
Step 2: Resource Type Requirements Identification [Core]
Actions:
- Analyze skill types required for work items
- Identify human resource types needed (roles)
- Identify non-human resources needed (tools, environments, budget)
- Summarize requirements by skill type
Output:
{
"resource_needs": {
"human_resources": [{
"role": "string",
"skill_types": ["string"],
"quantity_needed": number,
"duration_days": number,
"total_hours": number
}],
"non_human_resources": [{
"type": "tool | environment | budget | external",
"description": "string",
"quantity": number,
"cost_estimate": number,
"procurement_timeline": "string"
}]
}
}
Step 3: Team Capability Matching [Core]
Actions:
- Load team capability data (skill matrix, availability, historical performance)
- Match work items with team member capabilities
- Identify capability gaps
- Suggest training or external resource supplementation
Output:
{
"team_matching": [{
"work_item_id": "WI-001",
"recommended_assignee": "string",
"match_score": 0.0-1.0,
"skill_coverage": {
"required": ["string"],
"covered": ["string"],
"gaps": ["string"]
},
"historical_performance": "good | average | below_avg | unknown"
}],
"skill_gaps": [{
"skill": "string",
"current_capacity": number,
"required_capacity": number,
"gap": number,
"recommendation": "train | hire | outsource"
}]
}
Step 4: Resource Conflict Detection [Core]
Actions:
- Check matching between resource requirements and available resources
- Identify time conflicts (same resource needed by multiple tasks)
- Identify skill conflicts (required skills have no available resources)
- Identify quantity conflicts (demand exceeds available quantity)
Output:
{
"conflict_detection": {
"time_conflicts": [{
"resource_id": "string",
"conflicting_tasks": ["string"],
"conflict_period": "date range",
"overload_hours": number
}],
"skill_conflicts": [{
"skill": "string",
"demand": number,
"available": number,
"gap": number,
"affected_tasks": ["string"]
}],
"capacity_conflicts": [{
"role": "string",
"demand": number,
"available": number,
"overcapacity_percentage": number
}]
},
"conflict_summary": {
"total_conflicts": number,
"critical_conflicts": number,
"auto_resolvable": boolean
}
}
Step 5: Resource Allocation Plan Generation [Core]
Actions:
- Generate resource allocation plan based on the above analysis
- Resolve conflicts that can be automatically resolved
- Propose multiple options for conflicts that cannot be automatically resolved
- Generate final resource allocation schedule
Output:
{
"resource_allocation": {
"assignments": [{
"work_item_id": "WI-001",
"assignee": "string",
"start_date": "ISO date",
"end_date": "ISO date",
"allocation_percentage": 0-100,
"status": "confirmed | tentative"
}],
"schedule": {
"phases": [{
"phase_id": "PHASE-001",
"name": "string",
"start_date": "ISO date",
"end_date": "ISO date",
"resources": ["string"],
"key_deliverables": ["string"]
}]
}
},
"unresolved_conflicts": [{
"conflict_type": "string",
"description": "string",
"options": ["string"],
"recommendation": "string",
"escalation_required": boolean
}],
"resource_plan_confidence": 0.0-1.0
}
Output Depth Grading
| Depth Level |
Output Scope |
Description |
| quick |
Resource allocation and bottleneck identification |
Core conclusions + minimum viable deliverable |
| standard |
Full deliverables (current default) |
Complete deliverables including all Step outputs |
| deep |
Full allocation + resource optimization simulation + bottleneck mitigation plan + multi-scenario resource planning |
Full deliverables + extended analysis + deep simulation |
Output
Storage Path: output/pm-project/planning-resource/
Output Files: resource_plan.json, metadata.json
Output Schema:
{
"type": "object",
"required": ["resource_plan", "metadata"],
"properties": {
"resource_plan": {"type": "object", "description": "Resource plan including workload estimates, requirements, matching, and allocation"},
"metadata": {"type": "object", "description": "Metadata including generation time, confidence, and review flags"}
}
}
Output Validation Rules
| Field Path |
Type |
Required |
Description |
| resource_plan.workload_estimates |
array |
Yes |
Workload estimate list, each must contain work_item_id, estimated_hours, confidence |
| resource_plan.workload_estimates[].confidence |
number |
Yes |
Estimation confidence, range 0.0-1.0 |
| resource_plan.workload_estimates[].estimation_method |
string |
Yes |
Estimation method, enum values historical/ai-adjusted/expert |
| resource_plan.resource_needs.human_resources |
array |
Yes |
Human resource requirements list, each must contain role, quantity_needed, duration_days |
| resource_plan.resource_needs.non_human_resources |
array |
No |
Non-human resource requirements list |
| resource_plan.resource_needs.non_human_resources[].type |
string |
Yes |
Resource type, enum values tool/environment/budget/external |
| resource_plan.team_matching |
array |
Yes |
Team matching results list |
| resource_plan.team_matching[].match_score |
number |
Yes |
Match score, range 0.0-1.0 |
| resource_plan.conflict_detection.conflict_summary.total_conflicts |
number |
Yes |
Total conflicts |
| resource_plan.conflict_detection.conflict_summary.critical_conflicts |
number |
Yes |
Critical conflicts |
| resource_plan.resource_allocation.assignments |
array |
Yes |
Resource allocation list, each must contain work_item_id, assignee, start_date, end_date |
| resource_plan.resource_allocation.assignments[].status |
string |
Yes |
Allocation status, enum values confirmed/tentative |
| resource_plan.unresolved_conflicts[].escalation_required |
boolean |
Yes |
Whether escalation is required |
| resource_plan.resource_plan_confidence |
number |
Yes |
Overall confidence, range 0.0-1.0 |
| metadata.generated_at |
string |
Yes |
Generation time, ISO 8601 format |
| metadata.confidence |
number |
Yes |
Metadata confidence, range 0.0-1.0 |
| metadata.auto_generated |
boolean |
Yes |
Whether auto-generated |
| metadata.requires_human_review |
boolean |
Yes |
Whether human review is required |
{
"resource_plan": {
"workload_estimates": {},
"resource_needs": {
"type": "string",
"count": number,
"duration": "string"
},
"team_matching": {},
"conflict_detection": {},
"resource_allocation": {}
},
"metadata": {
"generated_at": "ISO datetime",
"confidence": 0.0-1.0,
"auto_generated": true,
"requires_human_review": boolean
}
}
Data Dependencies
This Pipeline depends on the following upstream data:
project_charter.scope: Project scope from Pipeline 1
Decision Rules
| Condition |
Action |
| Key resource gap > 30% |
Escalate to human for resource allocation decision |
| Time conflict cannot be automatically resolved |
Output multiple options, escalate to human for selection |
| Team capability data severely missing |
Degrade output, mark low confidence, escalate to human for supplementation |
| Estimation confidence < 0.5 |
Mark uncertainty, escalate to human for confirmation |
Quality Checks
P0 Checks (must pass for quick/standard/deep)
P1 Checks (must pass for standard/deep)
P2 Checks (must pass for deep only)
Degradation Strategy
Upstream File Missing Degradation Plan
| Missing Upstream Input |
Degradation Plan |
Output Impact |
| Project scope |
User provides requirements list and priorities, AI estimates resources based on requirements |
Resource estimation based on requirements list, lacking structured scope definition support |
| Technical solution |
Skip technical complexity adjustment, use baseline hour estimation, mark low confidence |
Low confidence hour estimation, lacking technical complexity factor adjustment |
| Team capability data |
User provides team size and role information, AI estimates based on average role capability |
Resource plan based on average capability, requires human confirmation of capability assumptions |
Data Acquisition Instructions
When upstream files are missing, obtain necessary data through the following methods:
- Project scope missing: Ask user to provide requirements list (feature name + brief description + priority); AI will identify work items and estimate workload based on the requirements list
- Technical solution missing: Skip technical complexity adjustment factor, use industry baseline hour estimation, mark low estimation confidence in output, suggest technical team confirmation
- Team capability data missing: Ask user to provide team size and role composition (e.g., "3 backend, 2 frontend, 1 QA"); AI will match resources based on average role capability level, mark need for human confirmation of capability assumptions
Upstream Change Response
Upstream Change Impact Table
| Upstream Change |
Impact Scope |
Response Strategy |
| Project scope change (requirement additions/removals/priority adjustment) |
Workload estimation, resource requirement identification, conflict detection |
Re-estimate workload, update resource requirements and conflict detection |
| Technical solution change (architecture adjustment/tech stack change) |
Technical complexity adjustment, skill requirements, workload estimation |
Re-evaluate technical complexity, update skill requirements and hour estimation |
| Team capability data change (personnel changes/skill updates) |
Team matching, capability gaps, conflict detection |
Re-execute team matching, update capability gaps and conflict detection results |
Downstream Notification Mechanism Table
| Change Type |
Impact Scope |
Notification Method |
| Resource allocation plan change |
Sprint planning, Kickoff meeting, risk identification |
Update resource_plan.json, notify agile-sprint-planning, planning-kickoff, risk-identification |
| Conflict detection result change |
Project manager decision, resource coordination |
Update resource_plan.json, notify project manager |
| Skill gap change |
Recruitment plan, training plan |
Update resource_plan.json, notify HR department |
1---2name: planning-resource3description: "Use when planning project resource requirements. Resource requirements auto-planning, based on project scope, technical solution, and team capability data, automatically completing workload estimation, resource type identification, team capability matching, and resource conflict detection, outputting a complete resource allocation plan. Keywords: resource planning, resource allocation, workforce planning, resource requirements, capacity planning, not enough people, how many people needed."4metadata:5 source: https://skillmd.com/skills/luckyonetwothree/planning-resource6 module: "Project Management & Execution"7 sub-module: "Project Planning"8 type: "pipeline"9 version: "3.1"10 domain_tags: ["Internet", "SaaS", "General"]11 trigger_examples:12 - "How many people does the project need"13 - "What to do when resources are insufficient"14 - "How to allocate workforce"15 interaction_mode: "ai_auto"16execution_depth:17 default: standard18 quick_description: "Output resource allocation and bottleneck identification directly"19 deep_description: "Full allocation + resource optimization simulation + bottleneck mitigation plan + multi-scenario resource planning"20---2122# Resource Requirements Auto-planning2324## Core Principles25261. **Transparency Enables Collaboration**: Resource requirements and allocation plans are visible to all, ensuring the team understands resource constraints272. **Risk Early Identification**: Resource conflicts and dependency risks are identified and flagged at the planning stage283. **Automated Tracking**: Resource status, conflict detection, and utilization rate are automatically tracked2930## Interaction Mode3132**🤖 AI Auto-execution**3334- All steps are completed automatically by AI35- Output is generated automatically, no real-time human participation required36- If critical conflicts cannot be automatically resolved, an escalation request is output37- Human can review and adjust the allocation plan at any time3839---4041## Input4243| Input Item | Type | Required | Source | Description |44|--------|------|------|------|------|45| project_scope | object | Yes | output/pm-project/planning-project-charter/project_charter | Project scope (including in_scope/out_of_scope) |46| technical_solution | object | Yes | User provided | Technical solution description |47| team_capability_data | object | ○ | User provided | Team capability data (skill matrix, historical performance) |4849---5051## Execution Steps5253### Step 1: Workload Estimation [Core]5455**Actions**:56- Analyze project scope, identify work items57- Estimate baseline hours based on historical data (similar projects)58- Adjust estimates using AI learning model (considering technical complexity, team familiarity)59- Summarize total workload and person-day requirements6061**Output**:62```json63{64 "workload_estimates": [{65 "work_item_id": "WI-001",66 "description": "string",67 "estimated_hours": number,68 "confidence": 0.0-1.0,69 "estimation_method": "historical | ai-adjusted | expert",70 "similar_historical_project": "string | null"71 }],72 "total_estimated_hours": number,73 "estimation_confidence": 0.0-1.074}75```7677### Step 2: Resource Type Requirements Identification [Core]7879**Actions**:80- Analyze skill types required for work items81- Identify human resource types needed (roles)82- Identify non-human resources needed (tools, environments, budget)83- Summarize requirements by skill type8485**Output**:86```json87{88 "resource_needs": {89 "human_resources": [{90 "role": "string",91 "skill_types": ["string"],92 "quantity_needed": number,93 "duration_days": number,94 "total_hours": number95 }],96 "non_human_resources": [{97 "type": "tool | environment | budget | external",98 "description": "string",99 "quantity": number,100 "cost_estimate": number,101 "procurement_timeline": "string"102 }]103 }104}105```106107### Step 3: Team Capability Matching [Core]108109**Actions**:110- Load team capability data (skill matrix, availability, historical performance)111- Match work items with team member capabilities112- Identify capability gaps113- Suggest training or external resource supplementation114115**Output**:116```json117{118 "team_matching": [{119 "work_item_id": "WI-001",120 "recommended_assignee": "string",121 "match_score": 0.0-1.0,122 "skill_coverage": {123 "required": ["string"],124 "covered": ["string"],125 "gaps": ["string"]126 },127 "historical_performance": "good | average | below_avg | unknown"128 }],129 "skill_gaps": [{130 "skill": "string",131 "current_capacity": number,132 "required_capacity": number,133 "gap": number,134 "recommendation": "train | hire | outsource"135 }]136}137```138139### Step 4: Resource Conflict Detection [Core]140141**Actions**:142- Check matching between resource requirements and available resources143- Identify time conflicts (same resource needed by multiple tasks)144- Identify skill conflicts (required skills have no available resources)145- Identify quantity conflicts (demand exceeds available quantity)146147**Output**:148```json149{150 "conflict_detection": {151 "time_conflicts": [{152 "resource_id": "string",153 "conflicting_tasks": ["string"],154 "conflict_period": "date range",155 "overload_hours": number156 }],157 "skill_conflicts": [{158 "skill": "string",159 "demand": number,160 "available": number,161 "gap": number,162 "affected_tasks": ["string"]163 }],164 "capacity_conflicts": [{165 "role": "string",166 "demand": number,167 "available": number,168 "overcapacity_percentage": number169 }]170 },171 "conflict_summary": {172 "total_conflicts": number,173 "critical_conflicts": number,174 "auto_resolvable": boolean175 }176}177```178179### Step 5: Resource Allocation Plan Generation [Core]180181**Actions**:182- Generate resource allocation plan based on the above analysis183- Resolve conflicts that can be automatically resolved184- Propose multiple options for conflicts that cannot be automatically resolved185- Generate final resource allocation schedule186187**Output**:188```json189{190 "resource_allocation": {191 "assignments": [{192 "work_item_id": "WI-001",193 "assignee": "string",194 "start_date": "ISO date",195 "end_date": "ISO date",196 "allocation_percentage": 0-100,197 "status": "confirmed | tentative"198 }],199 "schedule": {200 "phases": [{201 "phase_id": "PHASE-001",202 "name": "string",203 "start_date": "ISO date",204 "end_date": "ISO date",205 "resources": ["string"],206 "key_deliverables": ["string"]207 }]208 }209 },210 "unresolved_conflicts": [{211 "conflict_type": "string",212 "description": "string",213 "options": ["string"],214 "recommendation": "string",215 "escalation_required": boolean216 }],217 "resource_plan_confidence": 0.0-1.0218}219```220221---222223### Output Depth Grading224225| Depth Level | Output Scope | Description |226|----------|----------|------|227| quick | Resource allocation and bottleneck identification | Core conclusions + minimum viable deliverable |228| standard | Full deliverables (current default) | Complete deliverables including all Step outputs |229| deep | Full allocation + resource optimization simulation + bottleneck mitigation plan + multi-scenario resource planning | Full deliverables + extended analysis + deep simulation |230231## Output232233**Storage Path**: `output/pm-project/planning-resource/`234235**Output Files**: resource_plan.json, metadata.json236237**Output Schema**:238239```json240{241 "type": "object",242 "required": ["resource_plan", "metadata"],243 "properties": {244 "resource_plan": {"type": "object", "description": "Resource plan including workload estimates, requirements, matching, and allocation"},245 "metadata": {"type": "object", "description": "Metadata including generation time, confidence, and review flags"}246 }247}248```249250### Output Validation Rules251252| Field Path | Type | Required | Description |253|----------|------|------|------|254| resource_plan.workload_estimates | array | Yes | Workload estimate list, each must contain work_item_id, estimated_hours, confidence |255| resource_plan.workload_estimates[].confidence | number | Yes | Estimation confidence, range 0.0-1.0 |256| resource_plan.workload_estimates[].estimation_method | string | Yes | Estimation method, enum values historical/ai-adjusted/expert |257| resource_plan.resource_needs.human_resources | array | Yes | Human resource requirements list, each must contain role, quantity_needed, duration_days |258| resource_plan.resource_needs.non_human_resources | array | No | Non-human resource requirements list |259| resource_plan.resource_needs.non_human_resources[].type | string | Yes | Resource type, enum values tool/environment/budget/external |260| resource_plan.team_matching | array | Yes | Team matching results list |261| resource_plan.team_matching[].match_score | number | Yes | Match score, range 0.0-1.0 |262| resource_plan.conflict_detection.conflict_summary.total_conflicts | number | Yes | Total conflicts |263| resource_plan.conflict_detection.conflict_summary.critical_conflicts | number | Yes | Critical conflicts |264| resource_plan.resource_allocation.assignments | array | Yes | Resource allocation list, each must contain work_item_id, assignee, start_date, end_date |265| resource_plan.resource_allocation.assignments[].status | string | Yes | Allocation status, enum values confirmed/tentative |266| resource_plan.unresolved_conflicts[].escalation_required | boolean | Yes | Whether escalation is required |267| resource_plan.resource_plan_confidence | number | Yes | Overall confidence, range 0.0-1.0 |268| metadata.generated_at | string | Yes | Generation time, ISO 8601 format |269| metadata.confidence | number | Yes | Metadata confidence, range 0.0-1.0 |270| metadata.auto_generated | boolean | Yes | Whether auto-generated |271| metadata.requires_human_review | boolean | Yes | Whether human review is required |272273```json274{275 "resource_plan": {276 "workload_estimates": {},277 "resource_needs": {278 "type": "string",279 "count": number,280 "duration": "string"281 },282 "team_matching": {},283 "conflict_detection": {},284 "resource_allocation": {}285 },286 "metadata": {287 "generated_at": "ISO datetime",288 "confidence": 0.0-1.0,289 "auto_generated": true,290 "requires_human_review": boolean291 }292}293```294295---296297## Data Dependencies298299This Pipeline depends on the following upstream data:300- `project_charter.scope`: Project scope from Pipeline 1301302---303304## Decision Rules305306| Condition | Action |307|------|------|308| Key resource gap > 30% | Escalate to human for resource allocation decision |309| Time conflict cannot be automatically resolved | Output multiple options, escalate to human for selection |310| Team capability data severely missing | Degrade output, mark low confidence, escalate to human for supplementation |311| Estimation confidence < 0.5 | Mark uncertainty, escalate to human for confirmation |312313## Quality Checks314315### P0 Checks (must pass for quick/standard/deep)316317- [ ] Resource estimation based on WBS decomposition318- [ ] Key resource gaps identified and marked319320### P1 Checks (must pass for standard/deep)321322- [ ] Schedule has no resource conflicts323- [ ] Estimation confidence annotated324325### P2 Checks (must pass for deep only)326327- [ ] Extended analysis complete (deep simulation and roadmap generated)328- [ ] Decision records complete (key decisions have rationale and alternatives)329330## Degradation Strategy331332### Upstream File Missing Degradation Plan333334| Missing Upstream Input | Degradation Plan | Output Impact |335|---------------|---------|---------|336| Project scope | User provides requirements list and priorities, AI estimates resources based on requirements | Resource estimation based on requirements list, lacking structured scope definition support |337| Technical solution | Skip technical complexity adjustment, use baseline hour estimation, mark low confidence | Low confidence hour estimation, lacking technical complexity factor adjustment |338| Team capability data | User provides team size and role information, AI estimates based on average role capability | Resource plan based on average capability, requires human confirmation of capability assumptions |339340### Data Acquisition Instructions341342When upstream files are missing, obtain necessary data through the following methods:3433441. **Project scope missing**: Ask user to provide requirements list (feature name + brief description + priority); AI will identify work items and estimate workload based on the requirements list3452. **Technical solution missing**: Skip technical complexity adjustment factor, use industry baseline hour estimation, mark low estimation confidence in output, suggest technical team confirmation3463. **Team capability data missing**: Ask user to provide team size and role composition (e.g., "3 backend, 2 frontend, 1 QA"); AI will match resources based on average role capability level, mark need for human confirmation of capability assumptions347348## Upstream Change Response349350### Upstream Change Impact Table351352| Upstream Change | Impact Scope | Response Strategy |353|----------|----------|----------|354| Project scope change (requirement additions/removals/priority adjustment) | Workload estimation, resource requirement identification, conflict detection | Re-estimate workload, update resource requirements and conflict detection |355| Technical solution change (architecture adjustment/tech stack change) | Technical complexity adjustment, skill requirements, workload estimation | Re-evaluate technical complexity, update skill requirements and hour estimation |356| Team capability data change (personnel changes/skill updates) | Team matching, capability gaps, conflict detection | Re-execute team matching, update capability gaps and conflict detection results |357358### Downstream Notification Mechanism Table359360| Change Type | Impact Scope | Notification Method |361|----------|----------|----------|362| Resource allocation plan change | Sprint planning, Kickoff meeting, risk identification | Update resource_plan.json, notify agile-sprint-planning, planning-kickoff, risk-identification |363| Conflict detection result change | Project manager decision, resource coordination | Update resource_plan.json, notify project manager |364| Skill gap change | Recruitment plan, training plan | Update resource_plan.json, notify HR department |