Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .agents/skills/convex-create-component/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
interface:
display_name: "Convex Create Component"
short_description: "Design and build reusable Convex components with clear boundaries."
icon_small: "./assets/icon.svg"
icon_large: "./assets/icon.svg"
brand_color: "#14B8A6"
default_prompt: "Help me create a Convex component for this feature. First check that a component is actually justified, then design the tables, API surface, and app-facing wrappers before implementing it."

policy:
allow_implicit_invocation: true
10 changes: 10 additions & 0 deletions .agents/skills/convex-migration-helper/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
interface:
display_name: "Convex Migration Helper"
short_description: "Plan and run safe Convex schema and data migrations."
icon_small: "./assets/icon.svg"
icon_large: "./assets/icon.svg"
brand_color: "#8B5CF6"
default_prompt: "Help me plan and execute this Convex migration safely. Start by identifying the schema change, the existing data shape, and the widen-migrate-narrow path before making edits."

policy:
allow_implicit_invocation: true
10 changes: 10 additions & 0 deletions .agents/skills/convex-performance-audit/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
interface:
display_name: "Convex Performance Audit"
short_description: "Audit slow Convex reads, subscriptions, OCC conflicts, and limits."
icon_small: "./assets/icon.svg"
icon_large: "./assets/icon.svg"
brand_color: "#EF4444"
default_prompt: "Audit this Convex app for performance issues. Start with the strongest signal available, identify the problem class, and suggest the smallest high-impact fix before proposing bigger structural changes."

policy:
allow_implicit_invocation: true
10 changes: 10 additions & 0 deletions .agents/skills/convex-quickstart/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
interface:
display_name: "Convex Quickstart"
short_description: "Start a new Convex app or add Convex to an existing frontend."
icon_small: "./assets/icon.svg"
icon_large: "./assets/icon.svg"
brand_color: "#F97316"
default_prompt: "Set up Convex for this project as fast as possible. First decide whether this is a new app or an existing app, then scaffold or integrate Convex and verify the setup works."

policy:
allow_implicit_invocation: true
10 changes: 10 additions & 0 deletions .agents/skills/convex-setup-auth/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
interface:
display_name: "Convex Setup Auth"
short_description: "Set up Convex auth, user identity mapping, and access control."
icon_small: "./assets/icon.svg"
icon_large: "./assets/icon.svg"
brand_color: "#2563EB"
default_prompt: "Set up authentication for this Convex app. Figure out the provider first, then wire up the user model, identity mapping, and access control with the smallest solid implementation."

policy:
allow_implicit_invocation: true
7 changes: 6 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKSPACE_PATH='./workspace' # default local workspace path for tools that write

BETTER_AUTH_URL='http://localhost:3000' # Base App URL
NEXT_PUBLIC_BETTER_AUTH_URL='http://localhost:3000' # Browser-side Better Auth base URL
BETTER_AUTH_SECRET='KQh7DvS4PtsNqJ1PZSoYheGOo1k13SUZqUBwNazc28U=' # openssl rand -base64 32 <--- run this to make ur own
BETTER_AUTH_SECRET='your_better_auth_secret_here' # Generate a new secret locally with: openssl rand -base64 32
DEV_AUTH_ENABLED=true # Set to false to disable authentication in development (not recommended, but can be useful for quick testing)
# Next.js + Mastra Client SDK
NEXT_PUBLIC_MASTRA_API_URL='http://localhost:4111'
Expand All @@ -29,6 +29,11 @@ DISCORD_PUBLIC_KEY='your_discord_public_key_here'
DISCORD_CLIENT_ID='your_discord_client_id_here'
DISCORD_SECRET_KEY='your_discord_secret_key_here'
DISCORD_WEBHOOK_URL='your_discord_webhook_url_here'
DISCORD_APPLICATION_ID='your_discord_application_id_here'

# Moltbook API key for axios-backed Moltbook tools
MOLTBOOK_API_KEY='your_moltbook_api_key_here'

GOOGLE_CLIENT_ID="******************-**********************.apps.googleusercontent.com"
NEXT_PUBLIC_GOOGLE_CLIENT_ID="******************-**********************.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET="fake_google_client_secret_for_local_dev"
Expand Down
7 changes: 7 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- convex-ai-start -->
This project uses [Convex](https://convex.dev) as its backend.

When working on Convex code, **always read `convex/_generated/ai/guidelines.md` first** for important guidelines on how to correctly use Convex APIs and patterns. The file contains rules that override what you may have learned about Convex from training data.

Convex agent skills for common tasks can be installed by running `npx convex ai-files install`.
<!-- convex-ai-end -->
14 changes: 14 additions & 0 deletions convex/_generated/ai/ai-files.state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"guidelinesHash": "62d72acb9afcc18f658d88dd772f34b5b1da5fa60ef0402e57a784d97c458e57",
"agentsMdSectionHash": "bbf30bd25ceea0aefd279d62e1cb2b4c207fcb712b69adf26f3d02b296ffc7b2",
"claudeMdHash": "bbf30bd25ceea0aefd279d62e1cb2b4c207fcb712b69adf26f3d02b296ffc7b2",
"agentSkillsSha": "231a67aa8a5b29cc2794cbc8298335a71aaa6d0e",
"installedSkillNames": [
"convex",
"convex-create-component",
"convex-migration-helper",
"convex-performance-audit",
"convex-quickstart",
"convex-setup-auth"
]
}
Loading
Loading