Developer Testing Pack
A practical testing workflow for developers and AI coding agents. Review code for weaknesses, identify missing coverage and edge cases, then generate focused automated tests around real behavior, errors, boundaries, and regression risks. Designed to produce maintainable tests without claiming execution or passing results that were not actually verified.
Works with any agent that signs in to Agensi, such as Claude, ChatGPT, Claude Code, Cursor and Codex CLI.
One payment, lifetime access. 2 skills unlock instantly in your library.
What's included
2 skillsSee it in action
Code Sentinel
Example session with this skill installed
Review this Python snippet for a new API endpoint:
def get_user(request):
user_id = request.GET.get('id')
user = db.execute("SELECT * FROM users WHERE id = " + user_id)
return user
- Read your context and instructions
- Compiled the code sentinel
I have completed a static review of the provided Python snippet. The analysis identified a critical security vulnerability regarding SQL injection and a potential runtime crash.
Review Summary
The code lacks input validation and uses unsafe string concatenation for database queries. This exposes the application to unauthorized data access.
Findings
| ID | Severity | Confidence | Location | Finding |
|---|---|---|---|---|
| CR-01 | Critical | High | db.execute(...) | SQL Injection vulnerability via unsanitized input. |
| CR-02 | High | High | request.GET.get('id') | Potential NoneType error if 'id' parameter is missing. |
| CR-03 | Low | Medium | SELECT * | Inefficient data retrieval; fetches unnecessary columns. |
CR-01: SQL Injection
- Evidence: The code directly concatenates
user_idfrom the request into the SQL string. - Impact: An attacker can pass
1 OR 1=1to dump the entire users table or1; DROP TABLE usersto delete data. - Fix: Use parameterized queries.
# Fix
user = db.execute("SELECT * FROM users WHERE id = %s", (user_id,))
CR-02: Missing Input Validation
- Evidence:
request.GET.get('id')returnsNoneif the key is missing. The subsequent concatenation will fail. - Impact: The application will throw a
TypeErrorand return a 500 status code to the user. - Fix: Add a check for the existence of
user_id.
# Fix
user_id = request.GET.get('id')
if not user_id:
return "Missing ID", 400
Recommended Verification
- Attempt to access the endpoint without an
idparameter to confirm 400 error handling. - Test the endpoint with a non-numeric string to ensure the database driver handles type mismatches in parameterized queries.
Next steps
- Replace all string-concatenated queries in the module with the parameterized pattern shown in CR-01.
- Implement a global middleware or utility function for standardizing API error responses.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads these skills and uses them on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every skill in this bundle goes through our trust checks.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.