Task Type: User Manual
Purpose
Execute User Manual tasks by:
- •Identifying the correct run commands for the application.
- •Verifying the commands by executing them.
- •Updating the project's
README.mdwith a clear "How to Run" section.
Important Notes
Skill Prerequisite
- •If you HAVE NOT learned
task-execution-guidelineskill, please learn it first before executing this skill. - •Understand the project's tech stack (e.g., Python/uv, Node.js/npm).
Task Type Default Attributes
| Attribute | Value |
|---|---|
| Task Type | User Manual |
| Category | Standalone |
| Next Task Type | N/A |
| Require Human Review | Yes |
Task Type Required Input Attributes
| Attribute | Default Value |
|---|---|
| Auto Proceed | False |
Skill/Task Completion Output
This skill MUST return these attributes to the Task Data Model upon task completion:
Output:
category: standalone
status: completed | blocked
next_task_type: null
require_human_review: Yes
auto_proceed: {from input Auto Proceed}
task_output_links: [README.md]
# Dynamic attributes
run_command: {verified command}
Definition of Ready (DoR)
| # | Checkpoint | Required |
|---|---|---|
| 1 | Application code is implemented and runnable | Yes |
| 2 | Development environment is set up | Yes |
Execution Flow
Execute User Manual by following these steps in order:
| Step | Name | Action | Gate to Next |
|---|---|---|---|
| 1 | Identify Commands | Analyze config files to find run/test commands | Commands identified |
| 2 | Verify Commands | Execute commands to confirm they work | Commands verified |
| 3 | Update README | Add/update "How to Run" section in README.md | README updated |
| 4 | Complete | Inform human with verified commands | Human review |
⛔ BLOCKING RULES:
- •Step 2 → 3: BLOCKED until run command executes successfully
- •Step 4: Human MUST confirm README is clear
Execution Procedure
Step 1: Identify Run Instructions
Action: Determine how to start the application based on configuration files (e.g., pyproject.toml, package.json).
- •Python (uv): Look for usage of
uv runor specific entry points (e.g.,src/app.py). - •Node.js: Check
scriptsinpackage.json(e.g.,npm start,npm run dev).
Step 2: Verify Run Command
Action: Execute the identified command in the terminal to ensure it works.
- •Run the command (e.g.,
uv run python src/app.pyornpm start). - •Check for successful startup (e.g., "Running on http://...", "Server started").
- •If it fails, debug the issue (e.g., missing dependencies, wrong path) before documenting.
- •Note: For background services, verify start and then stop/kill the process if needed.
Step 3: Update README.md
Action: Add or update the "How to Run" section in README.md.
Content to include:
- •Prerequisites: Dependencies needing installation (e.g., "Install
uv"). - •Installation: Commands to setup (e.g.,
uv sync). - •Running: The verified command to start the app.
- •Testing: Command to run tests (e.g.,
uv run pytest).
Example Markdown:
## How to Run
1. **Install Dependencies:**
\`\`\`bash
uv sync
\`\`\`
2. **Run the Application:**
\`\`\`bash
uv run python src/app.py
\`\`\`
3. **Run Tests:**
\`\`\`bash
uv run pytest
\`\`\`
Definition of Done (DoD)
| # | Checkpoint | Required |
|---|---|---|
| 1 | Run command identified and verified (executed successfully) | Yes |
| 2 | README.md updated with clear run instructions | Yes |
| 3 | README.md includes test execution instructions | Yes |
Important: After completing this skill, always return to task-execution-guideline skill to continue the task execution flow and validate the DoD defined there.
Patterns
Pattern: Python Project
When: pyproject.toml exists Then:
1. Check for uv.lock → use `uv run`
2. Find entry point in pyproject.toml
3. Test: uv run python src/{entry}.py
4. Document: uv sync + run command
Pattern: Node.js Project
When: package.json exists Then:
1. Check scripts section for start/dev 2. Test: npm start or npm run dev 3. Document: npm install + run command
Pattern: Web Application
When: App serves on a port Then:
1. Run command and verify server starts 2. Include the URL in README 3. Add browser access instructions 4. Note any default credentials
Anti-Patterns
| Anti-Pattern | Why Bad | Do Instead |
|---|---|---|
| Document without testing | Commands may fail | Verify all commands work |
| Missing prerequisites | Users can't run | List all dependencies |
| Outdated instructions | Misleading | Verify before documenting |
| Skip test commands | Incomplete manual | Always include test instructions |
| Assume environment | Portability issues | Document setup from scratch |
Example
Request: "Document how to run this Python web app"
Execution:
1. Execute Task Flow from task-execution-guideline skill 2. Step 1 - Identify Commands: Found: pyproject.toml with entry point src/app.py Run command: uv run python -m src.app Test command: uv run pytest 3. Step 2 - Verify Commands: $ uv run python -m src.app Running on http://localhost:5000 ✓ Verified 4. Step 3 - Update README: Added "How to Run" section with: - Prerequisites: Python 3.12+, uv - Installation: uv sync - Run: uv run python -m src.app - Test: uv run pytest 5. Return Task Completion Output: status: completed next_task_type: null require_human_review: Yes task_output_links: [README.md] run_command: "uv run python -m src.app" 6. Resume Task Flow from task-execution-guideline skill
Human Communication
When completed, inform the human:
User Manual updated in README.md.
Verified Run Command: `{command}`
Verified Test Command: `{test_command}`
Please check the README and confirm it is clear.