Przejdź do treści
Biblioteka skilli
AI i agenci · Budowanie i kod

agent-native-architecture

/agent-native-architecture

Projektuje aplikacje natywne dla agentów, w których agenci zastępują użytkowników UI: narzędzia MCP, architektury pętli agenta, prompty systemowe, polityka hooków i wzorce plików we wspólnym workspace.

Repozytorium
ai-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
29
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Projektuje aplikacje natywne dla agentów, w których agenci zastępują użytkowników UI: narzędzia MCP, architektury pętli agenta, prompty systemowe, polityka hooków i wzorce plików we wspólnym workspace.

Oryginalny opis (EN)

Design agent-native applications where agents replace UI users as the primary actor. Use when designing MCP tools, agent-loop architectures, system prompt design, hooks policy, shared-workspace file patterns, or self-modifying agent systems.

Jak działa

  1. Working rules
  2. Core Principles
  3. Focus Area Selection
  4. Reference Routing
  5. Task-specific references
Sekcje z nagłówków SKILL.md, w oryginale · 90 linii, 846 słów
Podgląd SKILL.md
---
name: agent-native-architecture
class: meta
description: >-
  Design agent-native applications where agents replace UI users as the primary
  actor. Use when designing MCP tools, agent-loop architectures, system prompt
  design, hooks policy, shared-workspace file patterns, or self-modifying agent
  systems.
---

# Agent-Native Architecture

## Working rules

- Keep authority, scope, approval, and runtime isolation in trusted orchestration; prompts alone cannot enforce them.
- Provide explicit completion and partial-progress signals, durable state, and observable action results.
- Validate capabilities with real tasks, including failure and interruption paths; do not infer improvement from elapsed usage.
- **Evaluate discovery from original inputs.** Replaying fixed candidates measures classification and cannot reveal candidates a changed search would miss or invent. Compare each discovery variant with a fresh baseline on the same complete inputs in isolation. Independently adjudicate unmatched outputs from the complete result sets, including outputs from clean tasks.
- **Calibrate decision gates per model.** A replacement model's confidence scores do not preserve the previous model's cutoff, even when ranking accuracy improves. Fit thresholds on a separate calibration set. Verify false-positive and false-negative behavior through the production decision path on untouched representative cases.
- Use the selected topic's references and the architecture checklist to produce a concrete design with evidence and unresolved constraints.

## Core Principles

Five principles govern agent-native design. For detailed explanations, examples, and test criteria, see [core-principles.md](./references/core-principles.md).

| Principle | One-line test |
|-----------|--------------|
| **Parity** | Can the agent achieve every outcome the UI allows? |
| **Granularity** | Changing behavior means editing prose, not refactoring code |
| **Composability** | Can a feature be added by writing a new prompt, without new code? |
| **Emergent Capability** | Can the agent handle open-ended requests it wasn't designed for? |
| **Improvement Over Time** | Does the app work better after a month, even without code changes? |


## Focus Area Selection

1. **Design architecture** - Plan a new agent-native system from scratch
2. **Files & workspace** - Use files as the universal interface, shared workspace patterns
3. **Tool design** - Build primitive tools, dynamic capability discovery, CRUD completeness
4. **Domain tools** - Know when to add domain tools vs stay with primitives
5. **Execution patterns** - Completion signals, partial completion, context limits
6. **System prompts** - Define agent behavior in prompts, judgment criteria
7. **Context injection** - Inject runtime app state into agent prompts
8. **Action parity** - Ensure agents can do everything users can do
9. **Self-modification** - Enable agents to safely evolve themselves
10. **Product design** - Progressive disclosure, latent demand, approval patterns
11. **Mobile patterns** - iOS storage, background execution, checkpoint/resume
12. **Testing** - Test agent-native apps for capability and parity
13. **Refactoring** - Make existing code more agent-native
14. **Anti-patterns** - Common mistakes and how to avoid them
15. **Success criteria** - Verify your architecture is agent-native
16. **Hooks patterns** - Hook events, decision control, MCP matchers, async hooks
17. **CLI interface** - Design a CLI that agents invoke: output channels, exit codes, self-description, safety tiers
18. **Approval loop** - Durable human approval for agent-drafted external sends: content binding, single-winner claim, unknown outcomes

Route directly when the request or delegated task identifies the topic. When a material focus remains unresolved, present the relevant options using `AskUserQuestion` in Claude Code (load it with `ToolSearch` if needed), `request_user_input` in Codex, or numbered options in chat when no question tool is available. Wait only for the answer needed to resolve that choice.


## Reference Routing

