Commit Graph

91 Commits

Author SHA1 Message Date
Leon van Zyl
6b4c6f6222 clear the specs folder 2025-12-04 11:20:45 +02:00
Leon van Zyl
732744802a refactor: change GitHub workflow from task-level to phase-level issues
Update the feature workflow commands to create GitHub issues per phase
instead of per individual task. This reduces issue clutter while still
maintaining granular task tracking via checklists within phase issues.

Key changes:

**publish-to-github.md:**
- Create phase issues instead of individual task issues
- Each phase issue contains the full task checklist from implementation plan
- Add support for `[complex]` marker to break out complex tasks as separate issues
- Update Epic to link to phase issues instead of tasks
- Update github.md template to show phases and optional complex task issues

**create-feature.md:**
- Add documentation for `[complex]` task marker
- Update implementation plan format example with nested sub-tasks
- Add "When to Use [complex]" guidance section

**continue-feature.md:**
- Rewrite workflow to work with phase issues instead of task issues
- Add logic to identify current phase and find unchecked tasks
- Support both phase issue tasks and complex task issues
- Add step to update phase issue checklist after completing tasks
- Update completion reporting for phase-based progress
- Renumber steps (8.x → 7.x) for consistency

**Hybrid approach:**
- Default: one issue per phase with task checklists
- Optional: break out tasks marked `[complex]` or with nested sub-tasks
- Complex task issues link back to parent phase issue

This change results in ~5 issues (1 epic + 4 phases) instead of ~47 issues
for a typical feature, significantly reducing GitHub issue noise.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 14:23:35 +02:00
Leon van Zyl
9332df2253 feat: add action-required.md to /create-feature command
Extends the /create-feature command to generate a third file that
extracts manual/human tasks into a dedicated checklist for better
visibility.

Changes:
- Add step 4 to create action-required.md with manual tasks
- Add template format with Before/During/After Implementation sections
- Add "no manual steps" template variant
- Update Next Steps to prioritize reviewing action-required.md
- Add note listing common manual task types (API keys, env vars, etc.)
- Bump create-agentic-app version to 1.1.27

Manual tasks (like account creation, environment variables, OAuth setup)
are now surfaced in a separate file so they're harder to miss during
feature implementation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 12:23:07 +02:00
Leon van Zyl
97a9f1b807 docs: add Claude Code commands documentation to README
Add comprehensive documentation for the custom Claude Code slash commands
that enable GitHub-integrated feature development workflow:

- /create-feature: Create feature specs with requirements and implementation plan
- /publish-to-github: Publish features to GitHub Issues and Projects
- /continue-feature: Implement tasks one at a time with automatic GitHub updates
- /checkpoint: Create detailed checkpoint commits

Documentation includes:
- Prerequisites (GitHub CLI setup, project scopes)
- Step-by-step typical workflow guide
- Example terminal session
- Offline mode instructions
- Command files location

Also bumps package version to 1.1.26 for this documentation update.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 07:52:28 +02:00
Leon van Zyl
90b8a286da add GitHub-integrated feature workflow commands and bump version to 1.1.25
This commit introduces a comprehensive feature management workflow that
integrates with GitHub Issues and Projects for better task tracking and
team collaboration.

## New Commands Added

