<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
jadecli/jadecli-kw-plugins/primitives
──Details
PublishedOctober 24, 2026 at 04:27 AM
Content Hashsha256:4b3fa37894a09264...
Git SHAd50867ba3c3d
──Files
Files (1 file, 4.1 KB)
SKILL.md4.1 KBactive
SKILL.md · 88 lines · 4.1 KB

version: "1.0.0" name: primitives description: Fundamental building blocks available to all knowledge workers. Tools, protocols, patterns, and infrastructure components. argument-hint: "<list|describe|check> [primitive-name]"


Primitives — Building Blocks

Tooling Primitives

PrimitiveTypePurpose
Claude Agent SDKSDKProgrammatic Claude Code (Python, TypeScript, CLI -p)
MCP (Model Context Protocol)ProtocolTool and resource interfaces for backend integration
Hooks (Pre/PostToolUse)EnforcementIntercept tool calls for compliance, normalization, gating
Skills (SKILL.md)KnowledgeOn-demand domain knowledge loaded by model when relevant
Commands (.claude/commands/)WorkflowUser-invoked slash commands for structured workflows
Agents (.claude/agents/)RoleSpecialized agent definitions with model, tools, system prompt
Plugins (.claude-plugin/)DistributionShareable packages of skills, agents, hooks, MCP configs
CLAUDE.mdMemoryProject instructions loaded at session start
.claude/rules/StandardsPath-scoped rules loaded conditionally via glob patterns

Infrastructure Primitives

PrimitiveServiceRole in jadecli
SupabasePostgreSQL + Auth + Edge FunctionsData layer — OTel events, Cube.js models, app data
NetlifyCDN + Edge + FunctionsHosts jadecli.com, edge functions, forms
LinearProject managementTask tracking, sprints, product roadmap
GitHub ActionsCI/CDAutomated review, test, deploy pipelines
SlackTeam communication@Claude mentions → Claude Code web sessions
OTel CollectorTelemetryMetrics + events → Supabase
Cube.jsSemantic layerPre-aggregations, measures, dimensions on Supabase
Tree-sitterAST parsingL1-L4 codebase index for semantic search

Communication Primitives

PrimitiveTriggerRuns on
DispatchMobile app messageYour machine (Desktop)
Remote Controlclaude.ai/code or mobileYour machine (CLI/VS Code)
ChannelsTelegram, Discord, iMessage, webhookYour machine (CLI)
Slack@Claude in channelAnthropic cloud
Scheduled TasksCron / /loopCLI, Desktop, or cloud

Architecture Patterns (from Playbook)

PatternAnti-PatternFix
Granular toolsMonolithic toolSplit into single-purpose tools with clear descriptions
Resilient catch-all schemasFragile enum expansionAdd "other" + detail field
Directed explorationSequential file readingGrep → pinpoint → Read
Scratchpad fileRaw message history bloatStructured findings file for long sessions
fork_session branchingMixed context A/BSeparate branches for divergent exploration
Tool context pruningVerbose tool resultsApplication-side filter before context
Zero-tolerance hooksEmphatic prompt compliancePreToolUse hooks block policy violations
Schema redundancyTrust extracted totalscalculated_total + stated_total, flag mismatch
Session compressionFull verbatim historySummarize resolved → verbatim only for active issue

3-Layer Architecture (from Playbook)

Layer 3: Validation, Aggregation & Delivery
├── PostProcessing, ResponseComposer
├── Schema validation, dedup, ranking
└── Final output to user/system
Layer 2: Multi-Agent Orchestration & Generation
├── Agent CodeGenerator, Agent DataAnalyzer
├── OrchestrationScheduler, Agent Communication
└── Coordinator → subagent delegation → synthesis
Layer 1: Ingestion & Routing
├── QueryRouter, IntentClassifier
├── InputHandling, SafetyCheck
└── Route to appropriate agent/tool pipeline

Constraint Hierarchy (from Playbook)

Latency → mitigated by parallelization & caching
Accuracy → mitigated by structured intermediates & few-shot prompts
Cost → mitigated by batch APIs & context pruning
Compliance → enforced by application-layer intercepts (NOT prompts)
All versions