一键导入
standards-update
Update or create project standards from conversation context or explicit description
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update or create project standards from conversation context or explicit description
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | standards-update |
| description | Update or create project standards from conversation context or explicit description |
| argument-hint | [description of standard/convention] [--from=PATH] |
Update or create standards in .flowbit/docs/standards/ based on conversation context or a provided description. Automatically detects the best-matching category and file. Supports both baseline categories (global, frontend, backend, testing) and custom user-defined categories.
/flowbit-standards-update # Detect from conversation
/flowbit-standards-update "always use React.memo for lists" # From description
/flowbit-standards-update --from=/path/to/other-project # Sync from another project
--from=PATH)When --from=PATH is provided, the skill switches to sync mode — importing standards from another project's .flowbit/docs/standards/ into the current project. This bypasses Phases 1-3 and uses a dedicated flow.
PATH/.flowbit/docs/standards/ exists. If not, inform the user and stop..flowbit/docs/standards/ exists in the current project. If not, offer to run /flowbit-init first.standards/*/ — list all categories and filesstandards/*/ — list all categories and files[category]/[file] with brief description of what it containsFor each selected standard:
### sections from source that don't exist locallyInvoke docs-operator subagent via Task tool (subagent_type: flowbit-docs-operator):
"Regenerate INDEX.md to include all newly added/updated standards. Verify .github/copilot-instructions.md integration."
Wait for docs-operator to complete, then immediately proceed to SYNC STEP 5.
Display: standards added, standards updated, standards skipped, and total count. Suggest reviewing the imported standards and committing.
When --from is NOT provided, the skill uses the standard detect-and-update flow below.
Step 1: Gather input
Step 2: Discover existing categories and files
Scan .flowbit/docs/standards/*/ to find all existing categories and standard files. This determines what's available — not limited to baseline categories.
Step 3: Match to category and file
Based on the topic detected, suggest the best-matching existing category and file. Consider:
Step 4: Present suggestion
Check if the target file exists:
No user prompt needed — just inform: "Updating existing standard: [name]" or "Creating new standard: [category/name]"
Each standard uses a
###heading with 1-10 lines description (excluding code snippets). Multiple standards per topic file. Split large topics into sub-topic files.
Invoke docs-operator subagent via Task tool (subagent_type: flowbit-docs-operator) with context:
For updates:
"Update documentation file: standards/[category]/[name].md. Current content: [content]. Add/change: [new conventions]. Integrate new practices, maintain markdown formatting, organize logically, preserve existing unless conflicts. Update INDEX.md entry with practice-specific description (enumerate actual practices, not generic category)."
For creates:
"Create documentation file: standards/[category]/[name].md. Category: [category]. Content: [conventions]. Create with proper markdown, organized sections, code examples. Add to INDEX.md with practice-specific description. Verify .github/copilot-instructions.md integration."
Wait for docs-operator to complete, then immediately proceed to Phase 5.
If .flowbit/docs/ doesn't exist, offer to run /flowbit-init first.
Initialize Flowbit with intelligent project analysis and documentation generation
Creates Mermaid diagrams for planning flows, component communication, and architecture views with adaptive detail selection (including C4 levels). This skill should be used when the user asks for a workflow, interaction, or architecture visualization from provided task context.
Internal engine for managing project documentation and technical standards in .flowbit/docs/. Handles file operations, INDEX.md generation, and .github/copilot-instructions.md integration. Invoked by flowbit-init, standards-update, and standards-discover skills.
Quick bug fix with TDD red/green gates and complexity escalation
Implement task directly with AI SDLC standards awareness (no planning mode)
Enter planning mode with AI SDLC standards awareness