# Developer Platform

Welcome to your team’s developer platform

<h2 align="center">What Is Guilde?</h2>

<p align="center">Guilde helps AI generate the most reliable production-ready code. By redesigning each step in the SDLC, Guilde prevents the most common reasons agents waste your time. Automatically inherit the latest tactics, tools, and models so you spend less time refreshing Reddit and more time shipping features.</p>

<p align="center"><a href="https://guilde.ai/talktofounder" class="button primary">Schedule Deployment</a> <a href="https://guilde.ai" class="button secondary">Log in</a></p>

<figure><img src="https://1517489783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfRFbnDn5UWEBzkwSCGma%2Fuploads%2F7V3htxgRSyWQakgM30od%2FGuilde%20Dashboard.png?alt=media&amp;token=5505fd18-67fd-4d47-8f30-a668bda7c306" alt=""><figcaption></figcaption></figure>

### What can Guilde do?

* **Generate & update documentation:** Prevent stale documentation from undermining the quality of AI generated code by continuously updating documentation.&#x20;
* **Identify & eliminate technical debt:** Detect and resolve code quality issues, maintenance burdens, and refactoring opportunities so your team remains focused on the highest impact work.
* **Reduce review burden:** Guilde ensures the integrity of tests, linters, and rules to prevent wasted time and effort during PR reveiws.&#x20;

### How to maximize team's attention

Guilde pairs with developers to help refine their requirements, standardize design patterns and security best practices. That way developers don't need to babysit progress as AI agents develop their plan, to do's or coding. When code is complete, Guilde conducts rigorous unit and end-to-end tests to detect and remediate failures without wasting the team's time. When PRs are ready for review, your team can be confident that all low hanging fruit has already been addressed.

{% columns %}
{% column %}

### Enterprise Grade Security

To enforce enterprise grade security and compliance, Guilde deploys entirely in the customer's cloud and leverages customer supplied LLM API keys.&#x20;

<a href="https://docs.guilde.ai/documentation/" class="button primary" data-icon="rocket-launch">Get started</a>&#x20;
{% endcolumn %}

{% column %}
{% code title="ind" overflow="wrap" %}

```go
./guilde init

```

{% endcode %}
{% endcolumn %}
{% endcolumns %}


# Welcome

Guilde helps AI generate the most reliable production-ready code. By redesigning each step in the SDLC, Guilde prevents the most common reasons agents waste your time. Automatically inherit the latest tactics, tools, and models so you spend less time refreshing Reddit and more time shipping features.

### Jump right in

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-bolt">:bolt:</i></h4></td><td><strong>Guilde Installation</strong></td><td>Create your Guilde Account</td><td><a href="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FzLC9NGfErZPk2gaCq9fn%2FContext%20Window%20Optimization.svg?alt=media&amp;token=3ce232dd-be31-4478-ae33-53984ca81207">Context Window Optimization.svg</a></td><td></td><td><a href="/documentation/getting-started/quickstart-1">Guilde Installation</a></td></tr><tr><td><h4><i class="fa-leaf">:leaf:</i></h4></td><td><strong>User Onboarding</strong></td><td>Get Started Using Guilde</td><td><a href="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FqBr5whLjgH303FeeZwMG%2FClarify%20Requirements%20Illustration%20.png?alt=media&amp;token=45f28efd-cd77-4d5c-96ee-054c0e0f1547">Clarify Requirements Illustration .png</a></td><td></td><td><a href="/documentation/getting-started/quickstart-2">User Onboarding</a></td></tr></tbody></table>


# Customer Hosted Guilde Installation

Follow these steps in order to install Guilde in your cloud.

### Assets Provided By Guilde Support Staff

* URL to access the Guilde installer
* Credentials to access the Guilde AWS ECS Image Registry

### Requirements

* Workstation: The current version of the Guilde installer is an Apple Silicon MacOS binary. More platforms will be available soon.
* Recommended browser: Chrome&#x20;

Before using the Guilde installer, validate that the \~/.aws folder has the necessary permissions to access the AWS account in which Guilde will be installed. Best practice is to use a new AWS sub-account.

The Guilde CLI expects \~/.aws/config to have a default region defined:

```
~/.aws/config
[default]
region = us-west-1 
```

The Guilde CLI expects the \~/.aws/credentials to have same the aws\_access\_key\_id and aws\_secret\_access\_key as the AWS account in which Guilde will be installed.

```
~/.aws/credentials
[default]
aws_access_key_id =
aws_secret_access_key =
```

Note: To locate the access\_key\_id and secret\_access\_key in the AWS console, click on Username in the top right of the screen. Select security credentials and scroll down to Access keys.

### Step 1: Guilde Init

Run:

```
./guilde init
```

Guilde init writes to \~/.guilde/deployments/production

### Step 2: Guilde Installer

The Guilde Installer will ask several questions to complete your installation. When prompted, answer as directed below:

* Where will Guilde be hosted: Define the URL on which you intend to host Guilde (e.g. [guilde.dev.COMPANY.com](http://guilde.dev.front.com/))
* Deployment Size: Small
* Enter the AWS ECS Keys provided by your Guilde representative.  These are provided to give your cluster access to our images.
* AWS Access Key ID: Provided by Guilde team
* AWS Secret Access Key: Provided by Guilde team
* Generate Encryption Key: Yes
* AWS Region: Choose the region you prefer (e.g. us-west-1)
* EKS Cluster: Choose the “new cluster” option
* SSL Certificate: Choose to generate new ACM certificate (Amazon Certificate Manager)
* \* Note that you may see a warning “Could not retrieve validation record: no validation records found” - this is fine.
* Kubernetes Namespace: guilde
* Install AWS Load Balancer Controller: Yes
* Enable AWS Verified Access with Cognito: Yes
* Access Policy Name: guilde-access-policy
* Do you have an existing Cognito User Pool: No, create one
* Allowed Email Domains: include any domains employees have email addresses for - do not include public email services such as gmail.com.  Any user with an email address that matches these filters will be permitted to create an account on the Guilde system.
* Initialize: Yes
* Create EKS Cluster: Yes
* Certificate Validation Required: Add the provided CNAME record to DNS to prove ownership of the domain name to Amazon Certificate Manager:

Type:  CNAME

Name:  XXXXXXX

Value: XXXXXXX

Optional: Navigate to AWS Certificate Manager in the AWS Account on which Guilde will be installed. Select “Certificates” and then the Certificate for the subdomain selected at the beginning of guilde init.  Wait for that certificate to move from “Pending Validation” to “Issued.”

### Step 3: Deployment

Run:

```
./guilde status --deployment production
```

Run:

```
./guilde deploy --deployment production
```

On success, DNS CONFIGURATION REQUIRED will appear

Set up this last CNAME in your DNS.

### Step 3: Install Guilde Application

* To install the Guilde GitHub application, enter the GitHub Organization Name and select “Preview”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FCX3Rj0MKrrEkO24Hsi1j%2FGuilde%20installation%20step%201.png?alt=media&amp;token=c7a44bb2-9052-48c9-b5c8-b5ba0cc39c97" alt=""><figcaption></figcaption></figure>

* Review the GitHub App Configuration and select “Create GitHub App”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FZf9hjJbH6OwtGI7MQ3hW%2FGuilde%20installation%20step%202.png?alt=media&amp;token=5b42bf52-c430-4e35-9f2d-14e7a4bfefa1" alt=""><figcaption></figcaption></figure>

* GitHub App Name will appear. Select “Create GitHub App.”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FdYR3Gkd3u3UcfNdtv40M%2FGuilde%20installation%20step%203.png?alt=media&amp;token=1087b29f-673a-43f8-9a12-389c9497e892" alt=""><figcaption></figcaption></figure>

* Define an Organization Name. Note that this does not need to be the same as the GitHub Organization name. Select “Create Organization.”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2Fy6idWXW5ec0xrtNNtdkS%2FGuilde%20installation%20step%204.png?alt=media&amp;token=d7f9f9a4-143e-40d2-9d14-d3ed384688f9" alt=""><figcaption></figcaption></figure>

* Select “Open in GitHub”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FY0iqU09hvDA9nqtHqK7J%2FGuilde%20installation%20step%205.png?alt=media&amp;token=295186a7-55c8-4c81-b614-9448b5696cbc" alt=""><figcaption></figcaption></figure>

* Select the repositories you intend Guilde to work in, then select “Install.”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FVrG5VS6LFD7pBIsOTnn1%2FGuilde%20installation%20step%206.png?alt=media&amp;token=70bd9c99-9445-4041-bd46-e148e09875b5" alt=""><figcaption></figcaption></figure>

* Select the option to “Continue with GitHub” at the bottom of the Sign In page.

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FWXdYaFPm9hEeHCWUVFLU%2FGuilde%20installation%20step%207.png?alt=media&amp;token=c211e78d-a8d8-4dac-a3ae-f817194a2310" alt=""><figcaption></figcaption></figure>

* Select “Authorize Guilde”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FT2AkRpA6ZlahdXP01bgv%2FGuilde%20installation%20step%208.png?alt=media&amp;token=fac1d869-7d0b-4ca5-b3dc-236728001355" alt=""><figcaption></figcaption></figure>

* Select Sign Up button at the bottom of the Sign In page

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2F53bpfP0AjYPeV1vrebVB%2FGuilde%20installation%20step%209.png?alt=media&amp;token=d2f6d241-826e-4aa8-99b9-45628a1ae1b8" alt=""><figcaption></figcaption></figure>

* Enter email address and define a password. Select “Create Account.”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FpsygRRUNJtyVlVUmHL8P%2FGuilde%20installation%20step%2010.png?alt=media&amp;token=f88401bf-cf09-4ed6-94c5-98159a16e17c" alt=""><figcaption></figcaption></figure>

* Select “Link GitHub Account”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FJXpeIHgoSYqlhhNhMv9E%2FGuilde%20installation%20step%2011.png?alt=media&amp;token=d6d253e7-cda8-4178-8118-3ddd831622c4" alt=""><figcaption></figcaption></figure>

* &#x20;Upon success, the message “GitHub account linked successfully” will appear:

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2F2ftx6cXvQHXdyY6tnSVW%2FGuilde%20installation%20step%2012.png?alt=media&amp;token=b7628fc0-2011-4958-b67a-49b3a94106f2" alt=""><figcaption></figcaption></figure>

### Step 4: Configure LLM API Keys

* Copy and paste the OpenAI and Anthropic API keys that were already provisioned into the Guilde Application
* Select “Save Changes”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2Fao8YQG22gnMb45TDMHAm%2FGuilde%20Installation%20Step%2014.png?alt=media&amp;token=cc62db88-fbb0-4ea6-9702-303be37e1925" alt=""><figcaption></figcaption></figure>

### Step 5: Initiate Your First Sprint

* In the Guilde application, navigate to the Dashboard page and select “New Sprint.”
* Name the sprint “documentation-001” and assign it the same working branch name: documentation-001. Be sure to choose a branch name that does not yet exist in the repository.
* Select the repository
* The base branch will be automatically generated
* Select the “Documentation-workflow” &#x20;
* Select Create.
* Once workflow complete, please review the generated documentation on the branch "documentation-001"

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FGviUZE4FLzM7ykpWDc0g%2FGuilde%20Create%20Documentation%20Sprint.png?alt=media&amp;token=e4053acd-7281-422d-872f-9a5feca6c536" alt=""><figcaption></figcaption></figure>

* After the Sprint completes, review the documentation Guilde generates.

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FNAU0NCy5b4AG9JLCEq5V%2FGuilde%20Generated%20Documentation.png?alt=media&amp;token=2d41639b-258c-471e-bc58-842fc8fe8969" alt=""><figcaption></figcaption></figure>

* Review the code quality issues identified in the Technical Debt Analysis and consider creating Sprints to mitigate each issue.

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FuCKUtvCQYUjV87CplDgq%2FGuilde%20Identified%20Code%20Quality%20Issues%20in%20Technical%20Debt%20Analysis.png?alt=media&amp;token=a7df94d5-4fb9-4e5c-a504-063d913db0fa" alt=""><figcaption></figcaption></figure>


# Guilde Installation

Follow these steps in order to install Guilde.

### Step 1: Register for Firewall

* Visit the URL provided by your Account Administrator to begin the Sign Up process for your firewall.&#x20;
* Select “Sign Up” option to create an AWS Verified Access account in order to securely access the Guilde application.

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2F3DxHwJ54wFT7mBaxCnkx%2FGuilde%20Sign%20Up%20Step%201.png?alt=media&amp;token=907858ea-6b8a-4a11-ae76-4d44dd8d9bf8" alt=""><figcaption></figcaption></figure>

* Enter your company email address & define a password then click "Sign Up." Only email addresses from your corporate domain will be valid.

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2F1pQVssUqTviMzraKJD2D%2FGuilde%20Sign%20Up%20Step%202.png?alt=media&amp;token=97421781-2ce7-41df-8b35-191a1413df6b" alt=""><figcaption></figcaption></figure>

* Retrieve Account Verification Code by navigating to your email provider. Look for an email from “verificationemail.com”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2F1kwBpQcb42Q7uXbpZRKY%2FGuilde%20Sign%20Up%20Step%203.png?alt=media&amp;token=8004a5fd-109f-4a1f-a6da-66ceb0ae26f2" alt=""><figcaption></figcaption></figure>

### Step 2: Install Guilde GitHub Application

* To install the Guilde GitHub application, enter the GitHub Organization Name and select “Preview”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FCX3Rj0MKrrEkO24Hsi1j%2FGuilde%20installation%20step%201.png?alt=media&amp;token=c7a44bb2-9052-48c9-b5c8-b5ba0cc39c97" alt=""><figcaption></figcaption></figure>

* Review the GitHub App Configuration and select “Create GitHub App”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FZf9hjJbH6OwtGI7MQ3hW%2FGuilde%20installation%20step%202.png?alt=media&amp;token=5b42bf52-c430-4e35-9f2d-14e7a4bfefa1" alt=""><figcaption></figcaption></figure>

* GitHub App Name will appear. Select “Create GitHub App.”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FdYR3Gkd3u3UcfNdtv40M%2FGuilde%20installation%20step%203.png?alt=media&amp;token=1087b29f-673a-43f8-9a12-389c9497e892" alt=""><figcaption></figcaption></figure>

* Name your Organization. Note that this does not need to be the same as the GitHub Organization name. Select “Create Organization.”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2Fy6idWXW5ec0xrtNNtdkS%2FGuilde%20installation%20step%204.png?alt=media&amp;token=d7f9f9a4-143e-40d2-9d14-d3ed384688f9" alt=""><figcaption></figcaption></figure>

* Select “Open in GitHub”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FY0iqU09hvDA9nqtHqK7J%2FGuilde%20installation%20step%205.png?alt=media&amp;token=295186a7-55c8-4c81-b614-9448b5696cbc" alt=""><figcaption></figcaption></figure>

* Select the repositories you intend Guilde to work in, then select “Install.”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FVrG5VS6LFD7pBIsOTnn1%2FGuilde%20installation%20step%206.png?alt=media&amp;token=70bd9c99-9445-4041-bd46-e148e09875b5" alt=""><figcaption></figcaption></figure>

* Select “Authorize Guilde”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FT2AkRpA6ZlahdXP01bgv%2FGuilde%20installation%20step%208.png?alt=media&amp;token=fac1d869-7d0b-4ca5-b3dc-236728001355" alt=""><figcaption></figcaption></figure>

### Step 3: Register for Guilde&#x20;

* Now that you can access your account behind the firewall, you will create your Guilde user account. Select Sign Up button at the bottom of the Sign In page

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2F53bpfP0AjYPeV1vrebVB%2FGuilde%20installation%20step%209.png?alt=media&amp;token=d2f6d241-826e-4aa8-99b9-45628a1ae1b8" alt=""><figcaption></figcaption></figure>

* Enter email address and define a password. Select “Create Account.”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FpsygRRUNJtyVlVUmHL8P%2FGuilde%20installation%20step%2010.png?alt=media&amp;token=f88401bf-cf09-4ed6-94c5-98159a16e17c" alt=""><figcaption></figcaption></figure>

* Select “Link GitHub Account”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FJXpeIHgoSYqlhhNhMv9E%2FGuilde%20installation%20step%2011.png?alt=media&amp;token=d6d253e7-cda8-4178-8118-3ddd831622c4" alt=""><figcaption></figcaption></figure>

* &#x20;Upon success, the message “GitHub account linked successfully” will appear:

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2F2ftx6cXvQHXdyY6tnSVW%2FGuilde%20installation%20step%2012.png?alt=media&amp;token=b7628fc0-2011-4958-b67a-49b3a94106f2" alt=""><figcaption></figcaption></figure>

### Step 4: Configure LLM API Keys

* Copy and paste the OpenAI and Anthropic API keys that were already provisioned into the Guilde Application
* Select “Save Changes”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2Fao8YQG22gnMb45TDMHAm%2FGuilde%20Installation%20Step%2014.png?alt=media&amp;token=cc62db88-fbb0-4ea6-9702-303be37e1925" alt=""><figcaption></figcaption></figure>

### Step 5: Restart Service

* Before you can initiate your first sprint, you MUST restart the service. We apologize for the inconvenience.
* Navigate to the Settings Tab and scroll down to the bottom of the page. Click "Restart Services"&#x20;

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FA2LrHCiVcK35ViI6QqND%2FGuilde%20Restart%20Services.png?alt=media&amp;token=bc9bd165-9854-442c-b3cf-f90a7acbc86f" alt=""><figcaption></figcaption></figure>

### Step 6: Initiate Your First Sprint

* In the Guilde application, navigate to the Dashboard page and select “New Sprint.”
* Select the repository
* Paste in an existing spec or type in a rough idea of what you'd like to build.&#x20;
* Select Create.

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2F0Iyq8QYCcUEg7VdH0P3U%2FGuilde%20Create%20New%20Sprint.png?alt=media&amp;token=0cc0a3bb-b8fc-492f-a3e6-7f611636ad2f" alt=""><figcaption></figcaption></figure>

* Once the sprint completes, it's status will appear as "Done and Pushed" in the Dashboard. You can navigate to GitHub to review the branch.&#x20;


# User Onboarding

Guilde helps AI generate the most reliable production-ready code. By redesigning each step in the SDLC, Guilde prevents the most common reasons agents waste your time. Automatically inherit the latest

### Sign Up For An Account

* Visit the URL provided by your Account Administrator to begin the Sign Up process for your firewall.&#x20;
* AWS Verified Access Sign Up Process: Select “Sign Up” option to create an AWS Verified Access account in order to securely access the Guilde application.

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2F3veevrFeqoafL9eBgOhg%2FGuilde%20User%20Onboarding%20Step%201.png?alt=media&amp;token=bdea9e33-9a0b-4a39-a5a2-ca9aaf365d90" alt=""><figcaption></figcaption></figure>

* Create an Email and Password and select “Sign Up”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2F756lFnzy5e9ab4rYYb3u%2FGuilde%20User%20Onboarding%20Step%202.png?alt=media&amp;token=f3a4fb02-3765-40e8-a658-027f8c85b40c" alt=""><figcaption></figcaption></figure>

* Retrieve Account Verification Code by navigating to your email provider. Look for an email from “verificationemail.com”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FfYiidJ1S2nKvXJulGR6K%2FGuilde%20User%20Onboarding%20Step%203.png?alt=media&amp;token=2f2d8cd6-a35a-428a-b363-d14b308aad05" alt=""><figcaption></figcaption></figure>

* Verify Account by copying and pasting the confirmation code into the Guilde UI. Select “Confirm Account.”&#x20;

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FIIB7IoI6ghnAqBvL7kCj%2FGuilde%20User%20Onboarding%20Step%204.png?alt=media&amp;token=880c55e0-73e9-4406-91da-ea9eeb9d09d9" alt=""><figcaption></figcaption></figure>

* Guilde Application Sign Up Process: Select Sign Up button at the bottom of the Sign In page

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FSHo0BBCebDR492wMvfsq%2FGuilde%20User%20Onboarding%20Step%205.png?alt=media&amp;token=4f874d6b-5e7c-46b3-a619-e16d0a690721" alt=""><figcaption></figcaption></figure>

* Enter email address and define a password. Select “Create Account.”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FVNOinu2FRvrvxuXi89kc%2FGuilde%20User%20Onboarding%20Step%206.png?alt=media&amp;token=80c9e870-39b4-4849-b27f-ac88202fe74b" alt=""><figcaption></figcaption></figure>

* Select “Link GitHub Account”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FXHh0Sx1unVkt4WX2ZWTn%2FGuilde%20User%20Onboarding%20Step%207.png?alt=media&amp;token=d7c09a16-3d1b-40d9-8193-a987ee905815" alt=""><figcaption></figcaption></figure>

* Authorize Guilde: Select “Authorize Guilde”

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FP2A3jHbGRGAhwCSERWWK%2FGuilde%20User%20Onboarding%20Step%208.png?alt=media&amp;token=5591de97-cf43-43b8-8eda-f55014074d90" alt=""><figcaption></figcaption></figure>

### Initiate Your First Sprint

* In the Guilde application, navigate to the Dashboard page and select “New Sprint.”
* Name the sprint “documentation-001” and assign it the same working branch name: documentation-001. Be sure to choose a branch name that does not yet exist in the repository.
* Select the repository
* The base branch will be automatically generated
* Select the “Documentation-workflow” &#x20;
* Select Create.
* Once workflow complete, please review the generated documentation on the branch "documentation-001"

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FGviUZE4FLzM7ykpWDc0g%2FGuilde%20Create%20Documentation%20Sprint.png?alt=media&amp;token=e4053acd-7281-422d-872f-9a5feca6c536" alt=""><figcaption></figcaption></figure>

* After the Sprint completes, review the documentation Guilde generates.

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FNAU0NCy5b4AG9JLCEq5V%2FGuilde%20Generated%20Documentation.png?alt=media&amp;token=2d41639b-258c-471e-bc58-842fc8fe8969" alt=""><figcaption></figcaption></figure>

* Review the code quality issues identified in the Technical Debt Analysis and consider creating Sprints to mitigate each issue.

<figure><img src="https://2329410526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFap138hr6ZVkYuvU3nI%2Fuploads%2FuCKUtvCQYUjV87CplDgq%2FGuilde%20Identified%20Code%20Quality%20Issues%20in%20Technical%20Debt%20Analysis.png?alt=media&amp;token=a7df94d5-4fb9-4e5c-a504-063d913db0fa" alt=""><figcaption></figcaption></figure>


# Concepts

A summary of the core concepts used by Guilde

| Concept       | Definition                                                                                                                                                                                                          |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Sprint        | A markdown file (ex: `documentation.md`) that defines what you intend to build.                                                                                                                                     |
| Workflow      | The instructions and agent assignments to build a sprint.                                                                                                                                                           |
| Documentation | The analysis Guilde performs to understand the codebase structure, security, performance, code consistency, architecture, cyclomatic complexity and technical debt for any repository Guilde will generate code in. |

### Workflow

A WORKFLOW orchestrates several CODING AGENTS, as directed by the WORKFLOW STEPS and the AGENT definitions.

Each WORKFLOW STEP is afforded its own CODING AGENT and CONTEXT WINDOW.  WORKFLOW STEPs collaborate in a defined fashion to build software. The prompts in WORKFLOW STEPs instruct the CODING AGENT. &#x20;

Note that the same CODING AGENT can be used for 1 or more WORKFLOW STEPs.

Users can customize WORKFLOWs and AGENTs by modifying files in their repositories.

WORKFLOWS can be found at: `/.guilde/workflows/`

AGENTS can be found at: `/.opencode/agent/`

### Adding Workflow Templates

* Guilde includes a library of Workflow Templates to help you get started and improve the quality of the code Guilde authors. To adopt these templates, you will need to:
* Download this file: <https://sdlc-manifest.guilde.ai/DXJL6I1YHB/customer-template.zip>:&#x20;
* Unzip the file
* From the customer-template, copy the .guilde and .opencode folders into the root of your git repository. &#x20;
* Recreate the structure of docs/sprints/sprint-0001/sprint-0001.md in your repository or copy in the docs directory from the customer-template. &#x20;
* Push those changes and merge them into your default branch. Wait 5 minutes for those assets to be accessible to Guilde.


# Example Sprint

How Guilde's sprint documents are formatted

Sprints are markdown documents that define the requirements of software you intend to build. They serve as inputs to Guilde Workflows that refine, execute, and test the software.

A sprint includes:&#x20;

* Overview
* Context
* Requirements
* Approach

For example:&#x20;

```
install go

## Overview
Implement a centralized YAML-based configuration system to manage all git-forensics-demo settings, flags, and options.

This system will serve as the foundation for all configurable parameters across the application.

## Context
Currently, git-forensics-demo relies on command-line flags for configuration.

This approach limits flexibility and makes it difficult to maintain consistent settings across runs.

A YAML-based configuration system will provide a centralized, persistent, and flexible way to manage all application settings.

## Requirements
- YAML configuration file with sensible defaults at `~/.git-forensics-demo/config.yml`
- Support for environment variable override via `$CONFIG_FILE`
- Command-line flag `--config <file>` to specify custom config location
- All existing CLI flags should be configurable via YAML
- Configuration precedence: Config file > Defaults
- the CLI should no longer take in any positional arguments other than the repository name that we are analyzing
- Validate configuration on load with clear error messages
- the only flag argument that can be provided is the config file path --config <config>


## Approach

use TDD. Ensure that the requirements are covered by tests. If there are existing tests that have a similar scope
for old behavior, they should be modified. For a given incremental feature we should make the test, then make implement

i.e,. test1, impl1, test2, impl2, ..., test_n, impl_n
```


# Help Center

<h2 align="center">What can we help you find?</h2>

<p align="center">Browse the topics below.</p>

<p align="center"><a href="https://gitbook.com/" class="button primary">Visit Website</a> <a href="https://guilde.ai/talktofounder" class="button secondary">Contact support</a></p>

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td><h4><i class="fa-leaf">:leaf:</i></h4></td><td><strong>Getting started</strong></td><td>Get help deploying Guilde</td><td><a href="/documentation/getting-started/quickstart">Customer Hosted Guilde Installation</a></td><td><a href="https://3315040485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUCSFHwDVU1GSlfJ95MJo%2Fuploads%2Fl0gibIq9lBSAgfB5TFit%2FStarted%20In%20Seconds.png?alt=media&amp;token=761931e3-980d-48fd-873f-06683075691c">Started In Seconds.png</a></td></tr><tr><td><h4><i class="fa-plug">:plug:</i></h4></td><td><strong>Concepts</strong></td><td>Learn how Guilde works</td><td><a href="/documentation/basics/editor">Basics</a></td><td><a href="https://3315040485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUCSFHwDVU1GSlfJ95MJo%2Fuploads%2FXF8uukL0ySI96sTgvrh9%2FOptimize%20Context%20Illustration.png?alt=media&amp;token=af0ea222-232c-42e6-97b0-71ef0fc85f6f">Optimize Context Illustration.png</a></td></tr><tr><td><h4><i class="fa-money-bill-wave">:money-bill-wave:</i></h4></td><td>Meet The Team</td><td>Learn who is building Guilde</td><td><a href="https://guilde.ai/about">https://guilde.ai/about</a></td><td><a href="https://3315040485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUCSFHwDVU1GSlfJ95MJo%2Fuploads%2FCLXxbRabb1iOcjNxP6Iy%2FClarify%20Requirements%20Illustration%20.png?alt=media&amp;token=6549997f-df92-451f-991d-788131e81b59">Clarify Requirements Illustration .png</a></td></tr></tbody></table>


