plugins/handsonai/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-plugins 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 MD<your-ai-building-blocks-database-id>collection://<your-ai-building-blocks-database-id>| 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 | "Review student learning goals from my course platform, 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 the user 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://<your-ai-building-blocks-database-id>"
}
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": "<your-ai-building-blocks-database-id>"},
"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".
development
Guide structured testing of AI workflow artifacts, evaluate output quality, identify which building blocks need adjustment, and determine readiness for deployment. Use when the user has built workflow artifacts and needs to test them. This is Step 5 (Test) of the AI Workflow Framework.
development
This skill should be used when the user has built and tested workflow artifacts and wants a Run Guide for deploying and operating their AI workflow. It generates a plain-language guide with setup steps, deployment patterns, and sharing instructions — tailored to the user's platform and build path. This is Step 6 (Run) of the AI Workflow Framework.
development
Evaluate a running AI workflow for quality, relevance, and evolution opportunities. Use when the user wants to review how a deployed workflow is performing, check if it needs tuning, or assess whether it should graduate to a more capable orchestration mechanism. This is Step 7 (Improve) of the AI Workflow Framework.