Automated summary
Scaffolds a new canonical MBG skill under .ai/skills following the project authoring standard, then regenerates the OpenCode, Claude and Codex adapters with the sync script.
Strengths
- Enforces naming and structure rules (mbg- prefix, kebab-case, flat YAML frontmatter, required sections) before writing anything.
- Writes only into the canonical .ai/skills source and refuses hand-edits inside generated adapter directories.
- Bakes in explicit safety rules (no .env reads, no credentials, no automatic commits) and requires checking every referenced entry point against the real source.
- Runs scripts/sync_agent_tools.py at the end so all platform adapters stay in sync.
Limitations
- Tightly repo-specific: it only makes sense inside the MBG project with .ai/skills, the manifest and the sync script in place.
- Does not edit .ai/manifest.json itself; adding a new capability requires coordinating with the manifest owner.
- Refuses to overwrite an existing skill without explicit approval, so updating one needs a different route.
Use it when adding a brand-new skill to the MBG project that must follow the authoring standard and be propagated to every platform adapter.
Don't use it to edit or refactor an existing skill, or in a repository that isn't set up with .ai/skills and the sync script.
Security analysis
SafeThe skill only creates local project files and runs a local Python sync script; it explicitly forbids destructive actions, credential access, and automatic git operations. No exfiltration, network calls, or unsafe commands are present.
No concerns found
How this analysis is madeExamples
/mbg-new-skill mbg-netlist-bias-check Enforce that pfet_03v3 devices connect to VDD only and nfet_03v3 devices connect to VSS only in generated SPICE netlists/mbg-new-skill mbg-drc-report-summary Parse DRC reports and summarize violations by rule class; owner ahmad; capability drc_report_parse/mbg-new-skill mbg-block-review Run a read-only review of an analog block's netlist and parameters against the project authoring guide; class READ-ONLY; owner jabirdescription: Scaffold a new canonical MBG skill under .ai/skills using the project authoring standard, then resync all platform adapters.
<!-- GENERATED FILE — do not edit by hand. Source: .ai/workflows/mbg-new-skill.md. Regenerate with: python3 scripts/sync_agent_tools.py -->Create a new canonical skill for the Microelectronic Block Generator project.
Requested input:
$ARGUMENTS
Interpret the first argument as the skill name. Treat the remaining arguments as the requested purpose or capability.
Requirements
-
Load the
mbg-extension-authoringskill. -
Require a skill name beginning with
mbg-. -
Require lowercase alphanumeric kebab-case.
-
Reject names containing spaces, underscores, consecutive hyphens, or leading/trailing hyphens.
-
Create the skill at:
.ai/skills/<skill-name>/SKILL.mdDo not create it directly under
.opencode/skills/,.claude/skills/, orplugins/mbg-analog/skills/— those are generated output; a hand-edit there is discarded the next time the sync script runs. -
Ensure the directory name exactly matches the YAML frontmatter
name. -
Do not overwrite an existing skill without explicit approval.
-
Give the skill one clear responsibility.
-
Set the correct project owner (
huda,ahmad, orjabir) and list real capability ids that either already exist in.ai/manifest.json'scapabilitiessection or are being added alongside this skill. -
Do not invent tools, APIs, modules, or verification results — verify every referenced entry point against the actual source before writing it into the skill.
PDK Body Constraint
MOSFET body: pfet_03v3 -> VDD ONLY, nfet_03v3 -> VSS ONLY. If the
new skill generates or processes SPICE netlists, it must enforce this rule.
Required Frontmatter
Flat key: value lines only; list fields written inline. The sync
script's parser is minimal (no PyYAML in this repo's Python
environments) — nested maps, block lists, and multi-line folded scalars
are not supported.
---
name: mbg-example-skill
description: 2-4 sentences — what it does, when to use it, when not to.
class: READ-ONLY | GENERATING | MUTATING | DESTRUCTIVE
owner: huda | ahmad | jabir
capabilities: [cap_id]
platforms: [opencode, claude, codex]
---
Replace the example name, description, class, owner, and capabilities with values appropriate to the requested skill.
Required Sections
The generated skill body must include, per
docs/opencode/AUTHORING_GUIDE.md's section layout: ## Purpose,
## When to Use, ## When Not to Use, ## Required Inputs,
## Preconditions, ## Workflow, ## Outputs, ## Failure Modes.
Keep the body platform-neutral — do not mention a specific platform by name unless the skill is genuinely about authoring for that one platform.
Safety Requirements
- Never read or display
.env. - Never include API keys or credentials.
- Never include personal absolute filesystem paths.
- Never use unlimited retry or refinement loops.
- Never claim simulation or verification success without evidence.
- Never modify another team member's implementation outside the assigned scope.
- Never stage, commit, or push automatically.
Validation
After creating the skill:
- Confirm that the directory and frontmatter
namematch. - Confirm the frontmatter is flat (no nested YAML).
- Confirm every referenced module/function actually exists in the repo.
- Report every validation error and warning found.
- Do not claim completion if validation fails.
- Run
python3 scripts/sync_agent_tools.pyto regenerate the OpenCode, Claude, and Codex adapters from the new.ai/skills/entry. If the skill introduces a new capability, coordinate with whoever owns.ai/manifest.jsonto add the corresponding entry there — this workflow does not hand-edit the manifest itself.
Output Format
Skill:
Owner:
Purpose:
File created:
Manifest capability entry needed:
Sync command run: python3 scripts/sync_agent_tools.py
Validation status:
Errors:
Warnings:
Known limitations:
Git status:
If no skill name is supplied, stop and request a valid mbg- skill name.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/scaffold-a-new-mbg-skill-mt59owp3/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/scaffold-a-new-mbg-skill-mt59owp3' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/scaffold-a-new-mbg-skill-mt59owp3/download' --output '.skill-downloads/scaffold-a-new-mbg-skill-mt59owp3/SKILL.md.part' && mv '.skill-downloads/scaffold-a-new-mbg-skill-mt59owp3/SKILL.md.part' '.skill-downloads/scaffold-a-new-mbg-skill-mt59owp3/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Original excerpt: Requirements
-
Load the
mbg-extension-authoringskill. -
Require a skill name beginning with
mbg-. -
Require lowercase alphanumeric kebab-case.
-
Reject names containing spaces, underscores, consecutive hyphens, or leading/trailing hyphens.
-
Create the skill at:
.ai/skills/<skill-name>/SKILL.mdDo not create it directly under
.opencode/skills/,.claude/skills/, orplugins/mbg-analog/skills/— those are generated output; a hand-edit there is discarded the next time the sync script runs. -
Ensure the directory name exactly matches the YAML frontmatter
name. -
Do not overwrite an existing skill without explicit approval.
-
Give the skill one clear responsibility.
-
Set the correct project owner (
huda,ahmad, orjabir) and list real capability ids that either already exist in.ai/manifest.json'scapabilitiessection or are being added alongside this skill. -
Do not invent tools, APIs, modules, or verification results — verify every referenced entry point against the actual source before writing it into the skill.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/scaffold-a-new-mbg-skill-mt59owp3/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.