Initial commit

This commit is contained in:
2026-02-28 23:02:05 -05:00
commit 204091ef4c
12 changed files with 351 additions and 0 deletions

17
.github/issue_template/ai-refinement.md vendored Normal file
View File

@@ -0,0 +1,17 @@
---
name: "AI refinement"
about: "Use AI to refine ticket"
ref: "develop"
labels:
- Review/AI
---
Describe your request:
What are you trying to do and what's happening?
How can it be fixed or improved?
Any other useful information? Logs, screenshots, steps to reproduce?

30
.github/issue_template/bug.md vendored Normal file
View File

@@ -0,0 +1,30 @@
---
name: "Bug report"
about: "Encountered an issue"
ref: "develop"
labels:
- Type/Bug
---
# Bug Report
<!-- Description of problem -->
I tried to ...
But instead ...
## Steps to Reproduce
<!-- How can developers replicate & test the problem? -->
1.
2.
3.
## Logs
<!-- Any logs that accompenied the error -->
```
```
## Screenshots
<!-- Screenshots (annoted if possible) of the problem -->

22
.github/issue_template/enhancment.md vendored Normal file
View File

@@ -0,0 +1,22 @@
---
name: "Enhancement"
about: "Request a feature"
ref: "develop"
labels:
- Type/Enhancement
---
# Feature Request
<!-- Detailed description -->
...
## Requirements
<!-- Bullet list of requirments -->
1. ...
2. ...
## Notes
<!-- Any additional considerations, solutions or design choices -->
...

26
.github/issue_template/refactor.md vendored Normal file
View File

@@ -0,0 +1,26 @@
---
name: "Refactor"
about: "Refactor existing system"
ref: "develop"
labels:
- Kind/Refactor
---
# Refactor
<!-- Detailed description -->
The current...
Should be changed/updated to...
## Reasoning
- ...
## Scope
<!-- What systems will this impact -->
- ...
## Notes
<!-- Any additional design considerations -->
...

13
.github/pull_request_template.md vendored Normal file
View File

@@ -0,0 +1,13 @@
## Description
<!-- Addition information & context -->
...
## Issues
<!-- Issues this PR will address -->
- closes #___
- owner/repo#___
## Checklist
<!-- Complete after creating PR -->
- [ ] Reviewed changes (or use `Review/AI` label)
- [ ] Updated comments/documentation

29
.github/workflows/code-review.yaml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Code review
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
jobs:
review:
runs-on: ubuntu-latest
container: node:22
steps:
- name: Fetch code
run: |
git clone "$(echo ${{github.server_url}}/${{github.repository}}.git | sed s%://%://${{github.token}}@% )" .
git checkout ${{ github.event.pull_request.head.sha }}
git fetch origin ${{ github.event.pull_request.base.ref }}
- name: Create review
run: npx -y -p @ztimson/ai-agents@latest review $GITHUB_WORKSPACE
env:
AI_HOST: anthropic
AI_MODEL: claude-sonnet-4-5
AI_TOKEN: ${{ secrets.ANTHROPIC_TOKEN }}
GIT_HOST: ${{ github.server_url }}
GIT_OWNER: ${{ github.repository_owner }}
GIT_REPO: ${{ github.event.repository.name }}
GIT_TOKEN: ${{ secrets.ASSISTANT_TOKEN }}
GIT_BRANCH: origin/${{ github.event.pull_request.base.ref }}
PULL_REQUEST: ${{ github.event.pull_request.number }}

27
.github/workflows/release-creator.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Release Bot
on:
milestone:
types: [closed]
jobs:
release:
runs-on: ubuntu-latest
container: node:22
steps:
- name: Checkout
run: |
git clone "$(echo ${{github.server_url}}/${{github.repository}}.git | sed s%://%://${{github.token}}@% )" .
git checkout ${{ github.event.repository.default_branch }}
- name: Create release
run: npx -y @ztimson/ai-agents@latest release
env:
AI_HOST: anthropic
AI_MODEL: claude-sonnet-4-5
AI_TOKEN: ${{ secrets.ANTHROPIC_TOKEN }}
GIT_HOST: ${{ github.server_url }}
GIT_OWNER: ${{ github.repository_owner }}
GIT_REPO: ${{ github.event.repository.name }}
GIT_TOKEN: ${{ secrets.ASSISTANT_TOKEN }}
MILESTONE: ${{ github.event.milestone.number }}

View File

@@ -0,0 +1,27 @@
name: Ticket refinement
on:
issues:
types: [labeled]
jobs:
format:
runs-on: ubuntu-latest
container: node:22
steps:
- name: Fetch code
run: |
git clone "$(echo ${{github.server_url}}/${{github.repository}}.git | sed s%://%://${{github.token}}@% )" .
git checkout ${{ github.event.repository.default_branch }}
- name: Refine ticket
run: npx -y -p @ztimson/ai-agents@latest refine
env:
AI_HOST: anthropic
AI_MODEL: claude-sonnet-4-5
AI_TOKEN: ${{ secrets.ANTHROPIC_TOKEN }}
GIT_HOST: ${{ github.server_url }}
GIT_OWNER: ${{ github.repository_owner }}
GIT_REPO: ${{ github.event.repository.name }}
GIT_TOKEN: ${{ secrets.ASSISTANT_TOKEN }}
TICKET: ${{ github.event.issue.number }}