mcpField
1
1k-retrospective

1k-retrospective

github.com/onekeyhqTesting & quality2.5k55 installsUpdated today
Repository

About 1k-retrospective

A OneKey skill for reviewing case studies and proposing updates to self-testing rules based on recurring bug patterns. Changes to the rules are made only after user confirmation.

Key features

  1. 01Analyze cases since the last marker
  2. 02Map causes to existing check sections
  3. 03Identify recurring gaps and weak checks
  4. 04Propose concise rule updates
  5. 05Preserve archived case entries

Use cases

  1. 01Review recurring causes in bug cases
  2. 02Find missing self-testing checks
  3. 03Strengthen checks that repeatedly fail to catch issues
  4. 04Prepare rule changes for user approval

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/onekeyhq/app-monorepo --skill 1k-retrospective

After installing, type/1k-retrospectivein Claude Code to confirm it loaded.

Bundled filesagents/openai.yamlreferences/case-studies.md

Details

From the project README

Retrospective: Evolve Self-Testing Rules from Real Cases

Workflow

Step 1: Read Cases

Read .claude/skills/1k-retrospective/references/case-studies.md. Count cases since the last <!-- Retrospective completed --> marker. If fewer than 3 new cases, report "Not enough new cases" and stop.

Step 2: Analyze Patterns

For each case, extract root cause category and which self-testing section (1-8) could have caught it, or "NEW" if not covered. Aggregate counts per pattern.

Step 3: Identify Gaps and Weak Spots
  • Gaps: patterns appearing 2+ times marked "NEW" → candidates for new check items
  • Weak spots: patterns appearing 3+ times already covered → check item needs stronger wording or more specificity
Step 4: Propose Changes

Output a short report:

Retrospective — YYYY-MM-DD
Cases analyzed: N (date range: YYYY-MM-DD to YYYY-MM-DD)
Recurring patterns: [pattern] N (NEW/WEAK), [pattern] N (NEW/WEAK)
Proposed changes: Add [Section N] [one-line check] / Strengthen [Section N] [current → revised]
Housekeeping: archive candidates [list], zero-hit checks [list]
Step 5: Apply Changes (after user confirmation)

Rules when modifying self-testing.mdc:

  1. Max 150 lines — if exceeded, consolidate similar items or move details to references/patterns.md
  2. One-liner check items only — no code examples in the rule file
  3. Keep 9-section structure — new items go into existing sections, no new sections
  4. Never delete case entries — mark archived with [ARCHIVED] prefix
Step 6: Update Timestamp

Append to case-studies.md:

<!-- Retrospective completed: YYYY-MM-DD | Cases analyzed: N | Changes applied: N -->

Example

5 cases: 3 BigNumber (NaN/precision/division), 1 cleanup, 1 stale closure. → BigNumber = NEW (3 hits) → Add one-line check to Section 1.

Comments

Markdown supported