Skip to content

Conversation

@ChiragAgg5k
Copy link
Member

No description provided.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 10, 2026

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

 _______________________________________________________________________________
< FUZZY BUNNY: Finding Unresolved Zero-day Zingers, Bugs, Nasties, and Yuckies. >
 -------------------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

✏️ Tip: You can disable in-progress messages and the fortune message in your review settings.

📝 Walkthrough

Walkthrough

The pull request adds an AgentSkills SDK: a new entry in app/config/sdks.php with metadata (key, name, version, URLs, git fields, flags, family, prism, changelog); updates composer.json require-dev for appwrite/sdk-generator from "*" to "dev-feat/agent-skills"; and integrates AgentSkills into SDK generation by importing Appwrite\SDK\Language\AgentSkills, adding 'agent-skills' to the supported SDKs list, and handling it in the SDKs task switch.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 1 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ❓ Inconclusive No pull request description was provided by the author, making it impossible to assess relevance to the changeset. Add a description explaining the purpose of agent skills, what was added, and why these changes are needed.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat: appwrite agent skills' directly corresponds to the main changes: adding agent-skills SDK configuration and language support.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release-agent-skills

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Feb 10, 2026

Security Scan Results for PR

Docker Image Scan Results

Package Version Vulnerability Severity
libcrypto3 3.5.4-r0 CVE-2025-15467 CRITICAL
libcrypto3 3.5.4-r0 CVE-2025-69419 HIGH
libcrypto3 3.5.4-r0 CVE-2025-69421 HIGH
libpng 1.6.51-r0 CVE-2025-66293 HIGH
libpng 1.6.51-r0 CVE-2026-22695 HIGH
libpng 1.6.51-r0 CVE-2026-22801 HIGH
libpng-dev 1.6.51-r0 CVE-2025-66293 HIGH
libpng-dev 1.6.51-r0 CVE-2026-22695 HIGH
libpng-dev 1.6.51-r0 CVE-2026-22801 HIGH
libssl3 3.5.4-r0 CVE-2025-15467 CRITICAL
libssl3 3.5.4-r0 CVE-2025-69419 HIGH
libssl3 3.5.4-r0 CVE-2025-69421 HIGH
libxml2 2.13.8-r0 CVE-2025-49794 CRITICAL
libxml2 2.13.8-r0 CVE-2025-49796 CRITICAL
libxml2 2.13.8-r0 CVE-2025-49795 HIGH
libxml2 2.13.8-r0 CVE-2025-6021 HIGH
openssl 3.5.4-r0 CVE-2025-15467 CRITICAL
openssl 3.5.4-r0 CVE-2025-69419 HIGH
openssl 3.5.4-r0 CVE-2025-69421 HIGH
openssl-dev 3.5.4-r0 CVE-2025-15467 CRITICAL
openssl-dev 3.5.4-r0 CVE-2025-69419 HIGH
openssl-dev 3.5.4-r0 CVE-2025-69421 HIGH
py3-urllib3 1.26.20-r0 CVE-2026-21441 HIGH
py3-urllib3-pyc 1.26.20-r0 CVE-2026-21441 HIGH
github.com/containerd/containerd/v2 v2.0.2 CVE-2024-25621 HIGH
golang.org/x/crypto v0.31.0 CVE-2025-22869 HIGH
golang.org/x/oauth2 v0.24.0 CVE-2025-22868 HIGH
stdlib 1.22.10 CVE-2025-68121 CRITICAL
stdlib 1.22.10 CVE-2025-47907 HIGH
stdlib 1.22.10 CVE-2025-58183 HIGH
stdlib 1.22.10 CVE-2025-61726 HIGH
stdlib 1.22.10 CVE-2025-61728 HIGH
stdlib 1.22.10 CVE-2025-61729 HIGH
stdlib 1.22.10 CVE-2025-61730 HIGH

Source Code Scan Results

