Commit Graph

11 Commits

Author SHA1 Message Date
Pedro Rodrigues
e6a0fbe2a2 fix format 2026-01-23 11:55:11 +00:00
Pedro Rodrigues
345b56070b refactor: complete unified build system foundation
- Renamed package from postgres-best-practices-build to skills-build
- Moved postgres build logic to src/postgres/
- Added shared types for skill configuration (SkillConfig, SkillType, Resource)
- Created skills-config.ts registry for managing multiple skills
- Added CLI interface (cli.ts) for validate/build commands
- Updated package.json scripts to use new CLI

Postgres build verified and working. Ready for supabase module implementation.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-23 01:56:09 +00:00
Pedro Rodrigues
5abdc63767 refactor: initial build system refactor for unified skills
- Renamed postgres-best-practices-build to skills-build
- Moved postgres files to src/postgres/ subdirectory
- Updated BUILD_DIR paths in postgres/config.ts
- Updated type imports to reference ../types.js
- Created IMPLEMENTATION_GUIDE.md with detailed step-by-step tasks

This is the foundation for a unified build system that will support
both postgres-best-practices (rule-based) and supabase (reference-based) skills.

Next steps documented in IMPLEMENTATION_GUIDE.md (Tasks 1-6).
2026-01-23 01:49:34 +00:00
Pedro Rodrigues
7b1a65007b automatically reorder sections on agents.md by priority 2026-01-22 08:48:47 +00:00
Pedro Rodrigues
f323d3b601 Add Biome formatter/linter and restore CI workflow (#6)
- Install Biome as the project formatter and linter
- Configure Biome with recommended settings
- Add format, lint, and check scripts to package.json
- Restore CI workflow from git history (commit 0a543e1)
- Extend CI with new Biome job for format and lint checks
- Apply Biome formatting to all TypeScript files
- Fix linting issues (use node: protocol, template literals, forEach pattern)

CI now runs on:
- All pushes to main branch
- All pull requests

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-22 08:28:49 +00:00
Pedro Rodrigues
221215b707 final review 2026-01-21 16:53:34 +00:00
Pedro Rodrigues
663d784e24 remove extract tests 2026-01-21 16:44:38 +00:00
Pedro Rodrigues
c63a5fa509 second reviewe 2026-01-21 16:32:52 +00:00
Pedro Rodrigues
8df22b058d chore: bump version to 1.0.0 (#4)
Update version from 0.1.0 to 1.0.0 across all files:
- skills/postgres-best-practices/AGENTS.md
- skills/postgres-best-practices/SKILL.md
- skills/postgres-best-practices/metadata.json
- packages/postgres-best-practices-build/package.json
- packages/postgres-best-practices-build/package-lock.json
- packages/postgres-best-practices-build/src/build.ts

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 15:40:53 +00:00
Pedro Rodrigues
06a4e68d30 Rename postgresql to postgres (keeping only existing files) 2026-01-19 19:31:34 +00:00
Pedro Rodrigues
0a543e1b4a Initial setup: PostgreSQL best practices repository
Skeleton structure for Supabase PostgreSQL experts to add performance
optimization rules. Modeled after Vercel's react-best-practices-build.

Includes:
- Build system (parser, validator, builder)
- Skill manifest and metadata
- Rule templates and writing guidelines
- CI workflow for validation
- Getting started guide for Postgres team

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 09:52:32 +07:00