-
Notifications
You must be signed in to change notification settings - Fork 4
feat: add support for skills #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
twishabansal
wants to merge
19
commits into
main
Choose a base branch
from
feat-skills
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
9d771f6
add skills
twishabansal 836177f
add presubmit workflow for skills
twishabansal 51f2803
fix workflow
twishabansal ff9ce70
Update skills-validate.yml
twishabansal ca52068
fix workflows
twishabansal 91a801b
ignore skills dir for license headers
twishabansal 4cd0334
update docs
twishabansal cf9b4cb
fix header check
twishabansal af1e072
fix copyright year
twishabansal e45eb0b
Merge branch 'main' into feat-skills
twishabansal e4bad75
test failure for validation workflow
twishabansal c603ce1
revert skill testing failure
twishabansal 364fa21
revert license file changes
twishabansal f65168c
add year pattern regex
twishabansal 6f1e0d6
test header check years
twishabansal 0f85518
Update header-check.yml
twishabansal fc356b6
Merge branch 'license-fix' into feat-skills
twishabansal 6abd630
Merge branch 'main' into feat-skills
twishabansal e5e3817
Merge branch 'main' into feat-skills
twishabansal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # Copyright 2026 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| name: lint | ||
|
|
||
| on: | ||
| push: | ||
| paths-ignore: | ||
| - "skills/**" | ||
| pull_request: | ||
| paths-ignore: | ||
| - "skills/**" | ||
| pull_request_target: | ||
| types: [labeled] | ||
| paths-ignore: | ||
| - "skills/**" | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| skills-validate: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Skip Skill Validation | ||
| run: | | ||
| echo "No changes detected in 'skills/' directory. Skipping validation." | ||
| echo "This job ensures the required 'skills-validate' status check passes." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # Copyright 2026 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| name: Validate Skills | ||
|
|
||
| on: | ||
| push: | ||
| paths: | ||
| - "skills/**" | ||
| pull_request: | ||
| paths: | ||
| - "skills/**" | ||
| pull_request_target: | ||
| types: [labeled] | ||
| paths: | ||
| - "skills/**" | ||
|
|
||
| jobs: | ||
| skills-validate: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.11" | ||
|
|
||
| - name: Install skills-ref | ||
| run: | | ||
| pip install "git+https://github.com/agentskills/agentskills.git#subdirectory=skills-ref" | ||
|
|
||
| - name: Validate Skills | ||
| run: | | ||
| failed=0 | ||
| for skill_dir in skills/*/; do | ||
| if [ -d "$skill_dir" ]; then | ||
| echo "Validating $skill_dir..." | ||
| if ! skills-ref validate "$skill_dir"; then | ||
| echo "Validation failed for $skill_dir" | ||
| failed=1 | ||
| fi | ||
| fi | ||
| done | ||
| exit $failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,24 +2,6 @@ | |
| "name": "cloud-sql-postgresql", | ||
| "version": "0.1.10", | ||
| "description": "Create, connect, and interact with a Cloud SQL for PostgreSQL database and data.", | ||
| "mcpServers": { | ||
| "cloud_sql_postgresql_admin": { | ||
| "command": "${extensionPath}${/}toolbox", | ||
| "args": [ | ||
| "--prebuilt", | ||
| "cloud-sql-postgres-admin", | ||
| "--stdio" | ||
| ] | ||
| }, | ||
| "cloud_sql_postgresql": { | ||
| "command": "${extensionPath}${/}toolbox", | ||
| "args": [ | ||
| "--prebuilt", | ||
| "cloud-sql-postgres", | ||
| "--stdio" | ||
| ] | ||
| } | ||
| }, | ||
| "contextFileName": "CLOUD-SQL-POSTGRESQL.md", | ||
| "settings": [ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Have you tested with the settings in the .env and having the extension load in the env vars? Does this allow the agents to use these variables without additional input from the user? |
||
| { | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: should we update this to be execute_sql script?