记忆

Create Agent App

试用

Create or refactor production-grade TypeScript agent applications. Use when the user asks Codex to generate, scaffold, restructure, or harden a TypeScript agent app, including CLI agents, web agent apps, API services, internal tools, multi-agent harnesses, workflow-first systems, model provider wiri

它能做什么

Create or refactor production-grade TypeScript agent applications. Use when the user asks Codex to generate, scaffold, restructure, or harden a TypeScript agent app, including CLI agents, web agent apps, API services, internal tools, multi-agent harnesses, workflow-first systems, model provider wiring, tool registries, memory/state stores, safety policies, and validation gates.

技能文档

Create Agent App

Use this skill to turn a user request into a real TypeScript agent application base. Its purpose is to prevent toy demos and false validation claims.

Required Flow

  1. Read references/grill-questions.md.
  2. Ask enough questions to produce an Agent App Brief. Do not scaffold yet.
  3. Read the reference files that match the brief:
    • references/architecture-patterns.md for app and harness shape.
    • references/provider-patterns.md for model/provider wiring.
    • references/harness-contract.md for module boundaries and artifacts.
    • references/safety-policy.md for tools, approvals, credentials, and destructive actions.
    • references/validation-policy.md for verification requirements.
    • references/official-docs.md before coding against SDK or framework APIs.
    • references/modern-selection-policy.md before recommending "advanced" TypeScript, runtime, or agent-harness choices.
    • references/industry-architecture-signals.md when evaluating production architecture, observability, governance, scaling, or agent orchestration patterns.
    • references/generation-contract.md before implementing files.
  4. Present the Agent App Brief plus 2-3 architecture candidates with concrete tradeoffs.
  5. Present a brief-to-file mapping for the selected candidate: each major module must trace to a user requirement or safety/validation requirement.
  6. Require explicit user confirmation of one candidate before editing files.
  7. Generate or refactor the project with scoped, reviewable changes.
  8. Run the agreed validation commands. Report the exact commands and real outcomes.

Decision Gate

Do not create files, install packages, or scaffold until the user confirms:

  • application type
  • agent harness type
  • runtime boundary and tool permissions
  • model/provider pattern
  • state and memory strategy
  • safety policy
  • validation standard

If the user explicitly says to use sensible defaults, still show the defaults and ask for confirmation before code generation.

Non-Negotiable Rules

  • Do not use silent fallback. If a provider, model, network call, tool, or permission fails, report the real failure and stop or ask for direction.
  • Do not claim success for checks that were not run.
  • Do not treat mocks, fake providers, or test doubles as implementation.
  • Do not generate a chat box plus fake tool and call it an agent application.
  • Do not write real credentials into source files. Use .env.example for variable names only.
  • Do not enable destructive shell, delete, write, database mutation, browser automation, or external API mutation tools without an approval gate.
  • Do not hide missing API keys. Mark live LLM validation as not run when credentials are unavailable.
  • Keep process.env access centralized in src/config/env.ts and validate with zod.
  • For current SDK or framework APIs, verify against official documentation before coding when the details may have changed.
  • Do not stop at a partial demo. If the confirmed scope cannot be implemented, report the blocker instead of producing a decorative scaffold.
  • Do not add "advanced" frameworks, agents, memory, queues, databases, or dashboards unless the brief justifies them.
  • Treat "advanced" as current, official, typed, testable, observable, maintainable, and fit-for-purpose. Do not treat complexity as advanced.

Expected Output

When generation is complete, return:

  • chosen architecture and why it was selected
  • changed files
  • validation commands and outcomes
  • live LLM smoke status
  • remaining risks and next repair steps

相关技能

Build or modernize TypeScript CLIs for AI agents with @renxqoo/agent-cli-sdk. Use when a user wants a new command-line tool, an API or internal service wrapped as a CLI, or an existing agent-cli-sdk app extended with authentication, structured output, typed errors, pagination, pipes, Skill distribut

1 次安装

Allows the AI agent to independently register, login, and authenticate using Firebase.

Generate reusable multi-step agent workflow blueprints. Use for trigger/action orchestration, deterministic workflow definitions, and automation handoff arti...

18 次安装

Create or update the correct agent instruction file for the active coding assistant, then initialize a software project according to that file. Use when the user asks to initialize a new or existing repository, bootstrap project structure, create agent instructions, set coding rules, generate setup

4 次安装

产出可复用的工作流蓝图,包含触发器、步骤、依赖关系和可导出产物。

366 次安装11 星标

Genesis constitution and scaffold generator for creating a new self-evolving agent. Use when the user asks to create, birth, or scaffold a new agent (e.g. via $genesis-ouroboros followed by agent requirements; Chinese triggers include 创建/孵化/脚手架一个新 agent), especially setups where AGENTS.md/CLAUDE.md serve as a constitution, skills act as evolving pipeline stations, experience is distilled after every interaction, and mature workflows crystallize into scripts.