Generates user guides from feature or workflow descriptions provided by the user. Use when the user wants to create end-user documentation, step-by-step guides, manuals, or usage instructions for features, workflows, or processes.
Generate clear, structured user guides from functional descriptions, workflows, or feature requirements provided by the user.
Use this skill when:
Do NOT use this skill for:
temp/user_guide/<subject>/ directoryplan.md (optional but recommended)temp/user_guide/<subject>/guide.md following the structure:
When the user provides a feature, workflow, or requirement:
Only ask questions when critical information is missing:
Do NOT ask:
Before generating the full guide, create a plan.md file in the target directory (temp/user_guide/<subject>/plan.md). This acts as a storyboard.
Structure for plan.md:
# Process Plan: [Subject]
## Flow Sequence
1. **Start Page**: [Route/URL]
2. **Action [1]**: Click [Button Name] -> Goes to [Next Page/Route]
3. **Action [2]**: Fill [Form Fields] -> Click [Submit Button]
4. **End Page**: [Final Route/Success State]
## UI Elements
- **Buttons**: [List buttons to interact with]
- **Routes**: [List distinct URLs involved]
- **Key Pages**: [List pages to screenshot]
user-Playwright) by default for better screenshot quality and reliability. Use cursor-ide-browser only if requested.[email protected] / allsafe@2025 (from create_superuser command) unless specified otherwise.plan.md.user-Playwright): Screenshots are saved to .playwright-mcp/temp/user_guide/<subject>/. MOVE them immediately to temp/user_guide/<subject>/ after capture.temp/user_guide/<subject>/ after capture.main.png, step1_dashboard.png).temp/user_guide/<subject>/ before finalizing the guide.IMPORTANT: The guide will be imported into a structured format with:
Structure your markdown guide as follows:
# Guide Title
Brief overview description that explains what this guide covers and who should use it.
## Step 1: [Action/Title]
Detailed instructions for this step.
- What to do
- What to expect
- Important notes

## Step 2: [Action/Title]
Detailed instructions for this step.
...
## Step 3: [Action/Title]
...
 - these will be attached to that step(Step X) or [X] to refer to specific actions in the flow.Create Directory:
temp/user_guide/<subject>/ (where <subject> is a kebab-case name like employee-onboarding)Generate Content:
temp/user_guide/<subject>/guide.md (or any .md filename)main.png or main.jpg → Attached to the guide itemstep1.png, step2.png, etc. → Attached to respective stepsImage Naming Best Practices:
temp/user_guide/employee-onboarding/
├── guide.md
├── main.png # Guide cover image
├── step1_login.png # Step 1 image (descriptive name)
├── step2_profile.png # Step 2 image
├── step3_upload.png # Step 3 image
└── step4_submit.png # Step 4 image
Image References in Markdown:
After generating the guide and screenshots:
Verify File Structure:
temp/user_guide/<subject>/
├── guide.md (or any .md file)
├── main.png (main guide image - optional)
├── step1.png (step screenshots - optional)
├── step2.png
└── ...
Review Content with User:
Provide Import Instructions and Confirmation:
After approval, provide these step-by-step instructions to the user:
# Step 1: Navigate to backend directory
cd backend
# Step 2: Run the import command
python manage.py import_user_guide <subject> --category "Category Name"
# Example:
python manage.py import_user_guide employee-onboarding --category "HR"
Command Parameters:
<subject>: The folder name in temp/user_guide/ (e.g., employee-onboarding)--category: Category name to organize the guide (created if doesn't exist)
What the import command does:
main.png as the guide's main image (if present)Post-Import:
https://allsafeportal.com.au/userguideAfter providing the import instructions, ask the user for confirmation:
"Would you like me to run the import command now? (Yes/No)"
If the guide is complex or requires specialized writing:
user-guide-writer subagentCreate a user guide for the employee onboarding feature.
Users need to: 1) Log in, 2) Complete profile, 3) Upload documents, 4) Submit for review.
Only managers can approve submissions.
Create directory: temp/user_guide/employee-onboarding/
Generate plan.md (execution plan)
Capture screenshots:
main.png - Dashboard/starting pagestep1.png - Login screenstep2.png - Profile formstep3.png - Document upload interfacestep4.png - Submission confirmationGenerate guide.md:
# Employee Onboarding
This guide walks you through the employee onboarding process. New employees should complete these steps within their first week. Only managers can approve submissions.
**Prerequisites**: You must have login credentials provided by HR.
## Step 1: Log In to the System
1. Navigate to https://allsafeportal.com.au
2. Enter your email and password
3. Click "Sign In"

## Step 2: Complete Your Profile
1. Click on "My Profile" in the navigation menu
2. Fill in required fields: Name, Phone, Address
3. Click "Save Changes"

## Step 3: Upload Required Documents
1. Navigate to "Documents" section
2. Click "Upload Document"
3. Select document type and choose file
4. Click "Upload"

## Step 4: Submit for Review
1. Review all information for accuracy
2. Click "Submit for Manager Review"
3. Wait for manager approval notification

Provide import command and request confirmation:
cd backend
python manage.py import_user_guide employee-onboarding --category "HR"
Then ask: "Would you like me to run the import command now? (Yes/No)"
Before finalizing the guide:
temp/user_guide/<subject>/ directorymain.png exists (optional but recommended)temp/user_guide/<subject>/ exists.md) is presentIssue: Directory not found for subject "xyz"
temp/user_guide/<subject>/Issue: No markdown file found in directory
.md file in the directory.md extensionIssue: Import succeeds but no steps appear
##)Issue: Images don't appear in the guide
main.png, main.jpg, or main.jpegtemp/user_guide/<subject>/ directoryIssue: Guide has no description
temp/user_guide/employee-onboarding/
├── guide.md ✓ Main guide file (required)
├── main.png ✓ Guide cover image (optional)
├── step1_login.png ✓ Step images (optional)
├── step2_profile.png
├── step3_documents.png
└── plan.md ✓ Execution plan (optional, not imported)
Import Command:
cd backend
python manage.py import_user_guide employee-onboarding --category "HR"
Result: