plugins/core/skills/agent-native-architecture/SKILL.md
This skill should be used when building AI agents using prompt-native architecture where features are defined in prompts, not code. It covers creating autonomous agents, designing MCP servers, implementing self-modifying systems, and adopting the "trust the agent's intelligence" philosophy.
npx skillsauth add rbozydar/rbw-claude-code agent-native-architectureInstall 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.
<essential_principles>
Agent native engineering inverts traditional software architecture. Instead of writing code that the agent executes, define outcomes in prompts and let the agent figure out HOW to achieve them.
Whatever the user can do, the agent can do.
Avoid artificially limiting the agent. If a user can read files, write code, browse the web, deploy an app -- the agent should be able to do those things too.
Each feature is a prompt that defines an outcome and gives the agent the tools it needs.
Traditional: Feature = function in codebase that agent calls Prompt-native: Feature = prompt defining desired outcome + primitive tools
Tools should be primitives that enable capability. The prompt defines what to do with that capability.
Wrong: generate_dashboard(data, layout, filters) -- agent executes a predefined workflow
Right: read_file, write_file, list_files -- agent figures out how to build a dashboard
</essential_principles>
<intake>What aspect of agent native architecture is needed?
Wait for response before proceeding.
</intake> <routing>| Response | Action | |----------|--------| | 1, "design", "architecture" | Read architecture-patterns.md, apply Architecture Checklist | | 2, "tool", "mcp", "primitive" | Read mcp-tool-design.md | | 3, "prompt", "system prompt" | Read system-prompt-design.md | | 4, "self-modify", "evolve" | Read self-modification.md | | 5, "review", "refactor" | Read refactoring-to-prompt-native.md | | 6, "context", "inject" | Read dynamic-context-injection.md | | 7, "parity", "capability" | Read action-parity-discipline.md | | 8, "workspace", "shared" | Read shared-workspace-architecture.md | | 9, "test", "testing" | Read agent-native-testing.md | | 10, "mobile", "ios" | Read mobile-patterns.md |
After reading the reference, apply those patterns to the specific context.
</routing><architecture_checklist>
When designing an agent-native system, verify before implementation:
z.string() not z.enum() when API validates)refresh_context tool exists)</architecture_checklist>
<anti_patterns>
| Anti-Pattern | Problem | Fix | Reference |
|---|---|---|---|
| Cardinal Sin | Agent executes predefined workflow code instead of figuring things out | Define outcomes in prompts, provide primitive tools | architecture-patterns.md |
| Context Starvation | Agent doesn't know what resources exist | Inject available resources into system prompt at runtime | dynamic-context-injection.md |
| Orphan Features | UI action with no agent equivalent | Add tool + document in system prompt for every UI action | action-parity-discipline.md |
| Sandbox Isolation | Agent works in separate data space from user | Use shared workspace | shared-workspace-architecture.md |
| Silent Actions | Agent changes state but UI doesn't update | Use shared data stores with reactive binding | architecture-patterns.md |
| Capability Hiding | Users can't discover what agents can do | Include capability hints, provide onboarding | action-parity-discipline.md |
| Static Tool Mapping | Individual tools for each API endpoint | Use Dynamic Capability Discovery (list_* + generic access tool) | mcp-tool-design.md |
| Incomplete CRUD | Agent can create but not update/delete | Every entity needs all four CRUD operations | mcp-tool-design.md |
See the referenced files for detailed examples and solutions.
</anti_patterns>
<reference_index>
All in references/:
Core Patterns:
Agent-Native Disciplines:
</reference_index>
<success_criteria>
A prompt-native agent is complete when:
</success_criteria>
development
This skill should be loaded when writing, reviewing, or refactoring Python code to apply strict coding standards directly in the current context without spawning a subagent. It provides comprehensive Python development standards covering SOLID principles, asyncio patterns, type hints, testing, and production-quality code.
tools
This skill should be used when invoking the Gemini CLI for code review, plan review, or any prompt-based task. It provides correct invocation patterns emphasizing stdin piping and @ syntax over shell variable gymnastics.
development
Use this skill when writing, reviewing, or debugging Quickshell configurations (QML files for desktop shell UI on Wayland/Hyprland). Triggers on: QML files with Quickshell imports, shell.qml entry points, PanelWindow or FloatingWindow usage, Quickshell service integration (PipeWire, MPRIS, notifications, Hyprland IPC), Wayland layer-shell or session-lock code, custom bar/panel/widget/dock/OSD/lockscreen/launcher development, or any question about building a desktop shell with Quickshell on Hyprland.
development
This skill should be used when thorough, multi-perspective research with citations is needed. It performs comprehensive research using a diffusion research loop with domain specialization, supporting general web research and specialized domains (geopolitical with GDELT). Auto-detects domain from query or accepts an explicit --domain flag.