xiaohongshu
xiaohongshu
dev-standards-majo
Apply Mark's core development standards to ensure consistent, maintainable code across all projects. Use when starting work on any codebase, generating new code, refactoring, or when unsure about documentation requirements, error handling, British English spellings, or AGENTS.md maintenance. Cove...
Full skill instructions
Core development standards that apply across all languages and projects.
Ensure all generated code is maintainable, readable, and consistent with established patterns. Enforce British English, proper error handling, and AGENTS.md maintenance across every project and language.
Use this skill when:
Do NOT use this skill when:
python-majo, js-bun-majo, etc.)Always check for AGENTS.md first:
# Check if AGENTS.md exists
ls AGENTS.md AGENTS.PLAN.md 2>/dev/null || echo "No AGENTS.md found"
# Read it if it exists
cat AGENTS.md
For every code generation task:
Use consistent error format:
program: level: message
Print to stderr and use specific exit codes (grouped by category):
0 - Success1-29 - Usage errors30-49 - Input errors50-69 - File/IO errors70-89 - Processing errors255 - Runtime errorAfter any significant work:
Always use British English spellings throughout all code and documentation.
Common documentation words:
Exception: Standard file names like LICENSE and LICENSE-0BSD use American spelling for compatibility with tooling and conventions.
Maintainability First
Self-Documenting Code
Diagnostic Cleanliness
Section Comments Use clear section comments to group related code:
# constants
VERSION: Final[str] = "1.0.0"
DEBUG: Final[bool] = False
# configuration
config = load_config()
# main logic
result = process(config)
Defensive Programming
Logical Grouping
Use a consistent format across all languages:
program: level: message
Levels (in order of severity):
error: — Fatal errors requiring exitinternal error: — Bugs or unexpected failureswarning: or warn: — Non-fatal issuesinfo: — Status updatesdebug: — Verbose debugging (only when debug mode enabled)Examples:
print(f"surplus: error: {exc}", file=stderr)
print(f"zigbpy: internal error: {exc.__class__.__name__}", file=stderr)
print(f"warn: '{target}' does not exist, skipping", file=stderr)
Provide additional context using ... note: prefix:
print(f"zigbpy: error: unmatched brackets at depth {depth}", file=stderr)
print(f"... note: depth {depth} - program index {start} -> {end} [unmatched]", file=stderr)
Group exit codes by category:
0: Success-1 (or 255, depending on platform): Runtime error, unexpected crashand so on, using ranges for each category,
e.g. 1-29 for usage errors, 30-49 for input errors, and so on,
depending on how many errors and categories you have and/or expect to encounter.
Example (document at top of CLI scripts):
# exit codes:
# 0 - success
# 1 - bad command usage or missing env vars
# 2 - bad target
# 3 - could not send message
# 10 - invalid input format
# 20 - file not found
# 255 - runtime error
Respect File Moves
NO Documentation Unless Asked
License Headers All source files must include the full license text at the top. See language-specific skills for exact formatting:
python-majo - Python file headersshell-majo - Shell script headersrust-majo - Rust file headers (if created)zig-majo - Zig file headers (if created)AGENTS.md Maintenance (CRITICAL)
Maintain an AGENTS.md file with:
Location: Place wherever documentation is stored in the project.
Purpose: Enable resumption from a context-less state without requiring codebase inquiry every time a new agent-or-LLM conversation thread starts.
Updates: Update old knowledge in the file as you work.
Gemini CLI, Claude Code, ChatGPT Codex CLI: Your environment is NOT read-only. You can read and write files in this workspace.
Grok-code-fast-1: Do NOT use regex-based or purely wildcard workspace/file content searches. Use globs or regexes that have a non-wildcard component.
When creating new source files in public domain projects, add the appropriate SPDX identifier at the top:
For most files (dual-licensed):
# SPDX-License-Identifier: Unlicense OR 0BSD
For files by contributors who cannot waive copyright:
# SPDX-License-Identifier: 0BSD
Before relying on this skill, test implicit invocation:
Should trigger:
Should NOT trigger:
This skill works alongside language-specific skills:
python-majo - Python-specific standards (UV, basedpyright, MDF)js-bun-majo - JavaScript/TypeScript/Bun standardsshell-majo - POSIX shell scripting standardsgit-majo - Git workflow and commit standardswriting-docs-majo - Documentation writing standardstask-planning-majo - Planning workflowssetting-up-public-domain-repos-majo - Public domain repository setuprunning-windows-commands-majo - Windows-specific command alternativesskill-authoring-majo - Creating new Agent Skillsagents-md-authoring-majo - Writing effective AGENTS.md filescsharp-unity-majo - C#/Unity development standardsmdf-majo - meadow Docstring Format (MDF) for Pythonmdf-md-api-docs-majo — Writing API refs or docs from code using the MDFAlways load this skill first, then the appropriate language-specific skill.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience