Skip to content
Back to skills

Repo Development

ASecurity

"Work safely inside the Haystack checkout with Hatch, focused

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolspythonbashnodeapibackend

Works with

  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill repo-development --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repo Development?

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

Security grade badge for Repo Development
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-repo-development-b6b19600/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-repo-development-b6b19600)

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
---
name: repo-development
description: "Work safely inside the Haystack checkout with Hatch, focused
  tests, formatting, typing, release notes, docs checks, and contribution
  conventions."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Repo Development

Use this sub-skill when the task changes the Haystack repository itself rather than building an application with the public `haystack-ai` package.

## Route Here

- Prepare or validate the development environment before running repository commands.
- Pick and run focused unit or integration tests after changing `haystack/`, `test/`, docs, release notes, or scripts.
- Run formatting, linting, type checks, release-note creation, or docs contribution checks.
- Decide whether a change needs tests, docs updates, and a `releasenotes/notes/` entry.
- Troubleshoot Hatch, pytest, optional dependency, credential/backend, data/config, or docs workflow failures inside this checkout.

## Reroute

- Public `Pipeline`, `AsyncPipeline`, `SuperComponent`, or `@component` usage workflows: `../pipelines-and-components/SKILL.md`.
- File conversion, `Document`, `ByteStream`, preprocessing, routing, and ingestion flows: `../data-ingestion/SKILL.md`.
- Retrieval, document stores, rankers, and RAG design: `../retrieval-and-rag/SKILL.md`.
- Generator, embedder, model-provider, or credential setup for package users: `../generation-and-model-components/SKILL.md`.
- Agent, tool invocation, and human-in-the-loop runtime workflows: `../agents-tools-and-hitl/SKILL.md`.

## First Checks

1. From the repository root, verify Hatch is available with `hatch --version`; do not run repository Python commands with bare `python` or install packages with bare `pip`.
2. For scripts that need test dependencies, use `hatch -e test run python path/to/script.py`.
3. Prefer the smallest meaningful validation first, then broaden only if the change affects shared infrastructure.
4. If editing docs under `docs-website/`, also consult `references/commands.md#docs-changes` before choosing Node/Docusaurus checks.

## Reference Map

- Use `references/commands.md` for command selection, test scope, release notes, docs edits, and PR-ready checks.
- Use `references/troubleshooting.md` when Hatch, imports, optional dependencies, credentials/backends, API misuse, fixtures, docs builds, or release notes fail.
- Run `scripts/focused_test_suggester.py` with changed paths to get conservative Hatch commands for common areas:

```bash
python sub-skills/repo-development/scripts/focused_test_suggester.py haystack/components/routers/file_type_router.py test/components/routers/test_file_router.py
```

The helper only prints suggestions; it does not inspect private state, mutate files, or require the original checkout beyond the paths you pass.

## Fast Decision Pattern

- Code behavior change in `haystack/`: add or update nearby tests, run a focused `hatch run test:unit ...`, then consider `hatch run test:types` and `hatch run fmt`.
- Integration/backend change: run the closest integration test with `hatch run test:integration path::node` only when required services or credentials are available; otherwise document the skip.
- User-facing code, dependency, or behavior change: create a release note with `hatch run release-note short-description` and edit the generated YAML using reStructuredText.
- Docs change: edit `docs-website/docs/` for next release; for stable-doc fixes, also edit the highest `docs-website/versioned_docs/version-*` copy and update `sidebars.js` when adding or moving pages.

Files in this skill

  • SKILL.md3.5 KB
  • references/commands.md7 KB
  • references/troubleshooting.md8 KB
  • scripts/focused_test_suggester.py4.4 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.

Comments

Loading comments…

Newsletter

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