| Response | Action |
|----------|--------|
| 1, "design", "architecture", "plan" | Read [architecture-patterns.md](./references/architecture-patterns.md), then apply [architecture-review-checklist.md](./references/architecture-review-checklist.md) |
| 2, "files", "workspace", "filesystem" | Read [files-universal-interface.md](./references/files-universal-interface.md) and [shared-workspace-architecture.md](./references/shared-workspace-architecture.md) |
| 3, "tool", "mcp", "primitive", "crud" | Read [mcp-tool-design.md](./references/mcp-tool-design.md) |
| 4, "domain tool", "when to add" | Read [from-primitives-to-domain-tools.md](./references/from-primitives-to-domain-tools.md) |
| 5, "execution", "completion", "loop" | Read [agent-execution-patterns.md](./references/agent-execution-patterns.md) |
| 6, "prompt", "system prompt", "behavior" | Read [system-prompt-design.md](./references/system-prompt-design.md) |
| 7, "context", "inject", "runtime", "dynamic" | Read [dynamic-context-injection.md](./references/dynamic-context-injection.md) |
| 8, "parity", "ui action", "capability map" | Read [action-parity-discipline.md](./references/action-parity-discipline.md) |
| 9, "self-modify", "evolve", "git" | Read [self-modification.md](./references/self-modification.md) |
| 10, "product", "progressive", "approval", "latent demand" | Read [product-implications.md](./references/product-implications.md) |
| 11, "mobile", "ios", "android", "background", "checkpoint" | Read [mobile-patterns.md](./references/mobile-patterns.md) |
| 11a, "icloud", "storage", "documents", "file state", "entitlement" | Read [mobile-storage.md](./references/mobile-storage.md) |
| 11b, "background task", "battery", "on-device", "cloud routing" | Read [mobile-execution.md](./references/mobile-execution.md) |
| 11c, "model tier", "token budget", "cost-aware", "batch", "caching" | Read [mobile-cost.md](./references/mobile-cost.md) |
| 12, "test", "testing", "verify", "validate" | Read [agent-native-testing.md](./references/agent-native-testing.md) |
| 13, "review", "refactor", "existing" | Read [refactoring-to-prompt-native.md](./references/refactoring-to-prompt-native.md) |
| 14, "anti-pattern", "mistake", "wrong" | Read [anti-patterns.md](./references/anti-patterns.md) |
| 15, "success", "criteria", "verify", "checklist" | Read [success-criteria.md](./references/success-criteria.md) |
| 16, "hook", "hooks", "PreToolUse", "decision control", "async hook", "permissionDecision" | Read [hooks-patterns.md](./references/hooks-patterns.md) |
| 17, "cli", "command line", "stdout", "exit code", "--format", "--dry-run" | Read [cli-agent-interface.md](./references/cli-agent-interface.md) |
| 18, "approval", "approve before send", "outbound", "ledger", "double-send" | Read [operator-approval-loop.md](./references/operator-approval-loop.md) |
| 0, "quick start", "getting started", "overview", "introduction" | Read [quick-start.md](./references/quick-start.md) |

**After reading the reference, apply those patterns to the user's specific context.**


## Task-specific references

Read the relevant reference before implementing or reviewing the matching behavior:

- Before implementing an agent-native architecture, address every applicable architecture checklist item: [architecture-review-checklist.md](./references/architecture-review-checklist.md).

Existing specialized references, when the corresponding topic applies:

- [durability-and-attestation.md](./references/durability-and-attestation.md).
- For controlled evaluations of hooks, skills, or prompt rules, read [intervention-evaluation.md](./references/intervention-evaluation.md).
Pliki w paczce (29)
  • SKILL.md 8 KB
  • SPEC.md 5 KB
  • references/action-parity-discipline.md 13 KB
  • references/agent-execution-patterns.md 21 KB
  • references/agent-native-testing.md 24 KB
  • references/anti-patterns.md 5 KB
  • references/architecture-patterns.md 20 KB
  • references/architecture-review-checklist.md 7 KB
  • references/cli-agent-interface.md 4 KB
  • references/core-principles.md 4 KB
  • references/durability-and-attestation.md 4 KB
  • references/dynamic-context-injection.md 16 KB
  • references/files-universal-interface.md 11 KB
  • references/from-primitives-to-domain-tools.md 12 KB
  • references/hooks-patterns.md 21 KB
  • references/intervention-evaluation.md 3 KB
  • references/mcp-tool-design.md 34 KB
  • references/mobile-cost.md 10 KB
  • references/mobile-execution.md 8 KB
  • references/mobile-patterns.md 10 KB
  • references/mobile-storage.md 8 KB
  • references/operator-approval-loop.md 3 KB
  • references/product-implications.md 13 KB
  • references/quick-start.md 1 KB
  • references/refactoring-to-prompt-native.md 9 KB
  • references/self-modification.md 11 KB
  • references/shared-workspace-architecture.md 21 KB
  • references/success-criteria.md 2 KB
  • references/system-prompt-design.md 8 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · iliaal/ai-skills100MIT
marcusrbrown/systematic100MIT
jikig-ai/soleur100Apache-2.0
davekilleen/Dex100MIT
aimi-so/aimi-engineering-plugin100MIT
all-the-vibes/atv-starterkit100MIT
jerrylalala/compound-engineering100MIT
roberto-mello/lavra100MIT

Migawka bazy z 13.11.2026 · wersja paczki 79f719d97369 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90Agent Design Architecture
    Projektuje architekturę systemów agentów AI: wzorce pętli, zdolności, narzędzia i role w systemach wieloagentowych.
  • 95ai-agent-architectures
    Projektuje architekturę pojedynczego agenta AI: pętlę działania, narzędzia, pamięć, planowanie i ewaluację.
  • 100domain-agentic-context
    Pomaga projektować agentów AI: prompty systemowe, definicje narzędzi, architekturę kontekstu, plany błędów i koordynację wielu agentów.
  • 100build-agents
    Dostarcza domyślne wskazówki budowy agentów AI: aplikacje agentów, agenci wywołujący narzędzia, agenci trwałe, systemy wieloagentowe i agenci zaplanowani.
  • 100agent-designer
    Projektuje architektury systemów wielu agentów: wzorce orkiestracji, schematy narzędzi i ocenę wydajności agentów.
  • 100agent-designer
    Pomaga projektować systemy wieloagentowe, architektury agentów, wzorce komunikacji między agentami i autonomiczne przepływy pracy.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.