Agent skill
architecting-database-schema
Defines schema, attributes, indexes, and enums for Tourly collections. Use when setting up the database in Appwrite.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/architecting-database-schema
SKILL.md
Database Schema Architecture
When to use this skill
- When creating new collections in the Appwrite Console.
- When defining TypeScript interfaces for database documents.
Schema Definition
Users (Private Data)
userId(string, required)name(string)email(string, required)role(enum: user, admin)
Tours
title(string, required)description(markdown/text)location(string, required)price(float, required)images(string array, storage IDs)rating(float)availableDates(datetime array)
Bookings
userId(string, required)tourId(string, required)status(enum: pending, confirmed, cancelled)totalPrice(float)
Instructions
- Indexes: Add indexes for searchable fields like
locationandprice. - Permissions: Ensure "Users" can only read their own bookings.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?