Index of every page on this site: llms.txt
All skills
aj-geddes avatar

/code-review-analysis

@3f5182c
Run it yourself

Perform comprehensive code reviews with best practices, security checks, and constructive feedback. Use when reviewing pull requests, analyzing code quality, checking for security vulnerabilities, or providing code improvement suggestions.

Use this Skill: https://skilld.dev/gh/aj-geddes/useful-ai-prompts/code-review-analysis

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesbest-practices.md

≈146 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Best Practices

Best Practices

Error Handling

// ❌ Silent failures
try {
  await saveData(data);
} catch (e) {
  // empty catch
}

// ✅ Proper error handling
try {
  await saveData(data);
} catch (error) {
  logger.error("Failed to save data", { error, data });
  throw new DataSaveError("Could not save data", { cause: error });
}

Resource Management

# ❌ Resources not closed
file = open('data.txt')
data = file.read()
process(data)

# ✅ Proper cleanup
with open('data.txt') as file:
    data = file.read()
    process(data)

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill acts as a code review assistant. It is generally safe and follows best practices, including providing educational examples of security vulnerabilities. However, because it is designed to ingest and analyze untrusted code (e.g., from pull requests), it has an inherent surface for indirect prompt injection.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer8mo

    1/11 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 3f5182c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 9 months ago

README badge

README badge for aj-geddes/useful-ai-prompts

Guides code review analysis across quality, security, performance, and testing with structured checklists and best practices. Targets pull request review workflows and includes reference guides for initial assessment, code quality, security vulnerabilities, performance, and testing coverage.

Generated from the current SKILL.md.

What kinds of code issues does this skill check for?
The skill covers code quality, security vulnerabilities, performance, maintainability, testing, and adherence to best practices. It includes dedicated review guides for security, performance, testing, and code quality analysis.
Does this skill work with specific version control systems?
The quick start examples use Git commands (git diff, git log), so it's designed around Git workflows. The skill is language and framework agnostic.
Can this skill help with pull request reviews?
Yes. Pull request and merge request review is explicitly listed as a primary use case, with guidance on assessing changes and providing constructive feedback.
Does this skill enforce code style automatically?
No. The best practices explicitly state not to nitpick minor style issues and to use automated tools instead. The skill focuses on substantive code quality, security, and maintainability concerns.
What's the recommended scope for a single review?
The skill recommends reviewing no more than 400 lines of changes at once to ensure thorough, focused analysis.

Generated from the current SKILL.md. These answers refresh after source changes.