🎉 No vulnerabilities found!

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Fix all issues with AI agents
In `@app/config/sdks.php`:
- Around line 273-291: Update the SDK entry so the repository is under the
appwrite organization and the config fields match other SDK entries: set
gitUserName to "appwrite" and update gitUrl/gitRepoName accordingly (e.g.,
gitUrl -> git@github.com:appwrite/appwrite-agent-skills.git), change url to the
browseable URL without the ".git" suffix (e.g.,
https://github.com/appwrite/appwrite-agent-skills), and add a package key (even
if an empty string) to the array; ensure the actual GitHub repo is
created/transferred to the appwrite org before merging and leave other keys like
source and changelog unchanged.

In `@composer.json`:
- Line 92: The composer.json currently pins the dev dependency
"appwrite/sdk-generator" to the feature branch "dev-feat/agent-skills"; update
that constraint to a non-feature ref before merging (e.g., change to a tagged
release version or "dev-main" once AgentSkills is merged) by modifying the
"appwrite/sdk-generator" entry in composer.json to the appropriate stable/tagged
version or dev-main instead of dev-feat/agent-skills.

In `@src/Appwrite/Platform/Tasks/SDKs.php`:
- Line 24: Move the Appwrite\SDK\Language\AgentSkills import so imports are
alphabetically ordered to satisfy PSR-12; specifically place the "use
Appwrite\SDK\Language\AgentSkills;" line before the "use
Appwrite\SDK\Language\Android;" import in the SDKs.php import block so
AgentSkills sorts correctly among the other SDK language imports.

Comment on lines 273 to 291
[
'key' => 'agent-skills',
'name' => 'AgentSkills',
'version' => '0.1.0',
'url' => 'https://github.com/ChiragAgg5k/appwrite-agent-skills.git',
'enabled' => true,
'beta' => false,
'dev' => false,
'hidden' => false,
'family' => APP_SDK_PLATFORM_CONSOLE,
'prism' => 'agent-skills',
'source' => \realpath(__DIR__ . '/../sdks/console-agent-skills'),
'gitUrl' => 'git@github.com:ChiragAgg5k/appwrite-agent-skills.git',
'gitRepoName' => 'appwrite-agent-skills',
'gitUserName' => 'ChiragAgg5k',
'gitBranch' => 'dev',
'repoBranch' => 'master',
'changelog' => \realpath(__DIR__ . '/../../docs/sdks/agent-skills/CHANGELOG.md'),
],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Repository should be under the appwrite organization, not a personal account.

All other SDKs use appwrite as the gitUserName and host repos under the appwrite org. This entry points to ChiragAgg5k/appwrite-agent-skills — ensure the repo is transferred to (or created under) the appwrite org before merging to 1.8.x.

