Skip to content
Development
Skill

/standards-update

Update or create project standards from conversation context or explicit description

From plugin
maister
27217 skills25 agents6 commands1 MCP

Claude Code

$ npx -y skills add SkillPanel/maister --skill standards-update --agent claude-code

SKILL.md

standards-update.SKILL.md
name: standards-update
description: Update or create project standards from conversation context or explicit description
argument-hint: "[description of standard/convention] [--from=PATH]"

Update Project Standards

Update or create standards in `.maister/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.

Usage

/maister-standards-update                                    # Detect from conversation
/maister-standards-update "always use React.memo for lists"  # From description
/maister-standards-update --from=/path/to/other-project      # Sync from another project

---

Mode: Sync from External Project (`--from=PATH`)

When `--from=PATH` is provided, the skill switches to **sync mode** — importing standards from another project's `.maister/docs/standards/` into the current project. This bypasses Phases 1-3 and uses a dedicated flow.

SYNC STEP 1: Validate Source

1. Resolve the path (absolute or relative to cwd) 2. Check `PATH/.maister/docs/standards/` exists. If not, inform the user and stop. 3. Check `.maister/docs/standards/` exists in the current project. If not, offer to run `/maister-init` first.

SYNC STEP 2: Analyze Differences

1. Scan source project's `standards/*/` — list all categories and files 2. Scan current project's `standards/*/` — list all categories and files 3. For each source file, compare against the local counterpart:

  • **Missing locally**: Category or file doesn't exist in the current project
  • **Differs**: Both exist but content differs (read and compare)
  • **Identical**: No action needed

4. Present a summary to the user via ask_user (sequential single-select):

  • Group by status: "New standards to add" and "Standards that differ"
  • Each item shows: `[category]/[file]` with brief description of what it contains
  • Options: individual files to sync, plus "Select all new" / "Select all different" convenience options
  • User selects which standards to import

SYNC STEP 3: Apply Selected Standards

For each selected standard:

  • **Missing locally**: Copy the file from source. Create category directory if needed.
  • **Differs**: Show a brief diff summary and use ask_user per file:
  • "Replace with source version" — overwrite local file
  • "Merge (append new sections)" — read both files, append `###` sections from source that don't exist locally
  • "Skip" — leave local file unchanged

SYNC STEP 4: Update INDEX.md

Invoke `docs-operator` subagent via Task tool (subagent_type: `maister-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.

SYNC STEP 5: Summarize

Display: standards added, standards updated, standards skipped, and total count. Suggest reviewing the imported standards and committing.

---

Mode: Conversation / Description (default)

When `--from` is NOT provided, the skill uses the standard detect-and-update flow below.

---

PHASE 1: Detect Standard

**Step 1: Gather input**

  • **If argument provided**: Use the description as primary input. Also scan last 15-20 messages for additional context, examples, or related conventions.
  • **If no argument**: Scan last 15-20 messages for convention discussions. Look for patterns like "we should always...", "our convention is...", "prefer X over Y", "never use...", code examples showing patterns.

**Step 2: Discover existing categories and files**

Scan `.maister/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:

  • File names and their content (read existing files if topic is close)
  • Whether the convention fits an existing file or needs a new one

**Step 4: Present suggestion**

  • **If confident match** → ask_user: "This convention about [topic] fits [category/file]. Update it?" (Yes / Choose different / Cancel)
  • **If ambiguous** → ask_user listing possible categories/files + "Create new category" + "Create new file in [category]"
  • **If nothing detected** (no argument, no conversation context) → ask user to describe the convention they want to document

---

PHASE 2: Determine Action

Check if the target file exists:

  • **Exists** → update mode
  • **Doesn't exist** → create mode (if new category, create the directory too)

No user prompt needed — just inform: "Updating existing standard: [name]" or "Creating new standard: [category/name]"

---

PHASE 3: Gather Standard Content

If updating

1. Read current content 2. Show summary of existing practices 3. Ask what to add/change 4. Extract: new practices, modifications, removals, code examples

If creating

1. Inform user of target path 2. Ask for practices, conventions, code examples, do's/don'ts 3. Optionally show plugin baseline if similar standard exists in docs-manager's bundled docs

---

PHASE 4: Apply via docs-manager

> 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: `maister-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/[catego

Read more
@skillpanel
Ships withmaister

Structured, standards-aware development workflows for Claude Code Describe what you want to build, and the plugin handles the rest - from specification through implementation to verification - while enforcing your project's coding standards at every step.

27217 skills25 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
272
Star history of SkillPanel/maister on GitHub, a chart by star-history.com

Other skills on maister.

codebase-analyzer

codebase-analyzer

Analyzes codebase using adaptive parallel Explore subagents based on task complexity. Selects agent roles from a pool, launches…

@skillpanel@skillpanelInstall Skill
development

development

Unified orchestrator for all development tasks. ALWAYS execute when invoked — never skip for 'straightforward' tasks. Phases…

@skillpanel@skillpanelInstall Skill
docs-manager

docs-manager

Internal engine for managing project documentation and technical standards in .maister/docs/. Handles file operations, INDEX.md…

@skillpanel@skillpanelInstall Skill
implementation-verifier

implementation-verifie…

Verify completed implementations for quality assurance. Delegates all verification work to specialized subagents - completeness…

@skillpanel@skillpanelInstall Skill
init

init

Initialize Maister framework with intelligent project analysis and documentation generation

@skillpanel@skillpanelInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills3w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc3w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react13d252k
@facebook@facebookInstall Skill

Questions about standards-update.

Which coding agents can use standards-update?
standards-update installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.