Index of every page on this site: llms.txt
All skills
h3xar0n avatar

/history-context-seeder

@b1b34c0
Run it yourself

Analyzes repository Git history for past bug fixes, architectural conventions, and security patterns to seed CONTEXT.md on onboarding. Use when first adopting the framework in an existing repository, mining historical commits and bug fixes for recurring risk areas, or populating the initial CONTEXT.md baseline with established conventions and helpers. Do not use for routine feature development, authoring test suites, or running the inner TDD loop on active tasks.

  • 1 file
  • 1.4 KB
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/h3xar0n/secure-tdd-agent-framework/history-context-seeder

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈123 tokens for metadata: the name and description. ≈216 when used: this file.

Description uses 6.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈492 characters, or 6.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

History & Architectural Context Seeder Skill (Repository Onboarding)

Overview

Analyzes the repository's Git history and past fix commits to extract recurring bug patterns, architectural conventions, and security patterns, seeding CONTEXT.md during initial repository onboarding.

Execution Sequence

  1. Analyze Git Log:
    • Inspect commits touching bug fixes, refactors, and sensitive modules: git log --grep="fix\|bug\|refactor\|vuln\|security\|patch" -n 50 --oneline
  2. Extract Historical Lessons:
    • Identify which files and modules have historically been prone to bugs or regressions.
    • Extract past patterns and architectural conventions established by maintainers.
  3. Seed CONTEXT.md:
    • Populate CONTEXT.md with known architectural risk areas, sensitive directories, approved helpers, and custom project conventions.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at b1b34c0. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 months ago

README badge

README badge for h3xar0n/secure-tdd-agent-framework/history-context-seeder