PIV Spec-Kit is a structured framework for AI-assisted development. It combines Prime-Implement-Validate methodology with strict Test-Driven Development. Benefits developers by ensuring high code quality and reducing errors. Integrates with Claude AI for code generation and validation. Suitable for Node.js, Python, React, and Spring Boot projects.
git clone https://github.com/galando/piv-speckit.gitPIV Spec-Kit is a structured framework for AI-assisted development. It combines Prime-Implement-Validate methodology with strict Test-Driven Development. Benefits developers by ensuring high code quality and reducing errors. Integrates with Claude AI for code generation and validation. Suitable for Node.js, Python, React, and Spring Boot projects.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/galando/piv-speckitCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Using the PIV Spec-Kit framework, create a [COMPONENT] for a [PROJECT] in [LANGUAGE]. Follow these steps: 1) Prime: Define the requirements and acceptance criteria. 2) Implement: Generate the code using AI assistance. 3) Validate: Write and run tests to ensure the code meets the criteria. Provide the code and test cases.
# PIV Spec-Kit Implementation for User Authentication Service
## Prime
- **Requirements**:
- Users must be able to register with email and password
- Users must be able to log in with email and password
- Passwords must be hashed before storage
- Users must be able to reset their password via email
- **Acceptance Criteria**:
- All user data must be validated before processing
- All user inputs must be sanitized to prevent XSS attacks
- All database queries must use parameterized queries
## Implement
```python
# User model
class User:
def __init__(self, email, password):
self.email = email
self.password = self._hash_password(password)
def _hash_password(self, password):
# Hashing logic here
return hashed_password
# Authentication service
class AuthService:
def register(self, email, password):
# Registration logic here
return user
def login(self, email, password):
# Login logic here
return user or None
def reset_password(self, email):
# Password reset logic here
return success or failure
```
## Validate
```python
# Test cases
import unittest
from auth_service import AuthService
class TestAuthService(unittest.TestCase):
def setUp(self):
self.service = AuthService()
def test_register(self):
user = self.service.register('test@example.com', 'password123')
self.assertIsNotNone(user)
self.assertEqual(user.email, 'test@example.com')
def test_login(self):
self.service.register('test@example.com', 'password123')
user = self.service.login('test@example.com', 'password123')
self.assertIsNotNone(user)
def test_reset_password(self):
self.service.register('test@example.com', 'password123')
success = self.service.reset_password('test@example.com')
self.assertTrue(success)
```AI-powered note-taking for admin work
Hey, what’s on your mind today?
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan