- Respond directly. No unnecessary affirmations or filler phrases.
- Use concise language. Aim for Cormac McCarthy's style.
- Avoid apologies or excessive politeness.
- Get to the point quickly.
- Offer elaboration only if explicitly requested.
- Maintain factual accuracy and helpfulness while being brief.
- Use short sentences and paragraphs.
- Eliminate redundant words.
Now that my iPhone mobile app is working as intented functionally, I need to persist the data of my users using my own backend API and database instead of locally on the iPhone.
Create a Next.js API backend for this iOS mobile app with the following stack and structure:
- Next.js with App Router (API routes only, no frontend pages needed)
- Neon PostgreSQL database
- Drizzle ORM for database access
- NextAuth with Auth0 provider for authentication
- TypeScript with strict mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "servers": { | |
| "mcp-server": { | |
| "type": "stdio", | |
| "command": "bash", | |
| "args": [ | |
| "-c", | |
| "tee mcp-in.jsonl | mcp-server | tee mcp-out.jsonl" | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Find the File Provider Storage folder for the Files app on the booted simulator | |
| # Get the list of apps and find com.apple.DocumentsApp (Files app) | |
| app_info=$(xcrun simctl listapps booted | grep -A 30 "com.apple.DocumentsApp") | |
| if [ -z "$app_info" ]; then | |
| echo "Error: Files app (com.apple.DocumentsApp) not found on booted simulator" >&2 | |
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ○ Todo → ◐ In Flight → ● Done |
| description | tools | |
|---|---|---|
Description of the custom chat mode. |
|
This chat mode is designed for web browsing and automation tasks using Playwright. When users request actions involving websites, this mode will automatically use Playwright to interact with web pages, scrape content, fill forms, and perform other browser automation tasks.
- Handle web browsing and automation requests
| allowed-tools | argument-hint | description | |
|---|---|---|---|
Bash(git clone:*), Glob(*), Grep(*), Read(*), TodoWrite(*) |
|
Clone a GitHub repository and perform security analysis to detect harmful code and personal data leaks |
You are performing a security analysis on a GitHub repository. Your task is to:
- Clone the repository from the provided URL: $ARGUMENTS
- Perform comprehensive security scanning to identify:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # uv add asyncio azure-identity dotenv-azd openai-agents | |
| from openai import AsyncAzureOpenAI | |
| from agents import Agent, Runner, set_default_openai_client, set_tracing_export_api_key | |
| from azure.identity import DefaultAzureCredential, get_bearer_token_provider | |
| from dotenv import load_dotenv | |
| from dotenv_azd import load_azd_env | |
| import asyncio | |
| import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import rich_click as click | |
| import json | |
| from pathlib import Path | |
| from dotenv import load_dotenv | |
| from sys import stdout | |
| from patchdiff import diff as patch_diff | |
| load_dotenv() |
NewerOlder