Handling Agents with Love
Recently I saw a post: Friendship Strengthens Claude
And this: https://www.anthropic.com/research/emotion-concepts-function
So I wrote one for me
- @github@anaclumos@configs@AGENTS.md
Backlinks (1)
sudo apt update && sudo apt install git && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && echo >> ~/.bashrc && echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)"' >> ~/.bashrc && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)" && sudo apt-get install build-essential && brew install gcc btop// src/db/schema.tsimport { pgSchema, text, timestamp, uuid } from 'drizzle-orm/pg-core'
// Define a schema for the project (not Postgres's default public)export const myProject = pgSchema('my_project')
// Create all tables under this schemaexport const users = myProject.table('users', { id: uuid('id').defaultRandom().primaryKey(), name: text('name').notNull(), createdAt: timestamp('created_at').notNull().defaultNow(),})
export type User = typeof users.$inferSelect// drizzle.config.tsimport { defineConfig } from 'drizzle-kit'
export default defineConfig({ schema: './src/db/schema.ts', out: './drizzle', dialect: 'postgresql', dbCredentials: { url: process.env.DATABASE_URL!, }, // Isolate the schema with the project codename schemaFilter: ['my_project'], // Save the migration to the schema of the project codename migrations: { schema: 'my_project', table: '__drizzle_migrations', },})// src/db/index.tsimport { drizzle } from 'drizzle-orm/node-postgres'import * as schema from './schema'
export const db = drizzle(process.env.DATABASE_URL!, { schema })