Test Gap Audit
github/awesome-copilot
Run a read-only audit for missing, weak, stale, or mis-scoped test coverage.
Write correct and complete RSpec tests for Doorkeeper. An agent skill from doorkeeper-gem/doorkeeper.
$ npx skills add doorkeeper-gem/doorkeeper --skill testing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install doorkeeper-gem/doorkeeper testing --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/doorkeeper-gem/doorkeeper.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/testing .claude/skills/testing && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "testing" agent skill from https://github.com/doorkeeper-gem/doorkeeper/tree/main/.agents/skills/testing into .claude/skills/testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/doorkeeper-gem/doorkeeper/tree/main/.agents/skills/testingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add doorkeeper-gem/doorkeeper --skill testing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install doorkeeper-gem/doorkeeper testing --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/doorkeeper-gem/doorkeeper.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/testing .agents/skills/testing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "testing" agent skill from https://github.com/doorkeeper-gem/doorkeeper/tree/main/.agents/skills/testing into .agents/skills/testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add doorkeeper-gem/doorkeeper --skill testing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install doorkeeper-gem/doorkeeper testing --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/doorkeeper-gem/doorkeeper.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/testing .cursor/skills/testing && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "testing" agent skill from https://github.com/doorkeeper-gem/doorkeeper/tree/main/.agents/skills/testing into .cursor/skills/testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/doorkeeper-gem/doorkeeper.git --path .agents/skills/testing--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add doorkeeper-gem/doorkeeper --skill testing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install doorkeeper-gem/doorkeeper testing --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/doorkeeper-gem/doorkeeper.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/testing .gemini/skills/testing && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "testing" agent skill from https://github.com/doorkeeper-gem/doorkeeper/tree/main/.agents/skills/testing into .gemini/skills/testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install doorkeeper-gem/doorkeeper testingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add doorkeeper-gem/doorkeeper --skill testing -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/doorkeeper-gem/doorkeeper.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/testing .github/skills/testing && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "testing" agent skill from https://github.com/doorkeeper-gem/doorkeeper/tree/main/.agents/skills/testing into .github/skills/testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add doorkeeper-gem/doorkeeper --skill testing -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install doorkeeper-gem/doorkeeper testing --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/doorkeeper-gem/doorkeeper.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/testing .opencode/skills/testing && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "testing" agent skill from https://github.com/doorkeeper-gem/doorkeeper/tree/main/.agents/skills/testing into .opencode/skills/testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
testingWrite correct and complete RSpec tests for Doorkeeper. An agent skill from doorkeeper-gem/doorkeeper.
Testing is an agent skill from doorkeeper-gem/doorkeeper. Write correct and complete RSpec tests for Doorkeeper. Use when adding specs for new features, writing regression tests for bug fixes, or reviewing test coverage for a change.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Debugging, OAuth and OpenID Connect and Test coverage. It works with Ruby on Rails. The repository describes itself as: Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 80f4eba. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bundleFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Testing loads about 1.6k tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 359 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from doorkeeper-gem/doorkeeper at commit 80f4eba, republished under its MIT licence (© doorkeeper-gem). 359 words, ~1,615 tokens.
.claude/skills/testing/SKILL.md (or your agent's skills folder).When writing or modifying tests in Doorkeeper, use this skill to ensure tests are correct, complete, and follow project conventions.
| What you're testing | Where to put the spec |
|---|---|
| OAuth request/response flow (integration) | spec/requests/flows/ |
| Endpoint behavior (HTTP layer) | spec/requests/endpoints/ |
| Controller logic (unit) | spec/controllers/ |
| Model behavior & mixins | spec/models/doorkeeper/ |
| OAuth protocol logic (unit) | spec/lib/oauth/ |
| Configuration | spec/lib/config_spec.rb |
| Generators | spec/generators/ |
| Routing | spec/routing/ |
| Grape integration | spec/grape/ |
# frozen_string_literal: true
require "spec_helper"
RSpec.describe Doorkeeper::OAuth::SomeClass do
describe "#method_name" do
context "when condition is met" do
it "does the expected thing" do
# arrange, act, assert
end
end
end
endAll specs use require "spec_helper". The spec_helper loads the dummy Rails app, database, factories, and support helpers — it covers both unit and integration needs.
Note: A legacy
spec_helper_integrationfile exists but is just a compatibility wrapper aroundspec_helper. Do not use it in new specs.
Factories are in spec/factories.rb. Use FactoryBot:
let(:application) { FactoryBot.create(:application) }
let(:access_token) { FactoryBot.create(:access_token, application: application) }
let(:access_grant) { FactoryBot.create(:access_grant, application: application) }Reuse helpers from spec/support/helpers/:
model_helper.rb — client_exists, create_resource_owner, token/grant existence checksrequest_spec_helper.rb — json_response, should_have_status, url_should_have_param, basic_auth_header_for_clienturl_helper.rb — token_endpoint_url, authorization_endpoint_url, refresh_token_endpoint_urlconfig_helper.rb — config_is_set (temporarily override config in a block)authorization_request_helper.rb — resource_owner_is_authenticated, default_scopes_existUse config_is_set or the Doorkeeper.configure block (resets after each test):
before do
config_is_set(:access_token_expires_in, 100)
endRSpec.describe "Authorization Code Flow" do
let(:application) { FactoryBot.create(:application) }
let(:resource_owner) { User.create!(name: "owner", password: "password") }
before do
default_scopes_exist :public
resource_owner_is_authenticated resource_owner
end
it "issues an access token" do
visit authorization_endpoint_url(client: application)
click_on "Authorize"
code = current_params["code"]
post token_endpoint_url, params: {
grant_type: "authorization_code",
code: code,
redirect_uri: application.redirect_uri,
client_id: application.uid,
client_secret: application.secret,
}
expect(response).to have_http_status(:ok)
expect(json_response["access_token"]).to be_present
end
endRSpec.describe Doorkeeper::OAuth::AuthorizationCodeRequest do
subject(:request) do
described_class.new(server, grant, client, params)
end
let(:server) do
double :server,
access_token_expires_in: 2.days,
refresh_token_enabled?: false,
custom_access_token_expires_in: lambda { |context|
context.grant_type == Doorkeeper::OAuth::AUTHORIZATION_CODE ? 1234 : nil
}
end
let(:resource_owner) { FactoryBot.create :resource_owner }
let(:grant) do
FactoryBot.create :access_grant,
resource_owner_id: resource_owner.id,
resource_owner_type: resource_owner.class.name
end
let(:client) { grant.application }
let(:redirect_uri) { client.redirect_uri }
let(:params) { { redirect_uri: redirect_uri } }
before do
allow(server).to receive(:option_defined?).with(:custom_access_token_expires_in).and_return(true)
end
describe "#authorize" do
it "issues a new token for the client" do
expect { request.authorize }.to change { client.reload.access_tokens.count }.by(1)
end
it "revokes the grant" do
expect { request.authorize }.to(change { grant.reload.accessible? })
end
end
describe "#validate" do
it "requires the grant to be accessible" do
grant.revoke
request.validate
expect(request.error).to eq(Doorkeeper::Errors::InvalidGrant)
end
it "requires the client" do
request = described_class.new(server, grant, nil, params)
request.validate
expect(request.error).to eq(Doorkeeper::Errors::InvalidClient)
end
end
endsleep — use Timecop.travel or Timecop.freeze insteadTimecop for time-dependent tests (expiration, token lifetime)bundle exec rspec spec/path/to/new_spec.rbbundle exec rspec spec/lib/oauth/bundle exec rake spec--order random)© doorkeeper-gem, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/testing of doorkeeper-gem/doorkeeper.
Open the folder on GitHubat commit 80f4eba
Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Testing this skilldoorkeeper-gem/doorkeeper | 5.5k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Test Gap Auditgithub/awesome-copilot | 40k | — | ~3.4k | Automated safety check: Pass | MIT | |
| Test BlindspotsNeeeophytee/finding-unknowns-skills | 343 | — | ~676 | Automated safety check: Pass | MIT | |
| Fieldworks Test Coveragesillsdev/FieldWorks | 110 | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Write Testsopenplayerjs/openplayerjs | 649 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Test Specialisttravisjneuman/.claude | 101 | — | ~3.7k | Automated safety check: Pass | MIT |
github/awesome-copilot
Run a read-only audit for missing, weak, stale, or mis-scoped test coverage.
Neeeophytee/finding-unknowns-skills
Find consequential behavior that a passing test suite does not establish, using focused exploratory checks.
sillsdev/FieldWorks
Check that new or changed FieldWorks code is actually exercised by tests, using test.ps1 -Coverage.
openplayerjs/openplayerjs
Write or extend Jest tests for OpenPlayerJS to this repo's exact conventions — makeCore factories, typed internals handles instead of as any, media property mocking, fake timers, ads/vast mocks, and…
travisjneuman/.claude
Test-writing patterns for JS/TS, Python, Go, and Rust (unit, integration, E2E, visual regression).
vercel-labs/vercel-openclaw-archived
Firewall and Vercel AI Gateway debugging for vercel-openclaw: network policy allowlists, OIDC token refresh, AI Gateway transform rules, firewall learning/enforcement, and sandbox.update…
doorkeeper-gem/doorkeeper
Avoid common Ruby and Rails antipatterns that degrade maintainability and performance.
doorkeeper-gem/doorkeeper
Maintain code health and architecture standards when implementing features or refactoring Doorkeeper.
doorkeeper-gem/doorkeeper
Ensure gems are safe, necessary, and properly constrained when adding, updating, or reviewing dependencies in Doorkeeper.
doorkeeper-gem/doorkeeper
Verify that code changes do not introduce OAuth security vulnerabilities.
doorkeeper-gem/doorkeeper
Verify OAuth protocol implementations stay aligned with relevant RFCs.
Works with
Categories
Write correct and complete RSpec tests for Doorkeeper. An agent skill from doorkeeper-gem/doorkeeper. Testing is an agent skill from doorkeeper-gem/doorkeeper. Write correct and complete RSpec tests for Doorkeeper.
Testing fits situations like: adding specs for new features; writing regression tests for bug fixes; reviewing test coverage for a change.
Run `npx skills add doorkeeper-gem/doorkeeper --skill testing -a claude-code`. Or copy the skill folder (.agents/skills/testing in doorkeeper-gem/doorkeeper) into .claude/skills/testing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add doorkeeper-gem/doorkeeper --skill testing -a codex`. Or copy the skill folder (.agents/skills/testing in doorkeeper-gem/doorkeeper) into .agents/skills/testing in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add doorkeeper-gem/doorkeeper --skill testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testing, .gemini/skills/testing, .github/skills/testing and .opencode/skills/testing in your project.
Going by SKILL.md and its folder, Testing needs the command-line tools its instructions call (bundle).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Testing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Testing: Test Gap Audit (github/awesome-copilot, 40k stars), Test Blindspots (Neeeophytee/finding-unknowns-skills, 343 stars), Fieldworks Test Coverage (sillsdev/FieldWorks, 110 stars) and Write Tests (openplayerjs/openplayerjs, 649 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
doorkeeper-gem (a GitHub organization) maintains it in doorkeeper-gem/doorkeeper, which has 5,522 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 6, 2026.
Source: doorkeeper-gem/doorkeeper on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.