The Standard Book of Spells

213 incantations that bend code to your will — the complete Kun spellbook

The Standard Book of Spells

"It does not do to dwell on documentation and forget to ship."

Kun (كن) is Arabic for Be — the divine command of creation. Say the word, and it is. Type dev and your server rises. Type deploy and your code travels across the world. Type auth and an entire authentication system assembles itself from nothing.

Every spell below reveals its Order — the hidden chain of agents, portals, hooks, and wards that mobilize the instant you speak. Click any spell to see its full execution sequence, connections, and dependencies.

234
Incantations
22
Schools
43
Familiars
18
Portals
14
Workflows
The Order — what activates behind each spell
AgentAgentAI familiar that does the work
MCPMCPPortal to an external service
SkillSkillSlash command executed
HookHookSilent enchantment (auto-fires)
WardWardRule auto-activated by file path
MemoryMemoryPersisted knowledge file
234
Incantations
22
Schools
43
Familiars
18
Portals
14
Workflows
The Order — what activates behind each spell
AgentAgentAI familiar that does the work
MCPMCPPortal to an external service
SkillSkillSlash command executed
HookHookSilent enchantment (auto-fires)
WardWardRule auto-activated by file path
MemoryMemoryPersisted knowledge file
0.

The Pipeline

Idea to production in one word

The most powerful magic in Kun. Each keyword is a complete pipeline stage. Chain them with `feature` to go from idea to customer's hands in minutes.

AgentorchestrationAgentarchitectureAgentprismaAgentnextjsAgentreactMCPGitHubMCPVercelMCPNeonMCPBrowserSkill/feature
MCPGitHubSkill/idea
AgentarchitectureAgentprismaMCPGitHubSkill/spec
AgentarchitectureMCPGitHubSkill/plan
AgentproductMCPGitHubSkill/tasks
AgentprismaAgenttypescriptMCPNeonSkill/schema
AgentproductAgentarchitectureAgenttypescript
AgentnextjsAgenttypescriptAgentprismaSkill/codeWardauth
AgentnextjsAgentreactAgentshadcnAgenttailwindMCPshadcnSkill/wireHookAuto-Format
AgentbuildAgenttypescriptMCPBrowserSkill/check
AgentgitAgentdeployMCPGitHubMCPVercelSkill/ship
AgentdeployMCPVercelMCPBrowserSkill/watch

feature billing hogwarts — one line, eight stages, live in production.

I.

Charm Work

Everyday practical magic

The spells you cast most often. Reliable, essential, and dangerously easy to take for granted. Professor Flitwick would be proud.

Skill/devHookPort GuardianHookChrome Opener
AgentbuildAgenttypescriptSkill/buildHookAuto-FormatWarddeployment
AgentgitAgentgithubMCPGitHub
AgentgitAgentgithubMCPGitHubSkill/quick
AgentdeployAgentbuildMCPCloudflareMCPNeonSkill/deployWarddeployment
AgentqualityMCPBrowserMCPVercelMCPGitHubSkill/release
AgentcloudflareSkill/cloudflareMCPCloudflareMCPNeonWarddeployment

dev is your Lumos — the first spell each morning. build is your Nox — the last before rest.

II.

Transfiguration

Creating something from nothing

These spells conjure new files, components, and entire features into existence. From a single component to a full feature with database, API, and UI.

AgentreactAgentshadcnMCPshadcnHookAuto-FormatWardtailwind
AgentnextjsAgentarchitectureAgentstructureHookAuto-Format
AgentnextjsAgenttypescriptHookAuto-FormatWardauthWardprisma
AgentatomAgentshadcnMCPshadcnSkill/atomHookAuto-FormatWardtailwindMemoryatom.json
AgenttemplateAgentatomMCPshadcnSkill/templateHookAuto-FormatWardtailwindMemorytemplate.json
AgentblockAgentatomAgentprismaMCPshadcnMCPGitHubMCPNeonSkill/blockHookAuto-FormatWardprismaWardauthMemoryblock.json
AgentprismaAgentarchitectureMCPNeonHookAuto-FormatWardprisma

A poorly conceived block is like a half-transfigured hedgehog — functional but unsettling. Plan before you cast.

III.

Ancient Runes

The foundational frameworks

The ancient languages upon which everything else is built. Each carries the weight of an entire framework.

AgentnextjsAgentreactAgentmiddlewareAgentnextjs
AgentreactAgentnextjsAgenttypescript
AgenttypescriptAgentreactAgentnextjs
AgentprismaAgentarchitectureMCPNeonWardprisma
AgenttailwindAgentshadcnAgentsemanticWardtailwind
AgentshadcnAgentatomAgenttailwindMCPshadcnSkill/shadcn

When you say prisma, you invoke not just a tool but a philosophy of data.

IV.

Conjuration

Summoning UI elements

Each incantation calls forth a specific UI pattern — complete, styled, ready. Combine with a noun and the spell adapts.

AgentblockAgentprismaMCPshadcn
AgenttemplateMCPshadcn
AgenttemplateMCPshadcn
AgentreactAgentblockMCPshadcn
AgentshadcnAgentatomMCPshadcn
AgentatomMCPshadcn
AgenttemplateMCPshadcn
AgenttemplateMCPshadcn
AgenttemplateMCPshadcn
AgenttemplateMCPshadcn

table users, form settings, modal confirm — the spell adapts to your intent.

V.

The Dark Arts of Features

N.E.W.T.-level system enchantments

Not dark in nature, but dark in complexity. Each creates an entire system — multiple agents, MCP servers, and spell chains working in concert.

AgentauthjsAgentmiddlewareAgentprismaAgentnextjsWardauth
AgentorchestrationAgentarchitectureAgentprismaAgentnextjsAgentshadcnAgentreactMCPStripeMCPNeonMCPshadcnSkill/saasWardprismaWardauth
AgenttemplateAgentblockAgentreactAgentprismaMCPshadcn
AgenttemplateAgentatomAgenttailwindMCPshadcn
AgentblockAgentarchitectureAgentprismaMCPStripeWardauthWardprisma
AgentnextjsAgenttemplateAgentreactWardauth
AgentnextjsAgenttemplateAgentreactWardauth
AgentnextjsAgenttemplateAgentreactWardauth
AgentnextjsAgenttemplateAgentreact
AgentpwaSkill/pwaMCPchrome-devtoolsMCPcontext7Wardnext-16

saas billing orchestrates 6 familiars, opens 3 portals, and generates an entire billing system. From two words.

VI.

Animation Charms

Giving life to stillness

The ancient art of making the inanimate move with purpose. Framer Motion is the wand, intent is the magic.

AgentreactAgenttailwindSkill/motionHookAuto-Format
AgentreactAgenttailwindSkill/motion
AgentreactAgentnextjsSkill/motion
AgentreactSkill/motion
AgentreactSkill/motion
AgentreactAgentnextjsAgenttailwindSkill/skeletonWardloading
AgentreactAgentnextjsAgenttailwindSkill/blurWardloading

Like the Weasley twins' fireworks — magnificent in moderation, catastrophic in excess.

VII.

Defense Against the Dark Arts

Protection from bugs and entropy

The spells that protect your code from dark forces: bugs, vulnerabilities, regressions, and the slow entropy of neglect.

AgenttestAgentreactAgentnextjsMCPBrowserSkill/testWardtesting
AgenttestMCPBrowserWardtesting
AgentqualityMCPBrowserSkill/handover
AgentqualityMCPBrowserSkill/qa
AgenttestWardtesting
AgentpatternAgentarchitectureAgenttypescriptAgentreact
AgentguardianAgentauthjsAgentpatternMCPSentrySkill/securityWardauth
AgentguardianAgentpatternAgentperformanceAgenttest
AgentqualitySkill/benchMemory.claude/memory/skill-scores.json
AgentproductAgentarchitectureAgenttypescriptAgentprisma
AgentarchitectureAgentpatternMemorypreferences
AgentsemanticAgenttailwindAgentshadcn
AgentperformanceAgentnextjsAgentreactMCPVercel
AgentperformanceAgentnextjsAgentreactAgentprismaMCPVercelMCPNeonSkill/performance

Constant vigilance! A codebase without tests is a castle without wards.

VIII.

Reparo

The mending spells

When things break — and they will — these incantations diagnose and repair with surgical precision.

