

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
12345# Library Code Instructions67## Error Handling89- Use specific error classes: `Rex::RuntimeError`, `Rex::ConnectionError`, `Rex::TimeoutError`, `ArgumentError`10- NEVER `raise "bare string"` — makes targeted rescue impossible11- NEVER bare `rescue` — it discards the exception object, making debugging impossible12- NEVER `rescue Exception` — it catches `SignalException` and `SystemExit` (hides Ctrl-C and kill signals)13- Always: `rescue StandardError => e` or more specific14- Propagate with context: `raise Rex::ConnectionError, "Failed to connect to #{host}: #{e.message}"`1516## Documentation1718- Add YARD `@param` and `@return` tags to ALL public methods19- Link to RFC/spec when implementing binary or protocol parsers20- Add `# frozen_string_literal: true` to new library files; use `String.new` where a mutable string is needed2122## Naming2324- Do NOT use `get_`/`set_` prefixes for accessor-style methods (use `def version` not `def get_version`)25- Method parameter names must be at least 2 characters2627## Patterns2829- Use `Rex::Stopwatch.elapsed_time` for timing30- Use `Rex::MIME::Message` for MIME (not hardcoded XML)31- Use `Rex::RandomIdentifier::Generator` for random variable names (specify target language)32- Use `RubySMB` library for SMB operations3334## Testing3536- ALL library changes require RSpec tests in `spec/` mirroring `lib/` structure37- Follow [Better Specs](https://www.betterspecs.org/) conventions38- Run: `bundle exec rspec spec/path/to/spec.rb` or `:42` for single example3940## Quality4142- Keep PRs focused — small fixes are easier to review43- When overriding `cleanup`, always call `super`44- Hash cracking implementations require test hash in `tools/dev/hash_cracker_validator.rb`45
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| rapid7/metasploit-frameworkAGENTS.md · 39k | AGENTS.md | teststylearchgit+3 | 61/100 | today | |
| rapid7/metasploit-framework.github/copilot-instructions.md · 39k | Copilot instructions | agent-behaviour | 4/100 | today | |
| rapid7/metasploit-framework.github/instructions/documentation.instructions.md · 39k | Copilot instructions | do-notagent-behaviourdocs | 32/100 | today | |
| rapid7/metasploit-framework.github/instructions/modules.instructions.md · 39k | Copilot instructions | stylearchdo-notagent-behaviour | 59/100 | today | |
| rapid7/metasploit-framework.github/instructions/tests.instructions.md · 39k | Copilot instructions | teststyleagent-behaviour | 67/100 | today |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| pytorch/pytorch.github/copilot-instructions.md · 102k | Copilot instructions | setupbuildteststyle+5 | 100/100 | 14 days ago | |
| dotnet/roslyn.github/instructions/Compiler.instructions.md · 21k | Copilot instructions | buildteststylearch+3 | 99/100 | today | |
| JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 32k | Copilot instructions | buildlint-formatstylearch+3 | 97/100 | 7 days ago | |
| bagisto/bagisto.github/copilot-instructions.md · 28k | Copilot instructions | setupbuildteststyle+5 | 97/100 | 14 days ago | |
| ardalis/CleanArchitecture.github/copilot-instructions.md · 18k | Copilot instructions | buildteststylearch+4 | 96/100 | 14 days ago | |
| dotnet/maui.github/instructions/templates.instructions.md · 23k | Copilot instructions | buildteststylearch+1 | 92/100 | 14 days ago | |
| dotnet/maui.github/instructions/integration-tests.instructions.md · 23k | Copilot instructions | setupteststyledo-not | 92/100 | 14 days ago | |
| photoprism/photoprism.github/copilot-instructions.md · 40k | Copilot instructions | buildtestlint-formatstyle+5 | 90/100 | 13 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/rapid7-metasploit-framework-github-instructions-library-instructions)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.