bostonaholic/skills

explaining-code

Explains code or code changes in plain language, briefly by default or in full for a reviewer.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/bostonaholic/skills --skill explaining-code

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Explaining code

Explain a specific change or piece of code to a reader new to it, at one of two depths.

When the question is how a whole subsystem works (its architecture, data flow, and file map), call the Skill tool with explaining-architecture instead. If that skill is not installed, explain at the chosen depth, scoped to the question. Without a Skill tool, follow the skill call rules.

Input

$ARGUMENTS is an optional depth token followed by the subject: a PR number or URL, a file path, a function or class name, a branch name, or a concept.

STOP when the request names no subject and the conversation makes none clear. Ask once what to explain, and do no work until the user answers.

Depth

  • Brief (the default): follow the Brief section below.
  • Full (ELIE): selected by a leading elie or eliet token, or by a

request for ELIE, an explanation "for an engineer" or "for a reviewer", an "in depth" explanation, or the full explanation. Read full explanation and follow it instead of the Brief section.

Drop the depth token before reading the subject.

Brief

Lead with a one-sentence summary that a developer with no context on this area understands. Use concrete nouns ("the order history page", "the login screen"), not abstract ones ("the component", "the module"). Use an everyday analogy only when one fits naturally.

Follow with 3 to 6 sentences that answer the implicit follow-ups: what the situation was before, what changed, and why. The whole Brief reply is the lead plus those sentences, at most seven sentences in one or two paragraphs, with no headings, bold labels, or bullet lists. Count the sentences before replying. Write more only on request. Spell out and define an unavoidable term or acronym inline at its first use, as in "the SLA (service-level agreement) checker".

Cover what and why, not how. Leave out the tests, reviewer notes, risks, edge cases, and implementation detail such as algorithms, comparisons, headers, status codes, and function names; those belong to Full. If they would help, end with one line offering the full explanation. Summarize the effect instead of listing every file touched. Match the scope of the explanation to the question: asked about one function, explain that function, not the whole system.

Fit the sentence order to the subject. A PR's sentences run before, then after; a concept may be one paragraph; and a module overview may name its responsibilities in prose. An illustrative Brief explanation of a PR:

The search page now remembers recent results for one minute, so repeat searches load instantly. Before, every search queried the database, even when the same query ran seconds earlier. Now a results cache (a short-lived in-memory copy of recent answers) is checked first, and the database is queried only on a miss. Results can be up to a minute stale, which the PR accepts because listings change rarely.

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills
bostonaholic
커뮤니티

auditing-complexity

Ranks where code complexity concentrates in a git repository (cyclomatic complexity, nesting, fan-out, mutable state) and scores CRAP change risk from a coverage file. Read-only. Use when asked for complexity hotspots or change risk. Not for test value; use auditing-tests.

1시간 설치 수
1
GitHub Stars
2
업데이트
10월 20일
bostonaholic
커뮤니티

composing-agent-prompts

Composes a self-contained, source-cited task prompt for another coding agent to execute in a target repository, without running the task. Use when the user asks to write, draft, or hand off a prompt, brief, or task spec for another agent. Not for system prompts; use writing-system-prompts.

1시간 설치 수
1
GitHub Stars
2
업데이트
10월 20일
bostonaholic
커뮤니티

conducting-deep-research

Conducts source-backed, goal-directed research that combines a scholarly evidence review with an institution, company, or funding map. Use when a request needs both an evidence review and an organization or funding map. Not for quick lookups or general research write-ups.

1시간 설치 수
1
GitHub Stars
2
업데이트
10월 20일
bostonaholic
커뮤니티

cutting-skills

Audits or trims an existing agent skill to its behavioral core and narrows over-broad trigger metadata. Use when the user asks to cut, simplify, shorten, de-slop, or reduce the context cost or trigger aggressiveness of a SKILL.md or skill folder. Never infer from a skill being long or edited for another purpose.

1시간 설치 수
1
GitHub Stars
2
업데이트
10월 20일