Compare commits

..

4 Commits

Author SHA1 Message Date
Claude
6f85d84895 Add huggingface-skills plugin to marketplace 2026-01-08 19:28:35 +00:00
Daisy S. Hollman
113b335d11 Merge pull request #161 from clackbib/habib/add_kotlin_lsp
Add Kotlin LSP plugin for code intelligence
2026-01-07 14:21:25 -08:00
Habib
2fee5cd9bf Add Kotlin LSP plugin for code intelligence
- Add kotlin-lsp entry to marketplace.json with support for .kt and .kts files
- Create README with installation instructions (brew install kotlin-lsp)
- Configure LSP server to use --stdio mode with 120s startup timeout
2026-01-07 15:06:39 -05:00
Noah Zweben
b97f6eadd9 Use collaborator permission check instead of org membership (#147) 2026-01-06 19:25:24 -08:00
3 changed files with 68 additions and 29 deletions

View File

@@ -167,6 +167,29 @@
} }
} }
}, },
{
"name": "kotlin-lsp",
"description": "Kotlin language server for code intelligence",
"version": "1.0.0",
"author": {
"name": "Anthropic",
"email": "support@anthropic.com"
},
"source": "./plugins/kotlin-lsp",
"category": "development",
"strict": false,
"lspServers": {
"kotlin-lsp": {
"command": "kotlin-lsp",
"args": ["--stdio"],
"extensionToLanguage": {
".kt": "kotlin",
".kts": "kotlin"
},
"startupTimeout" : 120000
}
}
},
{ {
"name": "csharp-lsp", "name": "csharp-lsp",
"description": "C# language server for code intelligence", "description": "C# language server for code intelligence",
@@ -514,14 +537,14 @@
"homepage": "https://github.com/pinecone-io/pinecone-claude-code-plugin" "homepage": "https://github.com/pinecone-io/pinecone-claude-code-plugin"
}, },
{ {
"name": "superpowers", "name": "huggingface-skills",
"description": "Superpowers teaches Claude brainstorming, subagent driven development with built in code review, systematic debugging, and red/green TDD. Additionally, it teaches Claude how to author and test new skills.", "description": "Build, train, evaluate, and use open source AI models, datasets, and spaces.",
"category": "development", "category": "development",
"source": { "source": {
"source": "url", "source": "url",
"url": "https://github.com/obra/superpowers.git" "url": "https://github.com/huggingface/skills.git"
}, },
"homepage": "https://github.com/obra/superpowers" "homepage": "https://github.com/huggingface/skills.git"
} }
] ]
} }

View File

@@ -13,35 +13,35 @@ jobs:
if: vars.DISABLE_EXTERNAL_PR_CHECK != 'true' if: vars.DISABLE_EXTERNAL_PR_CHECK != 'true'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check if author is org member - name: Check if author has write access
uses: actions/github-script@v7 uses: actions/github-script@v7
with: with:
script: | script: |
const org = 'anthropics';
const author = context.payload.pull_request.user.login; const author = context.payload.pull_request.user.login;
try { const { data } = await github.rest.repos.getCollaboratorPermissionLevel({
await github.rest.orgs.checkMembershipForUser({ owner: context.repo.owner,
org: org, repo: context.repo.repo,
username: author username: author
}); });
console.log(`${author} is an org member, allowing PR`);
} catch (e) {
if (e.status === 404) {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
body: `Thanks for your interest! This repo only accepts contributions from Anthropic team members. If you'd like to submit a plugin to the marketplace, please submit your plugin [here](https://docs.google.com/forms/d/e/1FAIpQLSdeFthxvjOXUjxg1i3KrOOkEPDJtn71XC-KjmQlxNP63xYydg/viewform).`
});
await github.rest.pulls.update({ if (['admin', 'write'].includes(data.permission)) {
owner: context.repo.owner, console.log(`${author} has ${data.permission} access, allowing PR`);
repo: context.repo.repo, return;
pull_number: context.payload.pull_request.number,
state: 'closed'
});
console.log(`Closed PR from external contributor: ${author}`);
}
} }
console.log(`${author} has ${data.permission} access, closing PR`);
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
body: `Thanks for your interest! This repo only accepts contributions from Anthropic team members. If you'd like to submit a plugin to the marketplace, please submit your plugin [here](https://docs.google.com/forms/d/e/1FAIpQLSdeFthxvjOXUjxg1i3KrOOkEPDJtn71XC-KjmQlxNP63xYydg/viewform).`
});
await github.rest.pulls.update({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
state: 'closed'
});

View File

@@ -0,0 +1,16 @@
Kotlin language server for Claude Code, providing code intelligence, refactoring, and analysis.
## Supported Extensions
`.kt`
`.kts`
## Installation
Install the Kotlin LSP CLI.
```bash
brew install JetBrains/utils/kotlin-lsp
```
## More Information
- [kotlin LSP](https://github.com/Kotlin/kotlin-lsp)