AgentbuildAgenttypescriptSkill/fixHookAuto-Format
AgentbuildAgentsseAgenttypescriptMCPSentry
AgentbuildAgentsseAgenttypescript
Agentbuild
HookAuto-Format
Agenttypescript
AgentreportAgentqualityAgentsseAgentbuildMCPGitHubMCPBrowser

A true master does not fear errors. They cast fix and move on.

IX.

Quill Charms

The spells of documentation

Often neglected, always essential. Like Madam Pince guarding the library, these preserve knowledge.

AgentcommentAgentpatternSkill/docsHookAuto-Format
AgentcommentSkill/docs
AgentcommentAgenttypescriptSkill/docs
AgentcommentSkill/docs
AgentcommentSkill/docs

The Memory Charms done right — instead of erasing knowledge, they preserve it.

X.

Geminio

Duplication and summoning

Why build from scratch? These clone, copy, and adapt existing work — the Geminio charm applied to code.

AgentgithubAgentshadcnMCPGitHubMCPshadcnSkill/cloneHookAuto-FormatWardorg-refs
AgentgithubHookAuto-FormatWardorg-refs
AgentgithubHookAuto-FormatWardorg-refs
AgentgithubHookAuto-FormatWardorg-refs
AgentgitAgentgithubMCPGitHubWardmulti-repo

clone table from codebase summons the DataTable. clone vercel/ai reaches across GitHub.

XI.

Summoning Charms

Portals to external realms

Each word opens a portal to a powerful service beyond your machine. The Floo Network, but for code.

AgentgithubMCPGitHub
MCPFigma
MCPLinear
MCPSlack
MCPNotion
MCPSentryAgentsse
MCPStripe
AgentdeployMCPVercel
MCPPostHog
AgentprismaMCPNeon
AgentgrowthSkill/facebook

Each portal stays open for the duration of your session. Use them freely.

XII.

Divination

Seeing ahead

Planning and time itself — user stories, recurring loops, goals that outlive a turn, cloud routines that run while you sleep, and deterministic multi-agent workflows.

AgentorchestrationMCPGitHubSkill/idea
Skill/loop
Skill/goal
Skill/schedule
AgentorchestrationMemory.claude/workflows/

schedule a routine before bed; wake to a finished sweep. The best divination is automation.

XIII.

Advanced Spellwork

Performance magic

N.E.W.T.-level incantations. They don't create — they refine. Faster, smaller, sharper.

AgentreactAgentperformance
AgentperformanceAgentreact
AgentbuildAgentperformance
AgentreactAgentnextjs
AgentreactAgentnextjs
Agentreact
AgentnextjsAgentreact
AgentnextjsAgentreact
AgentbuildAgentstructure
Agentreact

parallelize alone can improve performance 2-10x. This is not theory — it is power.

XIV.

Portkeys

Teleportation to other repos

Speak a reference incantation and your context shifts to another repository — its patterns, its hard-won wisdom.

Skill/codebaseMCPGitHubWardorg-refs
AgentshadcnMCPshadcnWardorg-refsSkill/shadcn
AgentshadcnMCPshadcnWardorg-refs
AgenthogwartsAgentarchitectureAgentprismaMCPGitHubWardorg-refs
AgentsouqAgentarchitectureMCPGitHubWardorg-refs
AgentmkanAgentarchitectureMCPGitHubWardorg-refs
AgentshifaAgentarchitectureMCPGitHubWardorg-refs
Memorymemory/repositories.json
Memorymemory/repositories.json

auth like hogwarts transports the auth pattern. table from codebase summons the DataTable.

XV.

The Unforgivable Commands

Forbidden by the engine

Denied by settings.json. No agent, skill, or charm can override them. Some magic cannot be undone.

Warddeny: settings.json
Warddeny: settings.json
Warddeny: settings.json
Warddeny: settings.json
Wardconvention

The Ministry had its reasons. So does Kun.

16.

The Auror Office

One keyword, one quality dimension

The niche inspectors. Each spell checks exactly one dimension of quality — six through the browser, six through the code, two deep, two comparative. The quality familiar routes them all; handover casts them together.

AgentqualityMCPBrowser
AgentqualityMCPBrowser
AgentqualityMCPBrowser
AgentqualityMCPBrowser
AgentqualityMCPBrowser
AgentqualityMCPBrowser
AgentqualityWardrules/authjsWardrules/prisma-6Wardrules/s3
AgentqualityWardrules/next-16
Agentquality
AgentqualityWardrules/next-16Wardrules/react-19
AgentqualityWardrules/tailwind-v4
AgentqualityWardrules/react-perfWardrules/react-19Wardrules/next-16Wardrules/typescript-strictWardrules/tailwind-v4Wardrules/prisma-6Wardrules/authjsWardrules/neonWardrules/s3
AgentqualityMCPBrowser
Agentquality
AgentqualityMCPFigmaMCPBrowser
AgentqualityMCPBrowser

handover /admission/new — twelve inspections, one verdict table.

17.

The Ministry of Magic

Operations and intelligence

The spells that keep the company running and learning — weekly cadence, production watch, incident response, credential vaults, and the intelligence that extracts the org's own patterns from its history.

AgentcaptainSkill/captain
AgentcaptainSkill/weekly
AgentopsMCPVercelSkill/monitor
AgentopsMCPCloudflareSkill/domains
AgentopsMCPSentrySkill/incident
MCPGitHubSkill/issue
Skill/credentials
Skill/health
Skill/sync
AgentlearnSkill/learn
Agentlearn
Agentlearn
Agentlearn
Skill/economy

monitor watches production while weekly plans the week — the Ministry never sleeps.

18.

The Pensieve

Judgment and conversion

Dip into stored wisdom, then act on it. canon pulls the right CEO book into a live decision; decide journals it; premortem stress-tests it; convert distills any file or URL into Markdown. The social lane runs alongside: calendar picks the slot, draft writes it Arabic-first, higgs renders the media, approve gates it, publish delivers it, measure reads the numbers back.

AgentcaptainMemorydocs/CANON.md
AgentcaptainSkill/decide
AgentcaptainSkill/premortem
MCPMarkItDownSkill/convert
Skill/md
Skill/textbookAgenttranscribeAgentadjudicateSkill/md
Skill/textbook
AgenttranscribeSkill/textbook
Skill/mdSkill/textbook
AgentadjudicateSkill/textbook
Skill/textbookAgenttranscribeMemory.claude/memory/textbook-scores.json
Skill/textbook
Skill/textbookAgenttranscribeAgentadjudicateMemory.claude/memory/textbook-scores.json
Skill/textbook
Skill/textbookAgenttranscribeAgentadjudicate
AgentgrowthSkill/calendar
AgentgrowthSkill/draft
MCPHiggsSkill/higgs
Memorycontent/media/library.jsonSkill/higgs
AgentgrowthSkill/approveMCPSlack
AgentgrowthSkill/publish
AgentgrowthSkill/measureMCPPostHog
AgentgrowthSkill/social
AgentgrowthSkill/carouselMCPFigma
Skill/shoot
AgentrecordSkill/recordMCPBrowserHooksession-media-stale
Skill/editSkill/video-use
Skill/editSkill/video-use
Skill/editSkill/video-use
Skill/edit
Skill/edit
Skill/edit
Skill/editSkill/video-use
Skill/editSkill/video-use

"should we build it?" — the Pensieve surfaces The Lean Startup before you finish the sentence.

19.

The Portrait Gallery

The media studio

Hogwarts' portraits are images that live on the walls and answer when spoken to. The gallery holds the format vocabulary of the media studio: say the asset you need and the right lane runs — text-free photography through higgs, text-bearing formats through the carousel template lane (Thmanyah type, brand frame, exact platform sizes) — and everything generated or kept as reference is filed in the showroom at /social/media. The taxonomy lives in src/components/root/social/showroom/taxonomy.ts.

MCPHiggsSkill/higgs
Skill/carousel
Skill/carousel
MCPHiggsSkill/higgs
MCPHiggsSkill/higgs
Skill/carousel
Skill/editMCPHiggsSkill/higgs
Skill/carousel
Skill/carousel
Memorycontent/media/library.jsonSkill/higgs

"hero image for hogwarts" — the frame is empty until you speak; then the portrait paints itself.

20.

The Owlery

Lead acquisition and outreach

Hogwarts' owls carry post out and bring the reply back — which is the whole job here, and the reason this school is named for delivery rather than for discovery. Measured 2026-08-17, the CRM's 3,156 school leads break down as 176 contactable, 13 with a Facebook page, 32 with a website, and 2,935 that are an OpenStreetMap name and a map pin with no online handle at all. So automated enrichment caps at +45 rows and a full scrape run adds +15, while 131 tier-A/B schools are contactable and unworked today. Every spell here makes contact-gap analysis, enrichment and outreach the easy path and raw discovery a deliberate choice someone made out loud. Arabic forms are first-class — half this work is Arabic. Code lives in hogwarts/scripts/crm/ and mkan/scripts/crm/ (canonical); kun holds the routing and none of the scrapers.

AgentleadSkill/scrapeHookscrape-guard
AgentleadSkill/scrape
AgentleadSkill/scrapeMemoryproject_lead_engine
AgentleadSkill/scrapeMemoryreference_crm
AgentleadSkill/scrapeMemoryreference_crm
AgentleadSkill/scrapeMCPChrome DevToolsHookscrape-yield
AgentleadSkill/scrape
AgentleadSkill/scrapeMemoryreference_crm
AgentleadSkill/scrapeMCPChrome DevToolsHookscrape-guard
AgentleadSkill/scrape
AgentleadSkill/scrape
AgentleadSkill/scrape
AgentleadSkill/scrape
AgentleadSkill/scrape
AgentleadSkill/scrape
AgentleadSkill/scrape
AgentleadSkill/scrape
Skill/jobs
Skill/jobs
Skill/jobs

"scrap facebook for hogwarts" — and the owl comes back with thirteen pages, not three thousand. Knowing that before you send it is the spell.

21.

The Floo Network

Conversation to conversion

The Floo Network is the one magical transport where you must say the destination clearly or you arrive somewhere random — which is the entire thesis of this school. The CRM holds 3,156 school leads and has converted none of them, so every number here starts at zero on purpose: 0 funnel sessions, 0 gates instrumented, 0 active paying schools against a Q3 2026 target of 1. Since 2026-08-22 the lane is instrumented: the gates census measured 377 reachable unmessaged schools (222 verified-mobile, 155 email), the chatbot captures typed identifiers (rate-limited, saasMarketing mode only), the outreach workflow is ACTIVE with its cards in private #hogwarts-funnel, and the roll scripts (hogwarts scripts/funnel/) drain a ramped queue. Conversions are still zero. So the work is not building machinery — it is sending, qualifying on the seven questions a sale requires, giving value before asking for money, and never letting a lead go quiet without a smart next touch. The funnel logic is deterministic and costs zero tokens per lead; the LLM only ever drafts follow-up copy in batches on the Max pool. Code lives in hogwarts/ and mkan/; kun holds the routing and none of the funnel.

AgentfunnelSkill/funnelMemoryproject_lead_engine
AgentfunnelSkill/funnel
AgentfunnelSkill/funnel
AgentfunnelSkill/funnelSkill/carousel
AgentfunnelSkill/funnelHookfunnel-guardHookfunnel-yield
AgentfunnelSkill/funnel
AgentfunnelSkill/funnel
AgentfunnelSkill/funnel
AgentfunnelSkill/funnel
AgentfunnelSkill/funnel

"follow up" — and the lead that went quiet three weeks ago gets a guide it has never seen, not a "just checking in". Every touch carries something new, or it does not fire at all.


Mastery Levels

Not all spells are equal. Here is the progression from first-year basics to post-graduate mastery.

First YearThe Basics
devbuildpushfixformatlint

Cast every day. Reflexes, not decisions.

Third YearCreating
componentpageformtablecardmodaltest

Each spell creates something real.

O.W.L.Compound Magic
atomtemplatedeploysecuritydocsmotion

Your spells have structure and ambition.

N.E.W.T.System Magic
blocksaasauthfeaturehandover

One word, dozens of files, complete functionality.

BeyondPerformance Mastery
parallelizewaterfallbundlestreamingdedup

You see invisible chains of latency and break them.


Closing Words

"Words are, in my not-so-humble opinion, our most inexhaustible source of magic." — Albus Dumbledore

The magic is not in the words. It is in knowing which word, at which moment, for which purpose. A wizard who types saas billing without understanding billing will get a system they cannot maintain. A wizard who types deploy without first casting test will send broken magic into the world.

Learn the words. Understand the intent. Then speak.

كن — Be, and it is.