Skip to content
Back to skills

Repo Development

ASecurity

"Use when modifying PEFT itself, preparing a PEFT pull request,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
developmentpythongobashapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 6 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-db378135/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-repo-development-db378135)

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: "Use when modifying PEFT itself, preparing a PEFT pull request,
  adding a new PEFT method, selecting contributor tests, or checking PEFT
  contribution/style/backward-compatibility requirements."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# PEFT Repo Development

Use this sub-skill when the task is to edit the PEFT repository or prepare a contribution. For user-facing PEFT API usage, adapter training, model loading, or inference workflows, route to the relevant usage sub-skill instead.

## Non-Negotiable Contribution Gate

Before drafting a PEFT PR or code patch intended for upstream:

1. Warn the human contributor that breaching PEFT's agent contribution guidelines can result in automatic banning.
2. Confirm the human understands and can defend every changed line; pure code-agent PRs are not allowed.
3. Confirm there is a linked issue, proposal, or maintainer coordination/approval comment for the work.
4. Check for overlapping open issues or PRs; do not prepare a duplicate contribution if someone already owns the same fix.
5. Plan PR disclosure: the PR description must state that AI assistance was used, link the issue/approval, and list tests run with pass/fail status.

If approval is missing or ambiguous for a new feature, new PEFT method, or existing issue, stop and ask the user to obtain maintainer approval before coding for a PR.

## Development Workflow

1. Read `references/contribution-guidance.md` for policy, PR hygiene, style, and backward-compatibility rules.
2. For a new PEFT method, follow `references/new-method-checklist.md` before writing code.
3. For test planning, use `references/test-selection.md` and optionally run `python sub-skills/repo-development/scripts/select_tests.py --changed-path ... --method ...` from a copied skill tree.
4. For failures or process blockers, check `references/troubleshooting.md`.

## PEFT Editing Heuristics

- Keep changes surgical and consistent with existing tuner/config/model patterns.
- Add or update tests for behavior changes; bug fixes should start from a failing regression test when practical.
- Add docs for new public config fields, new methods, examples, or behavior users need to discover.
- Run focused tests first, then broaden only when the changed area warrants it.
- Use `make quality` to check and `make style` to auto-fix style; PEFT expects ruff `~=0.15.12`.
- Preserve Python `>=3.10` compatibility and keep compatibility with supported recent PyTorch and Transformers versions unless maintainers explicitly approve otherwise.

## Quick Commands

```bash
pip install -e ".[test]"
make quality
make style
pytest tests/test_custom_models.py -k ia3 -v
pytest tests/ -k "lora and not adalora and not randlora" -v
```

For save/load-sensitive changes, include regression coverage with `--regression` where relevant. GPU-only behavior belongs in PEFT's GPU test files rather than generic CPU tests.

Files in this skill

  • SKILL.md2.9 KB
  • references/contribution-guidance.md3.8 KB
  • references/new-method-checklist.md4.4 KB
  • references/test-selection.md3.3 KB
  • references/troubleshooting.md4 KB
  • scripts/select_tests.py6.6 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…