Skip to content
Back to skills

Decomposition 2026 11 05

ASecurity

Пришли файл — путь или содержимое. Без него не вижу ни строку в контексте (тип `items`, гарантия непустоты), ни три соседних места. Граф (4 узла): 1. `items[0] + items[1]` — что: берёт ровно два первых элемента; почему важно: `IndexError` при `len(items) < 2`, а при `len > 2` «total» меньше настоящей суммы; якорь: эта строка (есть); когда: правится сейчас. 2. Смысл `total` — что: сумма всех элементов или только первых двух; почему: `sum(items)` и `items[0] + items[1]` дают разные числа, от вы...

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agents

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add Siririn77/i-have-autism --skill decomposition-2026-11-05 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Decomposition 2026 11 05?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Decomposition 2026 11 05
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/siririn77-decomposition-2026-11-05-24b2e1ef/badge)](https://www.skillsdirectory.com/skills/siririn77-decomposition-2026-11-05-24b2e1ef)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
Пришли файл — путь или содержимое. Без него не вижу ни строку в контексте (тип `items`, гарантия непустоты), ни три соседних места.

Граф (4 узла):

1. `items[0] + items[1]` — что: берёт ровно два первых элемента; почему важно: `IndexError` при `len(items) < 2`, а при `len > 2` «total» меньше настоящей суммы; якорь: эта строка (есть); когда: правится сейчас.
2. Смысл `total` — что: сумма всех элементов или только первых двух; почему: `sum(items)` и `items[0] + items[1]` дают разные числа, от выбора зависит замена; якорь: имя переменной — слабый, нужен ответ; когда: до правки.
3. Три соседних места — что: тот же шаблон `[0] + [1]`; почему: тот же `IndexError`; якорь: [?] — файл; когда: назову одной фразой после файла.
4. Файл — что: путь или содержимое; почему: узлы 1 и 3 без якоря, контекст не проверить; якорь: [?]; когда: блокирует всё.

Замена зависит от смысла `total`:
- сумма всех элементов → `total = sum(items)`
- только первые два → `total = sum(items[:2])` — без `IndexError`: при `len < 2` вернёт 0 или один элемент, а не упадёт.

Один вопрос: `total` — это сумма всех `items` или только первых двух?

Три соседних места по умолчанию не чиню — называю одной фразой, когда увижу файл (соседний дефект: назвать, не исправлять). Скажи, если нужно все четыре.

Следующий шаг: пришли файл и ответ на вопрос одним сообщением — применю правку и покажу проверку на `len` = 0, 1, 2, 3.

Files in this skill

  • SCORE.md6.6 KB
  • answer-estimate_with-skill.md4 KB
  • answer-estimate_without-skill.md3 KB
  • answer-next-step_with-skill.md1.1 KB
  • answer-next-step_without-skill.md2.7 KB
  • answer-no-preamble_with-skill.md2.5 KB
  • answer-no-preamble_without-skill.md2.7 KB
  • cases.json14.4 KB
  • code-edge-negative_with-skill.md2 KB
  • code-edge-negative_without-skill.md2.2 KB
  • comment-says-why_with-skill.md2.8 KB
  • comment-says-why_without-skill.md1.2 KB
  • decomposition-huge_with-skill.md14.3 KB
  • decomposition-huge_without-skill.md9.8 KB
  • decomposition-small_with-skill.md1.4 KB
  • decomposition-small_without-skill.md242 B
  • destructive-needs-confirmation_with-skill.md3.5 KB
  • destructive-needs-confirmation_without-skill.md3.7 KB
  • disagree-first-line_with-skill.md1.9 KB
  • disagree-first-line_without-skill.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.