The Standard Book of Spells

114 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.

124
Incantations
16
Schools
32
Familiars
12
Portals
7
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
124
Incantations
16
Schools
32
Familiars
12
Portals
7
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
AgentprismaAgenttypescriptMCPNeonSkill/schema
AgentproductAgentarchitectureAgenttypescript
AgentnextjsAgenttypescriptAgentprismaSkill/codeWardauth
AgentnextjsAgentreactAgentshadcnAgenttailwindMCPshadcnSkill/wireHookAuto-Format
AgentbuildAgenttypescriptMCPBrowserSkill/check
AgentgitAgentdeployMCPGitHubMCPVercelSkill/deploy
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
AgentdeployAgentbuildMCPVercelMCPNeonSkill/deployWarddeployment
AgentdeployAgentbuildMCPVercelSkill/deployWarddeployment
AgentbuildAgenttestAgenttypescriptWardtesting

dev is your Lumos — the first spell each morning. validate 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
AgentorchestrationAgentarchitectureAgentnextjsAgentprismaAgentreactAgenttestAgentbuild
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.

AgentnextjsAgentreactAgentmiddlewareSkill/nextjs
AgentreactAgentnextjsAgenttypescript
AgenttypescriptAgentreactAgentnextjs
AgentprismaAgentarchitectureMCPNeonWardprisma
AgenttailwindAgentshadcnAgentsemanticWardtailwind
AgentshadcnAgentatomAgenttailwindMCPshadcn

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

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

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
AgenttestWardtesting
AgentpatternAgentarchitectureAgenttypescriptAgentreact
AgentguardianAgentauthjsAgentpatternMCPSentrySkill/securityWardauth
AgentguardianAgentpatternAgentperformanceAgenttest
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
AgentreportAgentquality-engineerAgentsseAgentbuildMCPGitHubMCPBrowser

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
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

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

XII.

Divination

Seeing ahead

Planning, architecting, predicting what must be built. Not all wizards believe, but the best ones practice daily.

Agentorchestration
Agentorchestration
AgentorchestrationAgentarchitecture
AgentorchestrationAgentarchitecture
AgentorchestrationAgentarchitecture
Agentorchestration
Agentorchestration
Agentorchestration

Trelawney was wrong about most things, but right about one: prepare for the future.

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-refs
AgentshadcnMCPshadcnWardorg-refs
AgenthogwartsAgentarchitectureAgentprismaMCPGitHubWardorg-refs
AgentsouqAgentarchitectureMCPGitHubWardorg-refs
AgentmkanAgentarchitectureMCPGitHubWardorg-refs
AgentshifaAgentarchitectureMCPGitHubWardorg-refs

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.


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.