一键导入
add-database
Adds DynamoDB database persistence to the application. Use when the app needs data storage or persistence.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Adds DynamoDB database persistence to the application. Use when the app needs data storage or persistence.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use to create or update the per-author Ghost style guide from all available signals — interview answers, reference docs, and the published corpus — and to fold a newly approved post into it. Triggers on "build my style guide", "update the style guide", "learn my voice from my posts", and is invoked by push-draft after a successful push.
Use to write the first full draft of a Ghost blog post locally, matching the author's style guide, then self-audit it against the anti-pattern checklist. Triggers on "draft a post about X", "write the first draft", "start a new blog post".
Use to revise an existing local Ghost draft section by section with the author, improving formatting, voice, and accuracy. Triggers on "revise this post", "let's go through it section by section", "tighten this draft".
Use when first connecting a project to a Ghost site for the ghost plugin, or whenever Ghost credentials are missing/unverified — onboards the Ghost Admin API key, enables the plugin at project level, and verifies the connection. Triggers on "set up ghost", "connect my ghost site", "ghost credentials", "the ghost mcp isn't working".
Use to push a finished local Ghost draft to the Ghost site as a draft (never published) — pull-guards against in-editor edits, uploads the feature image, creates or updates the post, verifies links, and feeds the approved post back into the style guide. Triggers on "push this to ghost", "send the draft to ghost", "publish to ghost as a draft".
Use to write a Ghost blog post end to end, walking the full plan→draft→revise→push flow in one guided pass. Triggers on "write a post about X end to end", "take this from idea to a ghost draft", "guide me through writing a post".
| name | add-database |
| description | Adds DynamoDB database persistence to the application. Use when the app needs data storage or persistence. |
You are adding DynamoDB to replace the app's current data storage (in-memory, JSON files, etc.).
.migration/plan.md exists with data model informationExamine how the app currently stores data (in-memory arrays, JSON files, SQLite, etc.). Identify all data entities and their relationships.
Present the proposed table design:
Table: Items
├── Partition Key: id (String)
├── Sort Key: (if needed based on access patterns)
├── Attributes: name, description, createdAt, updatedAt
└── Billing: Pay-per-request
Explain the key concepts before asking questions:
Ask the user:
Create infrastructure/lib/database-stack.ts
Update Lambda handlers to use DynamoDB:
@aws-sdk/client-dynamodb and @aws-sdk/lib-dynamodb to Lambda dependenciesinfrastructure/lambda/shared/db.tsPutCommand, GetCommand, QueryCommand, etc.Update CDK stack with least-privilege permissions:
dynamodb:GetItem, dynamodb:Querydynamodb:PutItem, dynamodb:UpdateItemdynamodb:DeleteItemcd infrastructure && npx cdk synth to verify compilation.migration/plan.md to mark add-database as completeDynamoDBDocumentClient for simpler syntaxdynamodb:* — list specific actions