Commit Graph

61 Commits

Author SHA1 Message Date
Gal Elmalah 638d8dd94f update evals 2026-02-08 13:25:01 +02:00
Gal Elmalah d387274482 push skills level experiments 2026-02-04 10:43:24 +02:00
Gal Elmalah 533868ad9a feat(evals): add evaluation framework with fixtures and multi-fixture support
Adds a complete evaluation system for testing skills:
- CLI runner with support for specific fixture selection via positional args
- Multiple check types (file-exists, file-content, contains, json-schema, etc.)
- Markdown report generation
- Claude Code agent integration
- 7 test fixtures covering various Base44 SDK scenarios

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 10:39:19 +02:00
Gal Elmalah f119f60f1b docs: add JSON Schema and documentation for evals
Add IDE support and comprehensive documentation for the eval test framework:

- Create eval.schema.json with definitions for all 9 check types
- Update README.md with detailed check type reference and examples
- Add $schema reference to all 7 fixture eval.json files

The schema enables autocomplete and validation in VS Code and other
editors when editing eval.json files.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 09:33:49 +02:00
Oz Sayag 3cdbd7cd4d refactor: restore internal skills (#51) 2026-02-02 13:23:41 +02:00
Oz Sayag 9a2962851a update triggers (#57) 2026-02-02 13:07:35 +02:00
Yury Michurin 9cb7d5e1f8 Add invoke function via rest howto. (#58) 2026-02-01 12:04:46 +02:00
claude[bot] 67dc62f0c8 Update base44-cli skill to v0.0.26 (February 2026) (#56)
Synchronized CLI skill documentation with base44-cli v0.0.26.

Changes:
- Updated create.md: Changed --skills flag to --no-skills (skills now default to enabled)
- Updated deploy.md: Added agents to deployment sequence and related commands
- Updated entities-push.md: Corrected error message text
- Updated CLI_VERSION: v0.0.21 → v0.0.26

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-01 10:50:43 +02:00
Oz Sayag cc1e445274 Update base44-cli skill with new schema capabilities (#52)
- Add new field types (integer, binary) and string formats (time, hostname, ipv4, ipv6, uuid, file, regex)
- Document field-level security (FLS) which is now available
- Add RLS operators: logical ($or, $and, $nor) and field operators ($in, $nin, $ne, $all) for data.* fields
- Clarify user_condition only supports equality
- Add stricter agent validation rules (lowercase names 1-100 chars, required fields)
- Add function name validation pattern (no dots)
- Document configurable directory names in project config
2026-02-01 07:55:20 +02:00
tuvit c716209cea docs: add common mistakes sections for entities and agents (#54)
Add documentation to prevent common configuration errors:

- entities-create.md: Add warning about nested "schema" property mistake
  that causes "Invalid schema: Schema must have a 'type' field" errors

- agents-push.md:
  - Fix entity_name example to use PascalCase (Task not tasks)
  - Add agent file naming convention (underscores, not hyphens)
  - Add warning about wrong "tools" vs "tool_configs" format
  - Add best practices for agent instructions when using entity tools

These issues were discovered during real-world usage and caused
significant debugging time.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 18:23:20 +02:00
Gonen Jerbi 3823f1fb56 Discourage redirectToLogin in favor of custom login UI (#53)
Update SDK documentation to recommend building custom login UI using
loginViaEmailPassword() and loginWithProvider() instead of redirectToLogin().

Changes:
- Add deprecation warning to redirectToLogin in method reference table
- Update Protected Route Pattern to use navigate() instead of redirectToLogin
- Update error handling examples to navigate to custom login page
- Reframe "Limitations" section as "Authentication UI Options"
- Add new Best Practice for building custom login UI
- Update QUICK_REFERENCE.md with warning comment
- Update SKILL.md Protected Routes example

https://claude.ai/code/session_01S8pH8AXWza6WkTZ233N8Z8

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-30 16:05:12 +02:00
Oz Sayag 82e73a9354 Skills improvements (#48)
* Refactor RLS documentation for clarity and structure

- Updated entities-create.md to streamline the Row Level Security (RLS) section, enhancing descriptions and examples for better understanding.
- Consolidated RLS operations and permission values, clarifying the conditions and template variables used in RLS rules.
- Revised examples in rls-examples.md to reflect new patterns and best practices, emphasizing the limitations of JSON schema RLS and alternative approaches for complex access patterns.
- Improved overall organization of content for easier navigation and comprehension.

* Update documentation to clarify AI agent usage requirements in Base44 SDK

- Added a note in SKILL.md indicating that chatting with AI agents requires a logged-in user.
- Included a similar note in base44-agents.md to emphasize that all agent methods operate within the context of an authenticated user.
2026-01-29 16:36:45 +02:00
Oz Sayag 9437f8db88 added agents module to the CLI skill (#46) 2026-01-28 13:31:50 +02:00
Oz Sayag 80b4345cc5 Update sync-cli-skill workflow prompt for clarity 2026-01-28 12:47:13 +02:00
Oz Sayag b612a485f0 Update create.md to remove reference to shadcn/ui in default app creation description (#44) 2026-01-28 12:41:18 +02:00
Oz Sayag 3c278ed2a2 Enhance documentation for Base44 SDK and CLI references (#41)
- Added a "Common Mistakes" section in functions-create.md to guide users on correct directory structure and import statements.
- Updated SKILL.md to include critical warnings against hallucinating API methods, with detailed comparisons of incorrect vs. correct usage.
- Introduced a new QUICK_REFERENCE.md file for quick method signatures across SDK modules, emphasizing the importance of verification before coding.
- Clarified required directory structure for backend functions in functions.md, ensuring users follow the correct setup for deployment.
2026-01-28 11:02:04 +02:00
Oz Sayag 7f9fc011e1 Update sync-cli-skill workflow to allow base44-github-actions[bot] (#40) (#42)
Added 'allowed_bots' parameter to the sync-cli-skill workflow to enable the base44-github-actions[bot] for enhanced automation capabilities.
2026-01-28 10:55:53 +02:00
Gal Elmalah 33dd5827e4 docs: Reflect add-skill CLI rename to skills (#39)
The `add-skill` CLI tool has been renamed to `skills`.
Updated all references and command examples in `README.md` and
`CONTRIBUTING.md` to use the new `skills` command.

Specifically:
* `npx add-skill` commands are now `npx skills add`
2026-01-27 14:52:37 +02:00
Gal Elmalah 30a8c88471 Optimize base44-sdk and base44-cli skill descriptions (#38)
Rewrote both skill descriptions to eliminate overlap and improve trigger accuracy:

- base44-sdk: Now clearly targets EXISTING projects and SDK code writing
- base44-cli: Now clearly targets project initialization and CLI commands
- Removed conflicting "ALWAYS ACTIVATE on ANY base44 mention" from both
- Added explicit routing to direct users to the correct skill
- Established clear prerequisite relationship (cli before sdk for new projects)
2026-01-27 14:24:55 +02:00
Oz Sayag d3b220d53e Add TypeScript type definitions to SDK docs (#34) 2026-01-27 13:02:30 +02:00
Oz Sayag f9218514ba Enhance documentation for base44 create command in SKILL.md and create.md (#36)
- Added critical warnings and mandatory reading notes for the `base44 create` command to ensure users follow the correct workflow and template selection.
- Updated template selection section in create.md to clarify when to use `backend-only` vs `backend-and-client`.
- Improved examples and added critical steps for using the `backend-only` template with existing frameworks.
- Emphasized the importance of following instructions to avoid project scaffolding issues.
2026-01-27 13:02:00 +02:00
claude[bot] 44412e9581 Update base44-cli skill to v0.0.21 January 27, 2026 at 09:21 AM (#33)
Sync the base44-cli skill documentation with version 0.0.21 of the CLI.

Changes:
- Updated create command: name parameter is now positional argument instead of --name flag
- Added --skills option to create command (controls AI agent skills installation)
- Added --projectId option to link command (allows linking to specific project)
- Updated all examples and usage documentation to reflect new syntax
- Updated CLI_VERSION from v0.0.17 to v0.0.21

Breaking changes:
- create command now uses: npx base44 create my-app -p . (not -n my-app)

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-27 12:13:47 +02:00
Oz Sayag 1d8e6a8c4b Enhance Sync CLI Skill Documentation
- Updated SKILL.md to clarify the synchronization process using git-based change detection.
- Added a new section detailing how the skill works, including input validation and change detection steps.
- Improved instructions for validating the source folder and discovering command structures.
- Enhanced the summary of changes presented to the user, including breaking changes and option modifications.
- Updated CLI_VERSION to reflect the new version after processing changes.
2026-01-27 11:12:25 +02:00
Oz Sayag 050d366816 Add CLI_VERSION file with version v0.0.17 2026-01-27 10:40:34 +02:00
Oz Sayag 33d183996e Update PR title format in sync-cli-skill workflow to include human-readable time 2026-01-27 10:38:11 +02:00
Oz Sayag d496c6d330 Improve sync cli skill (#29)
* Update SKILL.md to enhance command and option documentation

- Added sections for command-level and option/argument-level changes
- Detailed comparison examples for command options
- Summarized commands added/removed and option changes
- Updated descriptions for clarity and accuracy
- Recommended manual review for specific changes

* Update SKILL.md to improve CLI command discovery process

- Renamed and expanded sections for better clarity and context
- Added a new step to read the CHANGELOG for recent changes
- Adjusted subsequent steps to reflect the new structure
- Enhanced guidance on identifying command changes and documentation updates
2026-01-27 09:40:24 +02:00
Gal Elmalah 9fd29d18c4 Enhance auth.md with TypeScript types and improved documentation (#27)
- Add comprehensive TypeScript interfaces for User, LoginResponse, and all parameter types
- Add detailed method signatures with return types
- Document all authentication methods including OAuth provider support
- Add error handling section with common error scenarios
- Add environment availability information (frontend/backend)
- Improve examples with complete registration flow including OTP verification
- Add detailed documentation for password reset and change flows
2026-01-26 22:42:37 +02:00
Oz Sayag 7fb8043769 work 2026-01-26 15:11:55 +02:00
Oz Sayag 2f8d16085c work 2026-01-26 15:02:26 +02:00
Oz Sayag 8c189b843c Update permissions in sync-cli-skill workflow to include id-token write access 2026-01-26 14:48:25 +02:00
Oz Sayag 28a344fd9e add workflow for syncing cli skill (#25)
* add workflow

* temp

* work
2026-01-26 14:44:23 +02:00
Netanel Gilad 0149c30f9e Add Claude Code GitHub Workflow (#24)
* "Claude PR Assistant workflow"

* "Claude Code Review workflow"
2026-01-26 14:04:34 +02:00
SimonC24 66aa0ee7fd relative links to skills (#22) 2026-01-25 13:09:50 +02:00
Oz Sayag 463774f414 add-skill temporary mitigation (#21) 2026-01-25 12:39:37 +02:00
Oz Sayag e0541d79d8 Migrate commands to skills (#19)
* migration

* support claude code

* migrate reference to skill

* fix ignored files

* update cache dir reference
2026-01-25 10:19:45 +02:00
Oz Sayag 2b7c0d675a new command 2026-01-25 07:58:34 +02:00
Oz Sayag d3f4f70ed0 Skills Improvements (#17)
* docs(create): Clarify Base44 project creation command limitations

- Added important notes regarding the command's functionality, emphasizing that it only creates the `base44/` folder with configuration files and does not initialize `package.json`, install npm dependencies, or create project scaffolding.
- Updated documentation to instruct users to set up their npm project separately before or after running the command.

* docs: Update Base44 CLI and SDK installation instructions

- Added installation commands for both Base44 CLI and SDK, emphasizing the importance of not hardcoding package versions to ensure users always get the latest updates.
- Included a note in both SKILL.md files to guide users on proper installation practices.

* fix
2026-01-25 07:49:51 +02:00
Oz Sayag 3e03920afc docs(cli): Add Sync CLI Skill documentation and enhance existing command references (#18)
- Introduced new documentation for the Sync CLI Skill, detailing the synchronization process with the Base44 CLI source code.
- Updated SKILL.md to include new command references and improved descriptions for existing commands.
- Added new reference files for `dashboard`, `link`, and updated `deploy` and `create` commands to clarify usage and options.
- Enhanced troubleshooting sections and provided examples for better user guidance.
2026-01-25 07:46:28 +02:00
SimonC24 90892d76da Top level readme tw review (#15)
* initial readme update

* rephrasing

* H1 change
2026-01-22 15:57:24 +02:00
Netanel Gilad 7bb494a589 docs: add RLS/FLS documentation with real-world examples (#16)
- Add boolean rule types (true/false) for RLS
- Add common RLS patterns section (public create/admin read, owner-only)
- Add complete Field Level Security (FLS) documentation
- Add rls-examples.md with real-world scenarios:
  - Todo app, subscription system, social app
  - Dating app, enterprise system, mini social network
- Remove deprecated "write" rule mention from RLS (use create/read/update/delete)
- Update SDK entities.md with RLS/FLS overview
- Clarify that asServiceRole does NOT bypass RLS (just sets role=admin)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 01:06:27 +02:00
Oz Sayag eddd7d832f docs(functions-create): Update function creation documentation for Deno runtime (#14)
- Clarified that Base44 functions run on Deno and must use `Deno.serve()`.
- Updated examples to reflect new response handling with `Response.json()`.
- Added error handling and input validation in function examples.
- Included information on using service role access and environment variables.
2026-01-21 13:29:10 +02:00
Oz Sayag 6c9a40b72d docs(entities-create): Add Row Level Security (RLS) section with operations, examples, and limitations (#12) 2026-01-21 12:51:30 +02:00
Oz Sayag cdb9b1b50f Enhance Base44 CLI documentation with function management details (#13)
- Updated SKILL.md to include new sections for function management, installation commands, and troubleshooting for functions.
- Added references for creating and deploying functions in new functions-create.md and functions-deploy.md files.
- Improved directory structure examples and clarified function configuration requirements.
2026-01-21 12:50:54 +02:00
Oz Sayag b5533be06d update the review-skills command (#11) 2026-01-21 11:28:36 +02:00
Gal Elmalah 849b09aad1 docs(readme): Update skill compatibility, installation, and available skills (#10)
- Clarify agent compatibility by specifying Cursor(Nightly).
- Simplify installation instructions, hardcoding `base44/skills` and
  removing less common usage examples.
- List specific available skills (`base44-cli`, `base44-sdk`) with
  their descriptions, replacing the "coming soon" placeholder.
- Remove the outdated directory structure section.
- Link to the official Agent Skills Specification.
2026-01-20 21:33:47 +02:00
Oz Sayag 9fb3c87d9d Remove obsolete SKILL.md file (#9) 2026-01-20 21:04:51 +02:00
Oz Sayag 677067a878 Skills Improvements and Plugin setup (#8)
* refactor(docs): Revise Base44 CLI and Coder skill descriptions for clarity and usage guidelines

* feat(plugin): Add initial Claude plugin configuration for Base44 SDK with CLI and coder skills

* refactor(docs): Revise Base44 CLI and Coder skill descriptions for improved clarity and usage instructions

* chore: Remove obsolete SKILL.md template file to streamline documentation

* refactor(docs): Renamed 'base44-coder' skill to 'base44-sdk' for consistency with SDK terminology.
2026-01-20 20:48:18 +02:00
Oz Sayag 503869f799 feat(docs): Update Base44 CLI skill (#6)
* feat(docs): Update Base44 CLI documentation with new command references and troubleshooting tips

Enhance the SKILL.md file by adding references to new CLI commands and improving the troubleshooting section with additional error handling information. Update the entities-push.md file to remove outdated command references.

* feat(docs): Add mandatory authentication check at session start in SKILL.md

Introduce a critical authentication check that must be performed at the beginning of every AI session when the Base44 CLI skill is activated. This includes verifying the user's login status and providing instructions for manual login if necessary, ensuring secure operation of CLI commands.
2026-01-20 12:45:02 +02:00
Oz Sayag 49a0ebeccb Update coder skill (#7)
* fixes

* feat: add .gitignore and scripts for downloading Anthropic skills cache

- Introduced a .gitignore file to exclude cache and environment files.
- Added `update-skills-cache.md` for instructions on refreshing the local skills cache.
- Implemented `download_anthropics_skills.py` script to download and filter the Anthropic skills repository, creating a local cache for skill review references.

* update skill according to review

* improve command
2026-01-20 12:44:49 +02:00
Oz Sayag 63c6f1503c feat(chore): introduce a new cursor command to review skills (#5) 2026-01-20 10:29:00 +02:00