scaffold
Generate production-ready project structures, components, and boilerplate code with modern best practices and comprehensive tooling
Delegate one or more prompts to fresh sub-task contexts with parallel or sequential execution
$ npx -y skills add alirezarezvani/claude-code-tresor --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/run-promptContext preview
What this command does when you run it.
Delegate one or more prompts to fresh sub-task contexts with parallel or sequential execution
name: run-prompt description: Delegate one or more prompts to fresh sub-task contexts with parallel or sequential execution argument-hint: <prompt-number(s)-or-name> [--parallel|--sequential] allowed-tools: Task, Read, Bash, Glob model: inherit enabled: true
<objective> Execute one or more prompts from `./prompts/` as delegated sub-tasks with fresh context. Supports single prompt execution, parallel execution of multiple independent prompts, and sequential execution of dependent prompts.
**Tresor Integration**: Can invoke prompts that use Tresor's 141 agents (@systems-architect, @security-auditor, etc.) and support Tresor's subagent types (Explore, Plan, general-purpose). </objective>
<input> The user will specify which prompt(s) to run via $ARGUMENTS, which can be:
**Single prompt:**
**Multiple prompts:**
</input>
<process> <step1_parse_arguments> Parse $ARGUMENTS to extract:
<examples>
</examples> </step1_parse_arguments>
<step2_resolve_files> For each prompt number/name:
<matching_rules>
</matching_rules> </step2_resolve_files>
<step3_execute> <single_prompt>
1. Read the complete contents of the prompt file 2. Delegate as sub-task using Task tool with subagent_type="general-purpose" 3. Wait for completion 4. Archive prompt to `./prompts/completed/` with metadata 5. Return results </single_prompt>
<parallel_execution>
1. Read all prompt files 2. **Spawn all Task tools in a SINGLE MESSAGE** (this is critical for parallel execution): <example> Use Task tool for prompt 005 Use Task tool for prompt 006 Use Task tool for prompt 007 (All in one message with multiple tool calls) </example> 3. Wait for ALL to complete 4. Archive all prompts with metadata 5. Return consolidated results </parallel_execution>
<sequential_execution>
1. Read first prompt file 2. Spawn Task tool for first prompt 3. Wait for completion 4. Archive first prompt 5. Read second prompt file 6. Spawn Task tool for second prompt 7. Wait for completion 8. Archive second prompt 9. Repeat for remaining prompts 10. Return consolidated results </sequential_execution> </step3_execute> </process>
<context_strategy> By delegating to a sub-task, the actual implementation work happens in fresh context while the main conversation stays lean for orchestration and iteration. </context_strategy>
<output> <single_prompt_output> ✓ Executed: ./prompts/005-implement-feature.md ✓ Archived to: ./prompts/completed/005-implement-feature.md
<results> [Summary of what the sub-task accomplished] </results> </single_prompt_output>
<parallel_output> ✓ Executed in PARALLEL:
✓ All archived to ./prompts/completed/
<results> [Consolidated summary of all sub-task results] </results> </parallel_output>
<sequential_output> ✓ Executed SEQUENTIALLY:
1. ./prompts/005-setup-database.md → Success 2. ./prompts/006-create-migrations.md → Success 3. ./prompts/007-seed-data.md → Success
✓ All archived to ./prompts/completed/
<results> [Consolidated summary showing progression through each step] </results> </sequential_output> </output>
<critical_notes>
</critical_notes>
A world-class collection of Claude Code utilities: autonomous skills, expert agents, slash commands, and prompts that supercharge your development workflow.
Repo: alirezarezvani/claude-code-tresor
Generate production-ready project structures, components, and boilerplate code with modern best practices and comprehensive tooling
Generate comprehensive documentation from code including API docs, user guides, and interactive documentation with deployment automation
Pre-deployment validation with tests, security checks, config safety, and environment readiness verification
Comprehensive system health verification for production monitoring and incident detection
Production incident coordination with emergency triage, RCA, and postmortem generation
Load testing and performance benchmarking with intelligent scenario generation