Additionally:

  1. url has a .git suffix — other SDK entries use clean browseable URLs (e.g., https://github.com/appwrite/sdk-for-web). Remove the .git suffix for consistency.
  2. Missing package key — every other SDK entry includes a package field. Add it (even if empty string) to stay consistent and avoid potential undefined index issues downstream.
Suggested adjustments
             [
                 'key' => 'agent-skills',
                 'name' => 'AgentSkills',
                 'version' => '0.1.0',
-                'url' => 'https://github.com/ChiragAgg5k/appwrite-agent-skills.git',
+                'url' => 'https://github.com/appwrite/sdk-for-agent-skills',
+                'package' => '',
                 'enabled' => true,
                 'beta' => false,
                 'dev' => false,
                 'hidden' => false,
                 'family' => APP_SDK_PLATFORM_CONSOLE,
                 'prism' => 'agent-skills',
                 'source' => \realpath(__DIR__ . '/../sdks/console-agent-skills'),
-                'gitUrl' => 'git@github.com:ChiragAgg5k/appwrite-agent-skills.git',
-                'gitRepoName' => 'appwrite-agent-skills',
-                'gitUserName' => 'ChiragAgg5k',
+                'gitUrl' => 'git@github.com:appwrite/sdk-for-agent-skills.git',
+                'gitRepoName' => 'sdk-for-agent-skills',
+                'gitUserName' => 'appwrite',
                 'gitBranch' => 'dev',
                 'repoBranch' => 'master',
                 'changelog' => \realpath(__DIR__ . '/../../docs/sdks/agent-skills/CHANGELOG.md'),
             ],
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
[
'key' => 'agent-skills',
'name' => 'AgentSkills',
'version' => '0.1.0',
'url' => 'https://github.com/ChiragAgg5k/appwrite-agent-skills.git',
'enabled' => true,
'beta' => false,
'dev' => false,
'hidden' => false,
'family' => APP_SDK_PLATFORM_CONSOLE,
'prism' => 'agent-skills',
'source' => \realpath(__DIR__ . '/../sdks/console-agent-skills'),
'gitUrl' => 'git@github.com:ChiragAgg5k/appwrite-agent-skills.git',
'gitRepoName' => 'appwrite-agent-skills',
'gitUserName' => 'ChiragAgg5k',
'gitBranch' => 'dev',
'repoBranch' => 'master',
'changelog' => \realpath(__DIR__ . '/../../docs/sdks/agent-skills/CHANGELOG.md'),
],
[
'key' => 'agent-skills',
'name' => 'AgentSkills',
'version' => '0.1.0',
'url' => 'https://github.com/appwrite/sdk-for-agent-skills',
'package' => '',
'enabled' => true,
'beta' => false,
'dev' => false,
'hidden' => false,
'family' => APP_SDK_PLATFORM_CONSOLE,
'prism' => 'agent-skills',
'source' => \realpath(__DIR__ . '/../sdks/console-agent-skills'),
'gitUrl' => 'git@github.com:appwrite/sdk-for-agent-skills.git',
'gitRepoName' => 'sdk-for-agent-skills',
'gitUserName' => 'appwrite',
'gitBranch' => 'dev',
'repoBranch' => 'master',
'changelog' => \realpath(__DIR__ . '/../../docs/sdks/agent-skills/CHANGELOG.md'),
],
🤖 Prompt for AI Agents
In `@app/config/sdks.php` around lines 273 - 291, Update the SDK entry so the
repository is under the appwrite organization and the config fields match other
SDK entries: set gitUserName to "appwrite" and update gitUrl/gitRepoName
accordingly (e.g., gitUrl -> git@github.com:appwrite/appwrite-agent-skills.git),
change url to the browseable URL without the ".git" suffix (e.g.,
https://github.com/appwrite/appwrite-agent-skills), and add a package key (even
if an empty string) to the array; ensure the actual GitHub repo is
created/transferred to the appwrite org before merging and leave other keys like
source and changelog unchanged.

"require-dev": {
"ext-fileinfo": "*",
"appwrite/sdk-generator": "*",
"appwrite/sdk-generator": "dev-feat/agent-skills",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Dev dependency pinned to a feature branch — must be reverted before merge.

Pinning appwrite/sdk-generator to dev-feat/agent-skills is fine during development, but this should not be merged into 1.8.x. Once the AgentSkills language class is available in a tagged release (or at minimum dev-main), update the constraint accordingly.

🤖 Prompt for AI Agents
In `@composer.json` at line 92, The composer.json currently pins the dev
dependency "appwrite/sdk-generator" to the feature branch
"dev-feat/agent-skills"; update that constraint to a non-feature ref before
merging (e.g., change to a tagged release version or "dev-main" once AgentSkills
is merged) by modifying the "appwrite/sdk-generator" entry in composer.json to
the appropriate stable/tagged version or dev-main instead of
dev-feat/agent-skills.

@github-actions
Copy link

github-actions bot commented Feb 10, 2026

✨ Benchmark results

  • Requests per second: 2,182
  • Requests with 200 status code: 392,800
  • P99 latency: 0.071657851

⚡ Benchmark Comparison

Metric This PR Latest version
RPS 2,182 1,170
200 392,800 210,703
P99 0.071657851 0.173584832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant