plugins/ai-registry/skills/registering-building-blocks/SKILL.md
This skill should be used when the user wants to register or update AI building blocks (Skills, Agents, Prompts, Context MDs) in the Notion AI Building Blocks database. Triggers after skill creation, agent creation, prompt authoring, context MD updates, or when the user asks to register, add, or track a building block in Notion.
npx skillsauth add jamesgray-ai/handsonai registering-building-blocksInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
After creating, packaging, or updating any AI building block — Skill, Agent, Prompt, or Context MD — register or update it in the AI Building Blocks database.
Determine the asset type from the user's request before extracting metadata.
| Asset Type | Source Location | Identifier File | Name Source |
|-----------|----------------|-----------------|-------------|
| Skill | ~/.claude/skills/{name}/SKILL.md | SKILL.md frontmatter name field | Frontmatter name |
| Agent | .claude/agents/{name}.md or ~/.claude/agents/{name}.md | Agent .md file frontmatter or filename | Filename (without .md) or frontmatter |
| Prompt | User-specified file or inline text | N/A | User-provided name |
| Context MD | CLAUDE.md or user-specified file | N/A | User-provided name or filename |
Resolution rules:
SKILL.md → Skill; .claude/agents/*.md → Agent; CLAUDE.md → Context MD2d5edcfd-b924-80cf-a0a0-000ba0164e40collection://2d5edcfd-b924-80cf-a0a0-000ba0164e40| Property | Type | Purpose | |----------|------|---------| | Name | title | Building block name (from frontmatter, filename, or user input) | | Description | text | Description (from frontmatter or user input — includes trigger phrases for skills) | | Asset Type | select | "Skill", "Agent", "Prompt", or "Context MD" | | Platform | select | Always "Claude" for Claude building blocks | | Quick Start Prompt | text | Copy-paste prompt that demonstrates the building block | | GitHub | url | Repository URL if applicable |
For each building block being registered:
Based on the resolved asset type, read metadata from the appropriate source:
SKILL.md frontmatter for name and description.md file for name (filename or frontmatter) and description (opening paragraph or frontmatter)Create a single, copy-paste-ready prompt that demonstrates the building block's primary use case.
Guidelines for Quick Start Prompts:
Examples by asset type:
| Type | Name | Quick Start Prompt | |------|------|--------------------| | Skill | reviewing-student-goals | "Navigate to my Maven course Reflect: Goals page and extract all student learning goals. Update each student's record in Notion and give me a cohort theme analysis." | | Skill | writing-linkedin-posts | "Write a LinkedIn post about [topic] using my brand voice." | | Agent | playbook-question-answerer | "Answer the question 'What are the six AI building blocks?' using the Hands-on AI site content." | | Agent | hbr-editor | "Review this article for HBR publication quality and give me prescriptive feedback." | | Prompt | meeting-prep-quick | "Prepare me for my meeting with [name] at [company] tomorrow." |
Context MDs typically don't need a Quick Start Prompt — leave blank or ask the user.
If unsure: Ask James for the Quick Start Prompt rather than guessing.
Search the data source for the exact building block name:
{
"query": "<building-block-name>",
"data_source_url": "collection://2d5edcfd-b924-80cf-a0a0-000ba0164e40"
}
Critical: Check search results carefully. A match exists only if a result has the exact same title as the building block name. Partial matches or similar names are NOT duplicates.
If exact match found → Update the existing page:
{
"data": {
"page_id": "<page-id-from-search>",
"command": "update_properties",
"properties": {
"Description": "<description>",
"Quick Start Prompt": "<generated-quick-start-prompt>"
}
}
}
If no exact match → Create new entry:
{
"parent": {"data_source_id": "2d5edcfd-b924-80cf-a0a0-000ba0164e40"},
"pages": [{
"properties": {
"Name": "<building-block-name>",
"Description": "<description>",
"Asset Type": "<Skill|Agent|Prompt|Context MD>",
"Platform": "Claude",
"Quick Start Prompt": "<generated-quick-start-prompt>"
}
}]
}
When registering multiple building blocks (which can mix asset types):
documentation
Write Standard Operating Procedure documentation for workflows and save as markdown files. Selects full or lightweight SOP template based on autonomy level (deterministic vs. guided/autonomous), then adapts for workflow type (Manual, Augmented, Automated). Use when the user asks to write an SOP, document a workflow, create procedure documentation, or capture how a workflow is executed. Triggers on "write an SOP", "document this workflow", "create operating instructions", "how is this workflow executed".
documentation
Write Business Process Guide documentation that explains when, why, and how to execute a complete business process with its component workflows, and save as markdown files. Use when documenting a business process end-to-end, creating playbooks, or explaining how multiple workflows fit together. Triggers on "write process guide", "document this process", "create a playbook for", "how do these workflows connect".
development
This skill should be used when the user wants to sync skills to GitHub, push skill changes to a remote repository, or back up local skills. Syncs Claude Agent Skills from ~/.claude/skills/ (local) to GitHub repository using git commands. Commits changes, pushes to remote, and updates Notion AI Building Blocks with GitHub URLs.
documentation
This skill should be used when the user wants to name a workflow, write workflow descriptions, standardize workflow documentation, add a workflow to Notion, or structure workflow entries. Generates consistent, outcome-focused names and descriptions for business workflows and creates entries in the Notion Workflows database.