- `/publish-to-github`: Publishes features from /specs to GitHub by:
  - Creating an Epic issue with full requirements
  - Creating individual task issues for each implementation step
  - Setting up a GitHub Project board linked to the repository
  - Creating labels for organization (epic, feature/*, phase-*)
  - Generating a github.md reference file in the specs folder

- `/continue-feature`: Implements the next available task by:
  - Querying open issues for the feature
  - Checking task dependencies to find unblocked work
  - Updating GitHub Project board status (In Progress -> Done)
  - Adding implementation details as issue comments
  - Providing fallback to implementation-plan.md when offline

## Updated Commands

- `/create-feature`: Enhanced with clearer structure including:
  - Detailed implementation plan format template
  - Requirements for atomic, agent-implementable tasks
  - Guidance on next steps after feature creation
  - Better documentation for the /specs folder structure

## Package Updates

- Bumped version from 1.1.24 to 1.1.25

All changes are mirrored in both the root .claude/commands/ folder
and the create-agentic-app/template/.claude/commands/ folder to ensure
new projects created with the CLI have access to these workflows.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 07:05:26 +02:00
Leon van Zyl
ef406cdf86 add Vercel Blob storage hostname and bump version to 1.1.24
Changes:
- Add Vercel Blob storage hostname pattern (*.public.blob.vercel-storage.com)
  to Next.js image domains config for both main project and template
- Bump create-agentic-app version from 1.1.23 to 1.1.24
- Minor whitespace cleanup in storage.ts files

This allows images stored in Vercel Blob to be properly optimized
by Next.js Image component in production deployments.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 16:15:48 +02:00
Leon van Zyl
adb574e334 remove the database migration script from GH CICD pipeline 2025-11-30 18:07:31 +02:00
Leon van Zyl
3c3936a6dc remove rate limiting 2025-11-30 15:20:49 +02:00
Leon van Zyl
defba14639 fix health check endpoint 2025-11-30 15:10:42 +02:00
Leon van Zyl
ab4d9023a7 npm version update and setup script fix 2025-11-30 14:59:36 +02:00
Leon van Zyl
489e1b6bcf fix setup script 2025-11-30 14:58:53 +02:00
Leon van Zyl
6492980212 storage updated 2025-11-30 14:47:35 +02:00
Leon van Zyl
a3a151c67a feat: comprehensive boilerplate improvements
Security & Stability:
- Add Next.js 16 proxy.ts for BetterAuth cookie-based auth protection
- Add rate limiting for API routes (src/lib/rate-limit.ts)
- Add Zod validation for chat API request bodies
- Add session auth check to chat and diagnostics endpoints
- Add security headers in next.config.ts (CSP, X-Frame-Options, etc.)
- Add file upload validation and sanitization in storage.ts

Core UX Components:
- Add error boundaries (error.tsx, not-found.tsx, chat/error.tsx)
- Add loading states (skeleton.tsx, spinner.tsx, loading.tsx files)
- Add toast notifications with Sonner
- Add form components (input.tsx, textarea.tsx, label.tsx)
- Add database indexes for performance (schema.ts)
- Enhance chat UX: timestamps, copy-to-clipboard, thinking indicator,
  error display, localStorage message persistence

Polish & Accessibility:
- Add Open Graph and Twitter card metadata
- Add JSON-LD structured data for SEO
- Add sitemap.ts, robots.ts, manifest.ts
- Add skip-to-content link and ARIA labels in site-header
- Enable profile page quick action buttons with dialogs
- Update Next.js 15 references to Next.js 16

Developer Experience:
- Add GitHub Actions CI workflow (lint, typecheck, build)
- Add Prettier configuration (.prettierrc, .prettierignore)
- Add .nvmrc pinning Node 20
- Add ESLint rules: import/order, react-hooks/exhaustive-deps
- Add stricter TypeScript settings (exactOptionalPropertyTypes,
  noImplicitOverride)
- Add interactive setup script (scripts/setup.ts)
- Add session utility functions (src/lib/session.ts)

All changes mirrored to create-agentic-app/template/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 14:46:15 +02:00
Leon van Zyl
1121258238 update home page tutorial video 2025-11-30 13:33:16 +02:00
Leon van Zyl
654a3cf84c add file storage, local and prod 2025-11-30 08:16:24 +02:00
Leon van Zyl
db09a4fff8 update npmjs version 2025-11-30 07:29:51 +02:00
Leon van Zyl
2b670ff1d5 Merge pull request #7 from marcos-f/fix/remove-hardcoded-windows-path
fix: remove hardcoded Windows path from Claude settings
2025-11-29 17:29:58 +02:00
Leon van Zyl
3171b64beb add vscode tasks 2025-11-29 12:09:39 +02:00
Leon van Zyl
a89e43f638 Update readme 2025-11-25 14:56:18 +02:00
Marcos Fernandez
b73ef9e345 fix: remove hardcoded Windows path from Claude settings
Remove platform-specific Windows path from additionalDirectories in Claude settings files to ensure cross-platform compatibility across Windows, macOS, and Linux.
2025-11-17 06:53:30 -08:00
Leon van Zyl
04958f1357 refactor: rename ui-developer agent to ui-expert and bump version
Renamed the ui-developer agent to ui-expert for better clarity and
consistency with naming conventions. This change affects both the root
project and the create-agentic-app template.

Changes made:
- Renamed .claude/agents/ui-developer.md to ui-expert.md in both root and template
- Updated agent name and references within agent configuration
- Bumped create-agentic-app version from 1.1.14 to 1.1.15
- Updated corresponding package-lock.json with new version

The agent's functionality and responsibilities remain unchanged - this is
purely a naming improvement to better reflect its role as a UI expert
rather than just a developer.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 09:36:04 +02:00
Leon van Zyl
e1761508e6 Patch npm version 2025-11-16 09:04:42 +02:00
Leon van Zyl
9224b0a44e chore: upgrade Next.js 15.4.6 to 16.0.3 with full stack updates
Successfully upgraded the project from Next.js 15 to Next.js 16 stable release
with all related dependencies and configuration updates.

## Package Upgrades
- Next.js: 15.4.6 → 16.0.3
- React: 19.1.0 → 19.2.0
- React DOM: 19.1.0 → 19.2.0
- @types/react: 19.2.2 → 19.2.5
- @types/react-dom: 19.2.2 → 19.2.3
- eslint-config-next: 15.4.6 → 16.0.3

## Configuration Changes
- Removed --turbopack flag from dev script (now default in Next.js 16)
- Updated lint script from 'next lint' to 'eslint .' for better compatibility
- Migrated ESLint config from FlatCompat to native flat config format
- Removed @eslint/eslintrc dependency (no longer needed)
- Added pnpm overrides for React type definitions

## ESLint Configuration
- Converted from FlatCompat compatibility layer to direct import
- Now using eslint-config-next/core-web-vitals directly
- Added ignores for .next, node_modules, .cache, dist, and build directories
- Simplified configuration structure for better maintainability

## TypeScript Configuration
- Auto-updated by Next.js 16 build process
- Changed jsx from 'preserve' to 'react-jsx' (React automatic runtime)
- Added '.next/dev/types/**/*.ts' to include paths

## MCP Configuration
- Removed unused context7 MCP server configuration
- Updated next-devtools command to use direct npx instead of cmd wrapper

## Verification
- Build:  Successful (compiled in 2.8s with Turbopack)
- Lint:  No errors or warnings
- TypeScript:  Type checking passed
- Browser:  App loads and runs correctly

This upgrade brings all the latest Next.js 16 features and improvements
including Turbopack as the default bundler, improved build performance,
and enhanced developer experience.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 09:04:14 +02:00
Leon van Zyl
0ddfc09cbb chore: update MCP configuration before Next.js 16 upgrade 2025-11-16 08:52:01 +02:00
Leon van Zyl
4b70e6ba33 clean up commands 2025-11-08 11:50:43 +02:00
Leon van Zyl
71de019f47 fix mcp servers 2025-11-07 07:25:50 +02:00
Leon van Zyl
187aaa2db1 chore: add cross-platform MCP server configurations and bump version to 1.1.11
This commit enhances the Model Context Protocol (MCP) server configuration
for improved cross-platform compatibility and adds additional MCP servers.

Key changes:
- Added separate MCP server configurations for Unix and Windows platforms
  - shadcn-unix and shadcn-windows variants for proper command execution
  - playwright-unix and playwright-windows variants for browser automation
- Integrated Context7 MCP server with API key authentication
- Updated package version from 1.1.10 to 1.1.11
- Applied configuration updates to both root .mcp.json and template

Technical details:
- Windows configurations use 'cmd /c' wrapper to properly execute npx commands
- Unix configurations use direct 'npx' command execution
- Context7 server uses HTTPS URL endpoint with header-based authentication
- Changes apply to both the main project and create-agentic-app template

Breaking changes: None
Migration notes: Users will need to set their CONTEXT7_API_KEY if using Context7

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 07:12:46 +02:00
Leon van Zyl
ff6ead47c5 update/ betterauth schema new 2025-11-06 08:27:52 +02:00
Leon van Zyl
7f92051064 include gitignore 2025-11-06 08:00:36 +02:00
Leon van Zyl
7549b73a6c add git initialization 2025-11-06 07:54:56 +02:00
Leon van Zyl
83ca15f31c remove container name 2025-11-06 07:47:48 +02:00
Leon van Zyl
bd74276feb fix/ remove container name from docker compose 2025-11-06 07:17:58 +02:00
Leon van Zyl
61e98f23cf refactor/ migrate from OpenAI to OpenRouter integration
Major improvements to AI integration and developer experience:

## OpenRouter Migration
- Replaced @ai-sdk/openai with @openrouter/ai-sdk-provider
- Updated chat API route to use OpenRouter for access to 100+ AI models
- Changed environment variables from OPENAI_* to OPENROUTER_*
- Updated default model from gpt-5-mini to openai/gpt-5-mini
- Benefits: Users can now access multiple AI providers (OpenAI, Anthropic, etc.) through a single unified API

## Documentation Overhaul
- Expanded CLAUDE.md from 3 lines to comprehensive 225-line guide
- Added complete project structure, tech stack overview, and AI integration guidelines
- Documented all environment variables, scripts, and common tasks
- Added critical rules for AI assistants working with the codebase
- Enhanced checkpoint command with detailed step-by-step instructions

## README Updates
- Updated feature list to highlight OpenRouter integration
- Revised setup instructions for OpenRouter API key acquisition
- Updated environment variable examples and deployment configuration
- Changed all OpenAI references to OpenRouter throughout documentation

## Create Command Updates
- Bumped create-agentic-app version from 1.0.0 to 1.0.1
- Synchronized all template files with main project documentation
- Updated template env.example and package.json with OpenRouter configuration

## Dependency Updates
- Added @openrouter/ai-sdk-provider@^1.2.0
- Updated @ai-sdk/openai from ^2.0.53 to ^2.0.60
- Updated @ai-sdk/react from ^2.0.78 to ^2.0.86
- Updated ai from ^5.0.78 to ^5.0.86
- Updated better-auth from ^1.3.29 to ^1.3.34
- Updated drizzle-kit from ^0.31.5 to ^0.31.6
- Updated eslint from ^9.38.0 to ^9.39.0
- Various type definition updates

Breaking Changes:
- Projects must update environment variables from OPENAI_* to OPENROUTER_*
- API keys must be obtained from openrouter.ai instead of platform.openai.com
- Model names now follow OpenRouter format (e.g., "openai/gpt-5-mini")

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 14:49:40 +02:00
Leon van Zyl
9ca00bec8f feat/ add npx setup process 2025-11-02 09:05:32 +02:00
Leon van Zyl
1dec3e9ea7 fix/ npm private to public 2025-11-02 08:50:41 +02:00
Leon van Zyl
ec929ab918 npx command 2025-11-02 08:45:37 +02:00
Leon van Zyl
343b67e36a docs/ polar payment processing 2025-10-25 08:03:31 +02:00
Leon van Zyl
de07d5f495 agents/ add auth and payments agents 2025-10-24 13:25:50 +02:00
Leon van Zyl
31dc1e0639 fix/ postgres env name 2025-10-24 12:20:27 +02:00
Leon van Zyl
58273c4454 stack/ update dependencies 2025-10-24 12:19:30 +02:00
Leon van Zyl
45eb5d3413 Add example redurect URI to env file 2025-10-11 08:50:31 +02:00
Leon van Zyl
174b713776 Update docker compose to pg18. 2025-10-11 08:45:54 +02:00
Leon van Zyl
c35b1a8ba8 update dependencies 2025-10-11 08:37:10 +02:00
Leon van Zyl
f71cccf745 db/ add docker compose 2025-09-03 08:20:43 +02:00
Leon van Zyl
9be78a32b6 add/ shadcn mcp 2025-08-29 09:32:12 +02:00
Leon van Zyl
fbb0ee9f6a docs/ structured data 2025-08-27 08:25:19 +02:00
Leon van Zyl
a0de269975 ui/ replace emojis with lucide react icons 2025-08-27 08:13:09 +02:00
Leon van Zyl
eb71ad75b6 feat: add user profile page and replace nav welcome text with avatar dropdown
- Replace welcome text in navigation with clickable avatar dropdown
- Add dropdown menu showing user name, email, profile link, and logout
- Create comprehensive user profile page (/profile) with:
  - Profile overview with avatar, name, email, and verification status
  - Account information section with detailed user data
  - Account activity tracking with current session status
  - Quick actions section with placeholder buttons for future features
- Add missing UI components (Card, Badge, Separator) following shadcn/ui patterns
- Use proper design tokens and destructive variant for logout action
- All components pass lint and type checking

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 08:12:09 +02:00
Leon van Zyl
9377f6eabb refactor: standardize to Tailwind and shadcn default styling
- Remove all custom styling patterns and utilities (glow, gradients, custom colors)
- Fix Tailwind v4 CSS variable configuration with proper @theme directive
- Replace custom OKLCH colors with standard shadcn neutral theme
- Remove complex button styling with glow effects and gradients
- Standardize error colors to use semantic destructive tokens
- Remove custom background gradients and complex header styling
- Clean up globals.css removing custom utilities and animations
- Ensure proper dark/light mode theme switching functionality

 All components now use standard shadcn/Tailwind patterns
 Dark/light mode works correctly
 No custom styling or inline classes
 Passes lint and typecheck

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 07:45:42 +02:00
Leon van Zyl
eda917ede9 mcp/ add praywrite mcp 2025-08-21 08:53:31 +02:00