Overview
Welcome to Priset, your autonomous AI engineering partner. This documentation will guide you from installation to mastering the art of 100x development.
What is Priset?
Priset is not just a code completion tool; it is a collaborative AI agent that integrates directly into your IDE. It's built on a "human-in-control" philosophy: we provide the power armor, not a replacement android.
You provide the high-level architectural vision and creative direction. Priset handles the meticulous, time-consuming execution of building, testing, and refactoring your code, allowing you to focus on what truly matters: building great software.
Why Priset? The Problems We Solve
Modern software development is complex. Priset is designed to eliminate the most significant bottlenecks that slow you and your team down:
- Tedious Boilerplate: Stop writing repetitive code for APIs, database models, or UI components.
- Testing Bottlenecks: Stop spending days writing unit and integration tests.
- Legacy Code Paralysis: Stop fearing your old codebase and start modernizing it with confidence.
- Context Switching: Stop searching through files to understand existing patterns.
Priset automates these workflows, turning weeks of work into minutes.
Core Capabilities
Priset operates at a higher level of abstraction than other tools. Here are the core things you can do:
- Instant Architecture: Generate complete, full-stack project scaffolds, microservices, or modules from a single, high-level prompt.
- Autonomous Workflows: Describe the issue or a complex task (also see the section on how to integrate with external tools, e.g. bug tracking tools like JIRA) and watch as Priset plans, codes, and self-corrects to deliver a complete, tested solution.
- Automated Test Suites: Automatically generate high-coverage unit, integration, and even end-to-end tests for new or existing code.
- Whole-Codebase Context: Priset analyzes your entire project to ensure any code it generates is perfectly consistent with your existing patterns, styles, and architecture.
- Legacy Modernization: Safely refactor outdated code (e.g., legacy Java, PHP) into modern, performant, and maintainable languages and frameworks.
Priset will not automatically add tests to your solution, unless you specifically ask for that in your prompt. This ensures your control over whether to create or not to create tests.
Getting Started in 5 Minutes: Your First Win
Let's experience the power of Priset right now. This guide assumes you have already installed the Priset extension for your IDE and you've already logged in.
Objective: Create a new, fully functional REST API endpoint in an existing project.
Step 1: Open the Priset Tool
In your IDE, open the Priset tool and click on the New Session button (this will clear any previous prompts you've entered).
Step 2: Write Your Prompt
In the Priset input box, describe the feature you want to build. Be clear and specific. For example, if you're in a Node.js Express project, you could write:
Create a new REST API endpoint for `GET /api/users/{id}`.
It should:
1. Take a user ID from the URL parameter.
2. Find the user in the PostgreSQL database using the `User` model.
3. If the user is found, return the user object with a 200 status.
4. If not found, return a 404 error with the message "User not found".
5. Also, generate a basic Jest test file to verify both the success and 404 cases.
Step 3: Run the Task
Click on the Run button and watch. Priset will:
- Analyze your project to find your routes, controllers, and models.
- Create or modify the necessary files to add the new route and its controller logic.
- Create a new
user.test.jsfile with the requested tests. - Present a summary of the changes it made for your review.
Congratulations, you've just saved hours of manual work!
Next Steps
Now that you've seen the intro, here's where to go next to become a power user:
- Take a tour of the system and learn more about Priset.
- Master the craft by learning the tricks used by power users.
- Integrate Priset with external tools.