Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/boshu2/agentops --skill pattern-mining명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Use Agent Mail as an optional messaging and file-reservation adapter for explicitly coordinated writers. Triggers: "coordinate writers", "reserve files".
Operate explicit orchestrator, implementer, validator, and scribe roles through a caller-selected agent runtime. Triggers: "agent-native factory", "role-shaped agent panes", "persistent workers".
Initialize minimal AgentOps documentation and verdict storage without taking over repository workflow. Triggers: "bootstrap AgentOps", "initialize AgentOps docs".
SKILL.md 표시 중
SOC 직업 분류 기준
| name | pattern-mining |
| description | Test repeated implementation shapes against |
Decide whether repeated code demonstrates a reusable rule or only a plausible hypothesis. Similar names and syntax are not enough; the abstraction must survive examples it was not designed around.
no-action; only a fully proven promotion may reach operationalize.research when coverage is unclear.outcome: promote only when the exemplar floor, holdout, and
back-application all pass. Route that evidence to operationalize, which
decides whether the eventual shape is a skill, gate, library, template, or
no action.outcome: hypothesis with route: no-action. Keep the
evidence bounded and name what additional observation would retest it.Invariants are extracted mechanically, not remembered. Lay the exemplars side by side, align them structurally (same role, same position in the flow — not same variable names), and diff: what survives every alignment is a candidate invariant; what varies by site is a variation point; what varies with no functional consequence is incidental. Work pairwise before generalizing — an "invariant" derived by skimming all exemplars at once is usually the first exemplar's shape with the others squinted into agreement. Stop condition: every line of the candidate abstraction is traceable to a surviving alignment across all exemplars, or it is deleted. The named failure mode is eyeball convergence — declaring similarity from memory of the files rather than from an explicit alignment, which smuggles one lineage's incidentals into the rule.
Exemplar discovery is part of the evidence and must be replayable. Record the
exact queries used — rg patterns, glob scopes, structural searches — in the
output packet, alongside which hits were kept and why the rest were excluded.
A recipe that returns hits you did not examine is unfinished coverage: either
examine them or narrow the recipe and record the narrowed form. The named
failure mode is convenience sampling — mining only the files already in
context, which biases the exemplar set toward one author or one era of the
codebase and fakes independence at step 1. If no recipe can be written that
finds the exemplars, the recurrence claim is unverifiable and the outcome
stays hypothesis.
A promoted pattern lands in exactly one shape, and naming the intended shape
before promotion sharpens the holdout test. The catalog, in ascending
commitment: no-action (evidence retained, nothing built), checklist
line (rule in an existing doc or skill), template (copyable exemplar),
library/helper (shared executable code), gate (deterministic check
that blocks). Match commitment to evidence strength: three exemplars and one
holdout justify a checklist line or template; a gate needs demonstrated cost
of violation, not just recurrence. This skill only records the recommended
shape in the packet — operationalize owns the packaging decision. The named
failure mode is shape inflation: routing a barely-promoted pattern straight to
a gate or library because building feels like progress, which turns weak
evidence into architecture the same way skipping the holdout would.
.agents/scratch/pattern-mining/<run-id>/pattern-mining.jsonpattern-mining.v1 JSON containing the outcome, distinct
exemplars, invariants, variations, incidental details, holdout result,
back-application result, and route.skills/pattern-mining/scripts/validate-output.sh <pattern-mining.json>promote artifact to
operationalize; retain a validated hypothesis artifact as bounded
evidence with route: no-action.Promotion requires at least three distinct exemplars, one separate passing holdout, successful back-application, and at least one invariant. Any weaker packet remains a hypothesis and cannot route to reusable packaging.
The validator is the machine boundary:
skills/pattern-mining/scripts/validate-output.sh <pattern.json>
This skill owns evidence for the pattern. It never creates the reusable artifact itself and never promotes a failed or untested holdout.
Executable behavior: references/pattern-mining.feature.
operationalize or a
hypothesis is retained as no-action evidence.