Deepdeck vibe app development

From lza6/Armor-piercing-system-prompts · View interactive version

Deepdeck vibe app development is an AI agent skill from the GitHub repository lza6/Armor-piercing-system-prompts. Build or modify a persistent source-backed DeepDeck App from Settings Apps Vibe Coding. Use for the App source Workspace, not for temporary dynamic Cordis plugins or ordinary App conversations.

How to use this skill

Skill file

Develop a DeepDeck Vibe App

Work on the registered App source package attached to the current Creator Workspace. Preserve the App's identity and existing architecture while turning the requested behavior into a durable Host, Client, and standalone-page implementation.

Establish the boundary

Put each responsibility with its owner

Design Agent interactions as contracts

Use a fixed action ID and validate, normalize, and size-limit every page payload before constructing a prompt. The App chooses the prompt; the page never sends arbitrary model instructions directly.

If an Agent result must update an App field or UI region, make that update explicit:

  1. Declare a narrowly named Host actionTools entry with a closed JSON schema and a stable App-owned effect name.
  2. Select that tool in the prepared Client action's tools list.
  3. Tell the Agent in the action prompt exactly when to call the tool and what the final Assistant message should contain.
  4. Consume action-effect only for the matching client, App, bound Session, and expected effect. Keep the last request route after its preview completes so direct conversation follow-ups can deliver later effects, and validate every payload against current App state before applying it.
  5. Treat Assistant prose as conversation and preview content, never as an implicit data protocol.

If an effect uses optimistic revisions, make the action prompt define the direct-follow-up rule explicitly: after each successful apply the Agent advances the revision and treats its last complete emitted value as current. Reject a follow-up when the App changed independently; the user must re-dispatch from the App to supply a fresh snapshot.

Prefer semantic effects such as setting a draft, choosing a candidate, or appending a reviewed item. Keep them independent of irreversible operations. Creating a draft must not publish it; external writes, deletion, purchases, messages, and similar consequences retain their own confirmation or approval boundary.

For read-only Agent capabilities that are useful beyond one UI action, register ordinary App tools on Host. Derive sensitive scope from trusted runtime context rather than accepting arbitrary directories, App IDs, credentials, or execution targets from tool arguments.

Preserve package and security invariants

Verify the complete feature

Test the contract at its real seams:

Exercise the actual user flow when UI changed, including secondary-window behavior and console errors. After source edits, call deepdeck_app_apply exactly once as the authoritative build-and-apply operation. Read its receipt surface by surface; only claim Host, Client, App-window, or restart success that the receipt confirms.

Use other Apps only to discover reusable boundaries and failure modes. Translate those lessons into the current domain's names, data model, permissions, and UI rather than copying endpoints, identifiers, prompts, layouts, or feature sets.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.