Install
$ agentstack add skill-jnzader-repoforge-test-graph ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Mock RepoMaps Fixtures
This skill covers patterns for mocking RepoMaps in tests.
Trigger: Load this skill when working with test_graph fixtures.
Quick Reference
| Task | Pattern | |------|---------| | Create a small graph fixture | small_graph | | Test adding a node | TestAddNode |
Critical Patterns (Summary)
- small_graph: Provides a predefined small graph for testing.
- TestAddNode: Tests the functionality of adding a node to the graph.
Critical Patterns (Detailed)
small_graph
This pattern provides a predefined small graph for testing purposes, allowing for consistent and repeatable tests.
# Example usage of small_graph
from tests.test_graph import small_graph
def test_small_graph():
assert len(small_graph.nodes) == expected_node_count
TestAddNode
This pattern tests the functionality of adding a node to the graph, ensuring that the graph updates correctly.
# Example usage of TestAddNode
from tests.test_graph import TestAddNode
def test_add_node():
test_case = TestAddNode()
test_case.run()
When to Use
- When you need to create a small graph for unit tests.
- When testing the addition of nodes to a graph structure.
Commands
pytest tests/test_graph.py
Anti-Patterns
Don't: Use real RepoMaps in tests
Using real RepoMaps can lead to flaky tests and inconsistent results.
# BAD
from repo.maps import RepoMap
def test_with_real_repos():
repo = RepoMap()
assert repo is not None
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: JNZader
- Source: JNZader/repoforge
- License: MIT
- Homepage: https://repoforge.javierzader.com
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.