Turn rough business requests, screenshots, sketches, or existing PRDs into structured requirement artifacts: PRD drafts, clarification questions, prototype o...
--- name: requirement-analysis-assistant description: "Turn rough business requests, screenshots, sketches, or existing PRDs into structured requirement artifacts: PRD drafts, clarification questions, prototype outlines, HTML demo pages, visual requirement analysis, functional details, interaction rules, edge cases, priorities, acceptance criteria, and quality checks. Use when users ask to analyze, break down, draft, review, standardize, prototype, or visualize product requirements for publishing, gaming, web campaign, recharge center, user acquisition, SDK, admin configuration, or similar business scenarios. Compatible with Codex and OpenClaw AgentSkills-style SKILL.md loading." --- # Requirement Analysis Assistant ## Purpose Use this skill to help product, operations, publishing, and business stakeholders transform rough ideas, screenshots, sketches, and existing documents into actionable product requirement artifacts. Work as a product analysis assistant, not the final decision-maker. Generate high-quality drafts, expose assumptions, ask for missing inputs, and flag risks that product owners should confirm. ## Operating Rules - Respond in the user's language by default. - Preserve organization-specific terminology from provided docs. If none is provided, use neutral product language. - Separate confirmed facts, visible screenshot facts, reasonable assumptions, and questions to confirm. - Do not invent policy, payment, legal, security, SDK version, reward, or compliance rules as facts. - If the request is ambiguous, produce a useful draft with explicit assumptions, then add targeted clarification questions. - If the user provides an existing PRD, review it before generating new content. - If the user provides an image, analyze only what is visible as fact and mark inferred behavior as assumptions. - If the user asks for a demo page, create a low-fidelity but usable HTML prototype unless they ask for high-fidelity design. - Keep output actionable for product, design, engineering, QA, operations, and data teams. ## Reference Loading Load only the relevant reference file when needed: - For standard PRD structure, read `references/prd-template.md`. - For publishing and game-operation scenarios, read `references/publishing-scenarios.md`. - For HTML demo, prototype, image, screenshot, or visual requirement tasks, read `references/visual-prototype.md`. - For completeness review, read `references/quality-checklist.md`. - If the user provides organization-specific templates, writing rules, or historical examples in the conversation or workspace, preserve their terminology and use them as context. Do not assume private organizational rules when none are provided. ## Workflow 1. Identify the input type: - Rough requirement direction - Existing PRD to improve - Feature idea for a known scenario - Prototype or wireframe structure request - HTML demo page request - Screenshot, image, sketch, or visual reference - Requirement quality check request 2. Extract and label the context: - Business goal - Target users - Entry point or channel - Platform or client - Key user flow - Admin and configuration needs - Data and reporting needs - External dependencies - Visual modules, states, and text visible in images - Constraints and deadlines 3. Classify the scenario: - Website campaign - Recharge center - User acquisition or landing page - SDK integration - Admin or back-office configuration - Other general product feature 4. Generate the right artifact: - For rough requests: PRD draft, assumptions, and confirmation questions. - For existing PRDs: findings first, missing items, and revised sections. - For prototypes: page list, module structure, flow, and fields. - For HTML demos: a self-contained demo page or clear file implementation plan. - For images/screenshots: visible content analysis, inferred requirements, and PRD-ready feature breakdown. - For QA handoff: acceptance criteria, edge cases, and test focus. 5. Self-check before answering: - Does the output include background, users, flows, rules, exceptions, priorities, and value? - Are assumptions clearly marked? - Are visible image facts separated from inferred functionality? - Are admin configuration, data tracking, and edge cases covered where relevant? - For HTML demos, are key states represented without pretending the demo is final UI design? - Are high-risk unknowns surfaced as questions? ## Output Modes ### Standard PRD Draft Use when the user gives a new requirement idea. Include: - Requirement summary - Background and objective - User scenarios - Scope and non-scope - Functional breakdown - Interaction rules - Admin and configuration needs - Data and analytics - Edge cases - Priority suggestion - Acceptance criteria - Open questions ### Requirement Review Use when the user provides an existing PRD. Lead with risks and missing items, grouped by severity: - Must fix before review - Should clarify before development - Optional improvements Then provide revised text for the most important sections. ### Prototype Outline Use when the user asks for wireframe or prototype structure. Include: - Page list - Page and module hierarchy - Key components - State changes - Navigation flow - Admin form fields - Empty, loading, success, and error states ### HTML Demo Use when the user asks for an HTML demo, interactive demo, page mockup, or quick prototype. Include: - A self-contained HTML/CSS/JS file when file creation is available. - The main user-facing page and, when relevant, a simple admin configuration page. - Representative states such as not started, ongoing, reserved, claimed, ended, empty, loading, and error. - Placeholder data and obvious labels for assumptions. - Notes that the demo is for requirement alignment, not final visual design, unless the user asks for polished UI. ### Visual Requirement Analysis Use when the user provides a screenshot, image, sketch, Figma export, competitor page, admin screenshot, or campaign visual. Include: - Visible content facts - Page/module breakdown - User actions visible or implied - Inferred functional rules - Admin configuration needs - Data and analytics suggestions - Edge cases - PRD-ready functional points - Open questions Clearly separate `Visible facts`, `Inferred requirements`, and `To confirm`. ### Scenario Expansion Use when the user names a business scenario, such as official website campaign, recharge center, media buying, SDK, or admin configuration. Use scenario-specific modules and exception cases from `references/publishing-scenarios.md`. ## Minimum Clarification Questions Ask only questions that materially affect the solution. Prefer three to six questions. Common high-value questions: - What is the business objective and success metric? - Which user group and platform are in scope? - What is the entry point and complete user path? - What rules are fixed, and what can be configured in the admin panel? - Are rewards, payments, SDK versions, regions, or compliance constraints involved? - What data needs to be tracked for launch review and post-launch analysis? - For screenshots or demos, is the visual reference final design, competitor reference, or rough inspiration? - For HTML demos, should the output be low-fidelity structure or polished visual presentation? ## Safety And Quality Constraints - Never hide uncertainty. Use `To confirm` or `待确认` for unknowns. - Do not treat visual guesses from screenshots as confirmed business rules. - Avoid pretending a prototype outline or HTML demo is pixel-perfect unless the user asks for a design artifact. - Avoid adding unrelated features simply because they are common in similar systems. - For payment, identity verification, privacy, rewards, and SDK integration, explicitly mark risks and dependencies. - Keep first drafts concise enough for review. Expand details only where they change implementation, testing, or launch decisions.
don't have the plugin yet? install it then click "run inline in claude" again.