Compare commits

..

1 Commits

Author SHA1 Message Date
Claude
4a369eb2ff Add superpowers plugin to marketplace
This plugin 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.
2026-01-07 02:20:45 +00:00
2 changed files with 35 additions and 25 deletions

View File

@@ -512,6 +512,16 @@
"url": "https://github.com/pinecone-io/pinecone-claude-code-plugin.git" "url": "https://github.com/pinecone-io/pinecone-claude-code-plugin.git"
}, },
"homepage": "https://github.com/pinecone-io/pinecone-claude-code-plugin" "homepage": "https://github.com/pinecone-io/pinecone-claude-code-plugin"
},
{
"name": "superpowers",
"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.",
"category": "development",
"source": {
"source": "url",
"url": "https://github.com/obra/superpowers.git"
},
"homepage": "https://github.com/obra/superpowers"
} }
] ]
} }

View File

@@ -13,25 +13,21 @@ 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 has write access - name: Check if author is org member
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;
const { data } = await github.rest.repos.getCollaboratorPermissionLevel({ try {
owner: context.repo.owner, await github.rest.orgs.checkMembershipForUser({
repo: context.repo.repo, org: org,
username: author username: author
}); });
console.log(`${author} is an org member, allowing PR`);
if (['admin', 'write'].includes(data.permission)) { } catch (e) {
console.log(`${author} has ${data.permission} access, allowing PR`); if (e.status === 404) {
return;
}
console.log(`${author} has ${data.permission} access, closing PR`);
await github.rest.issues.createComment({ await github.rest.issues.createComment({
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, repo: context.repo.repo,
@@ -45,3 +41,7 @@ jobs:
pull_number: context.payload.pull_request.number, pull_number: context.payload.pull_request.number,
state: 'closed' state: 'closed'
}); });
console.log(`Closed PR from external contributor: ${author}`);
}
}