Skip to content
Back to skills

Harness

ASecurity

This skill covers adding the parent directory to the path when running the harness directly. Trigger: When using the harness module in a standalone context.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 26, 2026
developmentpythonbashnextjsfastapiapifrontend

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 26, 2026

npx -y skills add JNZader/repoforge --skill harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Harness?

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

Security grade badge for Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jnzader-harness/badge)](https://www.skillsdirectory.com/skills/jnzader-harness)

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: add-harness-parent-path
description: >
  This skill covers adding the parent directory to the path when running the harness directly.
  Trigger: When using the harness module in a standalone context.
license: Apache-2.0
metadata:
  author: repoforge
  version: "1.0"
  complexity: low
  token_estimate: 350
  dependencies: []
  related_skills: []
  load_priority: high
---

<!-- L1:START -->
# add-harness-parent-path

This skill covers adding the parent directory to the path when running the harness directly.

**Trigger**: When using the harness module in a standalone context.
<!-- L1:END -->

<!-- L2:START -->
## Quick Reference

| Task | Pattern |
|------|---------|
| Create FastAPI CRUD module | `make_fastapi_crud_module` |
| Create Next.js page module | `make_nextjs_page_module` |

## Critical Patterns (Summary)
- **Create FastAPI CRUD module**: Generates a CRUD module for FastAPI.
- **Create Next.js page module**: Generates a page module for Next.js.
<!-- L2:END -->

<!-- L3:START -->
## Critical Patterns (Detailed)

### Create FastAPI CRUD module

Generates a CRUD module for FastAPI, allowing for quick API development.

```python
from eval.harness import make_fastapi_crud_module

module = make_fastapi_crud_module("User")
```

### Create Next.js page module

Generates a page module for Next.js, facilitating frontend development.

```python
from eval.harness import make_nextjs_page_module

module = make_nextjs_page_module("HomePage")
```

## When to Use

- When developing a new FastAPI service and needing CRUD operations.
- When creating a new page in a Next.js application.

## Commands

```bash
python repoforge/cli.py run
```

## Anti-Patterns

### Don't: Hardcode paths

Hardcoding paths can lead to issues with portability and maintainability.

```python
# BAD
import sys
sys.path.append('/absolute/path/to/harness')
```
<!-- L3:END -->

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.