- Shift + tab + tab
- Use “opus” for planning and Sonnet for everything else, /model
Powered by composio this MCP.json provides detailed information on Model Context Protocol (MCP) integration capabilities and enables seamless agent workflows by connecting to more than 80 servers.
It covers development, AI, data management, productivity, cloud storage, e-commerce, finance, communication, and design. Each server offers specialized tools, allowing agents to securely access, automate, and manage external services through a unified and modular system. This approach supports building dynamic, scalable, and intelligent workflows with minimal setup and maximum flexibility.
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
| @cursor-tasks.md Go through each story and task in the cursor-tasks.md file. Find the next story to work on. Review each unfinished task, correct any issues or ask for clarifications (only if absolutely needed!). Then proceed to create or edit files to complete each task. After you complete all the tasks in the story, update the file to check off any completed tasks. Run builds and commits after each story. Run all safe commands without asking for approval. Continue with each task until you have finished the story, then stop and wait for me to review. |
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
| Deno.bench("Deno, Bun, Node.js TypeScript Benchmarks", async (b) => { | |
| // Open a file that we will act upon. | |
| // using file = await Deno.open("a_big_data_file.txt"); | |
| // Tell the benchmarking tool that this is the only section you want | |
| // to measure. | |
| b.start(); | |
| // Now let's measure how long it takes to read all of the data from the file. | |
| // await new Response(file.readable).arrayBuffer(); |
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
| -- Query the API directly and flatten the nested JSON structure | |
| WITH raw_data AS ( | |
| SELECT * FROM read_json_auto('https://public.api.bsky.app/xrpc/app.bsky.feed.getAuthorFeed?actor=did:plc:edglm4muiyzty2snc55ysuqx&limit=10') | |
| ), | |
| unnested_feed AS ( | |
| SELECT unnest(feed) as post_data FROM raw_data | |
| ) | |
| SELECT | |
| -- Post basics | |
| post_data.post.uri as post_uri, |
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
| import { getZodConstraint, parseWithZod } from "@conform-to/zod" | |
| import type { HTMLAttributes } from "astro/types" | |
| import { ZodAny, z, type ZodIssue } from "zod" | |
| export type Constraint = ReturnType<typeof getZodConstraint>[0] | |
| export type FieldAttributes = { | |
| name: string | |
| value: string | |
| type: NonNullable<HTMLAttributes<"input">["type"]> | |
| } & Partial<Record<Lowercase<keyof Constraint>, any>> |
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
| "use client"; | |
| import { useEffect } from 'react'; | |
| // Note: Logout works with a direct link to NextAuth's unbranded /api/auth/signout | |
| // however signOut does not appear to work consistently (e.g. doesn't clear session) and may cause redirect loops | |
| async function fetchCsrfToken() { | |
| const response = await fetch('/api/auth/csrf'); | |
| const data = await response.json(); |
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
| import json | |
| import os | |
| import duckdb | |
| import boto3 | |
| import datetime | |
| from typing import Any, Dict | |
| def construct_prepared_sql_and_params(sql_template, bind_params): | |
| single_value_params = {k: v for k, v in bind_params.items() if not isinstance(v, list)} |
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
| import {Config, EventBus, EventBusRuleProps, Queue, Stack, StackContext, Table} from "@serverless-stack/resources"; | |
| const snakeToCamel = (s: string) => s.replace(/(_\w)/g, k => k[1].toUpperCase()); | |
| const addBusinessRule = (stack: Stack, bus: EventBus, dlq: Queue, eventType: string) => { | |
| const ruleKey = eventType.replace(".", "_"); | |
| const queueName = `${ruleKey}_queue`; | |
| const handlerLambda = `functions/events/${snakeToCamel(ruleKey)}/handler.main`; | |
| const rules: Record<string, EventBusRuleProps> = {}; |
NewerOlder