Логотип Repo Security Audit

Repo Security Audit

Спільнота
valorisa
repo-security-audit

Use this skill when the user asks to "audit repo", "analyze repository", "find bugs", "find gaps", "review codebase", "check code quality", or wants to analyze a repository for bugs, missing features, test coverage gaps, security issues and create GitHub issues for findings. Performs a deep technical audit and optionally opens GitHub issues for high-priority problems.

Огляд

Видавецьvalorisa
РепозиторійClaude-Skills
Назва навичкиrepo-security-audit
Зірки
20
Форки
5
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: valorisa. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Repo Security Audit у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/valorisa/Claude-Skills/tree/main/skills/repo-security-audit
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/valorisa/Claude-Skills.git /tmp/Claude-Skills
mkdir -p .claude/skills
cp -r /tmp/Claude-Skills/skills/repo-security-audit .claude/skills/repo-security-audit
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Repo Security Audit в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Repo Security Audit, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Repo Security Audit не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Repo Audit

Perform a deep technical audit of a repository: find bugs, gaps, missing tests, security issues, and API design problems. Optionally create GitHub issues for findings.

Make a todo list and track progress through all steps.


Step 0 — Determine target

If the user provided a GitHub URL (e.g. https://github.com/owner/repo), extract owner/repo.

If the user provided a local path, use that directly.

If neither was provided, use the current working directory as the target.

Ask the user: "Should I create GitHub issues for high-priority findings?" before proceeding if not already specified.


Step 1 — Explore repository structure

Read the repository to understand its purpose and architecture:

bash
gh repo view <owner/repo>

Then explore locally (if available) or via GitHub API:

  1. Read README.md to understand the project's goals and documented features
  2. Read pyproject.toml / package.json / go.mod / Cargo.toml to identify language, dependencies and version
  3. List source files and test files to understand coverage ratio
  4. Read the main entry point and core modules

Build a mental model of:

  • What the project does
  • Tech stack and architecture
  • Execution modes or major features
  • How tests are organized

Step 2 — Deep code analysis

Systematically read and analyze the source code. For each module, check for:

Bugs

  • Logic errors in conditionals, setters, or property accessors
  • Incorrect use of standard library (e.g. isinstance with typing types instead of abc)
  • Wrong argument order in function calls
  • sys.modules or import cache misuse
  • Race conditions in threaded/async code
  • Off-by-one errors in counters or indices

Performance Issues

  • Busy-wait loops (while loops without sleep/blocking)
  • Missing connection pooling or caching
  • Redundant re-computation inside loops
  • Unbounded memory growth (queues, lists, caches)

Security Issues

  • Dynamic code execution (exec, eval, exec_module) without input validation
  • World-readable file/directory creation without permission mode
  • Serialization of untrusted data (pickle, JSON from user input)
  • Credentials or secrets hardcoded or logged

API Design Issues

  • Return type annotations that don't match actual return values
  • Inconsistent method naming or behavior across similar methods
  • Methods that silently swallow exceptions during retries
  • Missing input validation at public API boundaries
  • Unclear or undocumented side effects

Test Coverage Gaps

  • Features documented in README but with no tests
  • CLI commands with no integration tests
  • Timeout and retry logic with no verification tests
  • Platform-specific code paths never exercised

Documentation Gaps

  • Features implemented but not mentioned in README
  • Behavior that contradicts documentation
  • Missing examples for non-obvious configuration options

Step 3 — Compile findings

Organize findings into four severity tiers:

Critical (runtime failures, data loss, security)

These break the software or expose serious vulnerabilities. Include:

  • File path and line number
  • What the bug is
  • Why it fails
  • Suggested fix (code snippet)

High Priority (incorrect behavior, performance, API breakage)

These cause incorrect behavior under common use cases or degrade performance significantly.

Medium Priority (missing features, coverage gaps, bad UX)

These don't break existing functionality but limit reliability or usability.

Low / Nice-to-have (style, docs, minor improvements)

Small improvements that improve maintainability or developer experience.


Step 4 — Present summary to user

Show a structured report:

## Audit Summary — <repo name>

### Critical Bugs (N)
- [file.py:line] Short description

### High Priority (N)
- [file.py:line] Short description

### Medium Priority (N)
- Short description

### Test Coverage Gaps (N)
- Short description

### Security Concerns (N)
- Short description

Ask the user: "Which severity levels should I open GitHub issues for?" Default (if not specified): Critical + High Priority only.


Step 5 — Create GitHub issues (if confirmed)

For each finding in the selected severity tiers, create a GitHub issue using:

bash
gh issue create --repo <owner/repo> \
  --title "<short descriptive title>" \
  --body "<full markdown body>"

Each issue body must follow this structure:

markdown
## Description

<One paragraph explaining the problem clearly.>

## Location

`<file/module>` line ~<N>

## Current Behavior

<Code snippet showing the problematic code>

<Explanation of what it does wrong>

## Expected Behavior

<What it should do instead>

## Suggested Fix

<Code snippet with the fix>

## Impact

<Who is affected and how severely>

## Priority

<Critical / High / Medium>

Rules:

  • Write all issues in English
  • One issue per finding (do not bundle unrelated problems)
  • Do not mention AI or automated tools in the issue body
  • Keep titles under 80 characters, specific and actionable
  • Use inline code formatting for file paths and function names

Step 6 — Final report

After creating all issues, show the user a summary table:

IssueTitleSeverity
#NtitleCritical
#NtitleHigh

Then suggest next steps:

  • Which critical bugs to fix first
  • Whether a 1.0 release is advisable given the findings
  • Any architectural changes worth considering

Voici une version corrigée en un seul bloc, avec les blancs nécessaires autour des titres et des listes pour satisfaire MD022 et MD032.

markdown
---
allowed-tools: Bash(gh issue create:*), Bash(gh issue list:*), Bash(gh repo view:*), Bash(gh api:*), Bash(git log:*), Bash(git diff:*), Bash(find:*), Bash(cat:*), Bash(grep:*), Bash(jq:*), Read, Glob, Grep, Agent, WebFetch
description: Use this skill when the user asks to "audit repo", "analyze repository", "find bugs", "find gaps", "review codebase", "check code quality", or wants to analyze a repository for bugs, missing features, test coverage gaps, security issues and create GitHub issues for findings. Performs a deep technical audit and optionally opens GitHub issues for high-priority problems.
version: 1.0.0
---

# Repo Audit

Perform a deep technical audit of a repository: find bugs, gaps, missing tests, security issues, and API design problems. Optionally create GitHub issues for findings.

Make a todo list and track progress through all steps.

---

## Step 0 — Determine target

If the user provided a GitHub URL (e.g. `https://github.com/owner/repo`), extract `owner/repo`.

If the user provided a local path, use that directly.

If neither was provided, use the current working directory as the target.

Ask the user: **"Should I create GitHub issues for high-priority findings?"** before proceeding if not already specified.

---

## Step 1 — Explore repository structure

Read the repository to understand its purpose and architecture:

```bash
gh repo view <owner/repo>

Then explore locally (if available) or via GitHub API:

  1. Read README.md to understand the project's goals and documented features
  2. Read pyproject.toml / package.json / go.mod / Cargo.toml to identify language, dependencies and version
  3. List source files and test files to understand coverage ratio
  4. Read the main entry point and core modules

Build a mental model of:

  • What the project does
  • Tech stack and architecture
  • Execution modes or major features
  • How tests are organized

Step 2 — Deep code analysis

Systematically read and analyze the source code. For each module, check for:

Bugs

  • Logic errors in conditionals, setters, or property accessors
  • Incorrect use of standard library (e.g. isinstance with typing types instead of abc)
  • Wrong argument order in function calls
  • sys.modules or import cache misuse
  • Race conditions in threaded/async code
  • Off-by-one errors in counters or indices

Performance Issues

  • Busy-wait loops (while loops without sleep/blocking)
  • Missing connection pooling or caching
  • Redundant re-computation inside loops
  • Unbounded memory growth (queues, lists, caches)

Security Issues

  • Dynamic code execution (exec, eval, exec_module) without input validation
  • World-readable file/directory creation without permission mode
  • Serialization of untrusted data (pickle, JSON from user input)
  • Credentials or secrets hardcoded or logged

API Design Issues

  • Return type annotations that don't match actual return values
  • Inconsistent method naming or behavior across similar methods
  • Methods that silently swallow exceptions during retries
  • Missing input validation at public API boundaries
  • Unclear or undocumented side effects

Test Coverage Gaps

  • Features documented in README but with no tests
  • CLI commands with no integration tests
  • Timeout and retry logic with no verification tests
  • Platform-specific code paths never exercised

Documentation Gaps

  • Features implemented but not mentioned in README
  • Behavior that contradicts documentation
  • Missing examples for non-obvious configuration options

Step 3 — Compile findings

Organize findings into four severity tiers:

Critical (runtime failures, data loss, security)

These break the software or expose serious vulnerabilities. Include:

  • File path and line number
  • What the bug is
  • Why it fails
  • Suggested fix (code snippet)

High Priority (incorrect behavior, performance, API breakage)

These cause incorrect behavior under common use cases or degrade performance significantly.

Medium Priority (missing features, coverage gaps, bad UX)

These don't break existing functionality but limit reliability or usability.

Low / Nice-to-have (style, docs, minor improvements)

Small improvements that improve maintainability or developer experience.


Step 4 — Present summary to user

Show a structured report:

markdown
## Audit Summary — <repo name>

### Critical Bugs (N)
- [file.py:line] Short description

### High Priority (N)
- [file.py:line] Short description

### Medium Priority (N)
- Short description

### Test Coverage Gaps (N)
- Short description

### Security Concerns (N)
- Short description

Ask the user: "Which severity levels should I open GitHub issues for?"

Default (if not specified): Critical + High Priority only.


Step 5 — Create GitHub issues (if confirmed)

For each finding in the selected severity tiers, create a GitHub issue using:

bash
gh issue create --repo <owner/repo> \
  --title "<short descriptive title>" \
  --body "<full markdown body>"

Each issue body must follow this structure:

markdown
## Description

<One paragraph explaining the problem clearly.>

## Location

`<file/module>` line ~<N>

## Current Behavior

<Code snippet showing the problematic code>

<Explanation of what it does wrong>

## Expected Behavior

<What it should do instead>

## Suggested Fix

<Code snippet with the fix>

## Impact

<Who is affected and how severely>

## Priority

<Critical / High / Medium>

Rules:

  • Write all issues in English
  • One issue per finding (do not bundle unrelated problems)
  • Do not mention AI or automated tools in the issue body
  • Keep titles under 80 characters, specific and actionable
  • Use inline code formatting for file paths and function names

Step 6 — Final report

After creating all issues, show the user a summary table:

IssueTitleSeverity
#NtitleCritical
#NtitleHigh

Then suggest next steps:

  • Which critical bugs to fix first
  • Whether a 1.0 release is advisable given the findings
  • Any architectural changes worth considering

Поширені запитання

Що робить навичка ШІ Repo Security Audit?

Use this skill when the user asks to "audit repo", "analyze repository", "find bugs", "find gaps", "review codebase", "check code quality", or wants to analyze a repository for bugs, missing features, test coverage gaps, security issues and create GitHub issues for findings. Performs a deep technical audit and optionally opens GitHub issues for high-priority problems.

Навіщо використовувати Repo Security Audit у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Repo Security Audit — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Repo Security Audit у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/valorisa/Claude-Skills/tree/main/skills/repo-security-audit. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Repo Security Audit?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Repo Security Audit?

Зі скількома забажаєте. У TypingMind ви можете використовувати Repo Security Audit із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Repo Security Audit?

Так. На GitHub цю навичку публікує valorisa за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип openclaw

Release Openclaw Maintainer

openclaw
ОрганізаціяПопулярне

Готуйте, публікуйте, відновлюйте або перевіряйте бета-, стабільні й розширено стабільні релізи OpenClaw, зокрема затверджені зворотні перенесення змін.

82.2K
391K
Файлів: 11
Відкрити
Логотип openclaw

Release Openclaw Plugin Testing

openclaw
ОрганізаціяПопулярне

Плануйте та виконуйте передрелізну перевірку плагінів OpenClaw: вбудованих плагінів, артефактів пакетів, команд життєвого циклу, doctor/fix, перевірки конфігурації після повторного перетворення, запуску шлюзу, сумісності SDK, Docker E2E,…

82.2K
391K
Файлів: 1
Відкрити
Логотип openclaw

Solid

openclaw
ОрганізаціяПопулярне

Write, port, review, or test Solid 2 UI in OpenClaw (Control UI, plugin views, Canvas hosts), including state ownership, Lit interop during the migration, native overlays, testing, performance, and…

82.4K
391.7K
Файлів: 9
Відкрити
Логотип openclaw

Auto Qa

openclaw
ОрганізаціяПопулярне

Запускайте автономні кампанії QA, живого тестування та стрес-тестування для всього OpenClaw у незалежних потоках підсистем, із перевіреними виправленнями та звітом із доказами, який можна доповнювати після перерви.

82.2K
391K
Файлів: 5
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