proagents 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/package.json +1 -1
- package/proagents/AI_INSTRUCTIONS.md +440 -0
- package/proagents/PROAGENTS.md +41 -0
package/README.md
CHANGED
|
@@ -357,6 +357,42 @@ Type these in any AI assistant (Claude, ChatGPT, Gemini, Cursor, etc.):
|
|
|
357
357
|
| `pa:tag` | Create git tag |
|
|
358
358
|
| `pa:publish` | Publish package to registry |
|
|
359
359
|
|
|
360
|
+
### Code Review & PR
|
|
361
|
+
| Command | Description |
|
|
362
|
+
|---------|-------------|
|
|
363
|
+
| `pa:review-request` | Request code review from team |
|
|
364
|
+
| `pa:review-comments` | Show PR review comments |
|
|
365
|
+
| `pa:review-approve` | Approve current PR |
|
|
366
|
+
|
|
367
|
+
### Architecture
|
|
368
|
+
| Command | Description |
|
|
369
|
+
|---------|-------------|
|
|
370
|
+
| `pa:architecture` | Show architecture overview |
|
|
371
|
+
| `pa:architecture-diagram` | Generate diagram (Mermaid) |
|
|
372
|
+
| `pa:architecture-export` | Export diagram (SVG/PNG) |
|
|
373
|
+
|
|
374
|
+
### API Testing
|
|
375
|
+
| Command | Description |
|
|
376
|
+
|---------|-------------|
|
|
377
|
+
| `pa:api-test` | Test API endpoints |
|
|
378
|
+
| `pa:curl` | Generate curl commands |
|
|
379
|
+
| `pa:postman` | Generate Postman collection |
|
|
380
|
+
|
|
381
|
+
### Health & Monitoring
|
|
382
|
+
| Command | Description |
|
|
383
|
+
|---------|-------------|
|
|
384
|
+
| `pa:health` | Project health check |
|
|
385
|
+
| `pa:monitor` | Show monitoring status |
|
|
386
|
+
| `pa:uptime` | Service uptime check |
|
|
387
|
+
|
|
388
|
+
### Quick Actions
|
|
389
|
+
| Command | Description |
|
|
390
|
+
|---------|-------------|
|
|
391
|
+
| `pa:quick` | Show quick actions menu |
|
|
392
|
+
| `pa:alias` | Manage command aliases |
|
|
393
|
+
| `pa:alias-add` | Add custom alias |
|
|
394
|
+
| `pa:alias-remove` | Remove custom alias |
|
|
395
|
+
|
|
360
396
|
### Custom Commands
|
|
361
397
|
| Command | Description |
|
|
362
398
|
|---------|-------------|
|
package/package.json
CHANGED
|
@@ -1535,6 +1535,446 @@ For `pa:publish`:
|
|
|
1535
1535
|
https://www.npmjs.com/package/mypackage
|
|
1536
1536
|
```
|
|
1537
1537
|
|
|
1538
|
+
### Code Review & PR
|
|
1539
|
+
| Command | Action |
|
|
1540
|
+
|---------|--------|
|
|
1541
|
+
| `pa:review-request` | Request code review from team |
|
|
1542
|
+
| `pa:review-request "user"` | Request review from specific user |
|
|
1543
|
+
| `pa:review-comments` | Show PR review comments |
|
|
1544
|
+
| `pa:review-comments "pr"` | Comments for specific PR |
|
|
1545
|
+
| `pa:review-approve` | Approve current PR |
|
|
1546
|
+
| `pa:review-approve "pr"` | Approve specific PR |
|
|
1547
|
+
|
|
1548
|
+
**How to execute Code Review commands:**
|
|
1549
|
+
|
|
1550
|
+
For `pa:review-request`:
|
|
1551
|
+
1. Detect current branch and PR status
|
|
1552
|
+
2. If no PR exists, suggest creating one first
|
|
1553
|
+
3. Get team members from config or git history
|
|
1554
|
+
4. Request review:
|
|
1555
|
+
```
|
|
1556
|
+
Review Request
|
|
1557
|
+
══════════════
|
|
1558
|
+
|
|
1559
|
+
PR: #123 - Add user authentication
|
|
1560
|
+
Branch: feature/user-auth
|
|
1561
|
+
|
|
1562
|
+
Requesting review from:
|
|
1563
|
+
• @tech-lead (suggested - code owner)
|
|
1564
|
+
• @senior-dev (suggested - recent contributor)
|
|
1565
|
+
|
|
1566
|
+
Select reviewers or type username:
|
|
1567
|
+
> @tech-lead, @qa-engineer
|
|
1568
|
+
|
|
1569
|
+
✓ Review requested from 2 reviewers
|
|
1570
|
+
```
|
|
1571
|
+
|
|
1572
|
+
For `pa:review-comments`:
|
|
1573
|
+
1. Get PR comments from GitHub/GitLab
|
|
1574
|
+
2. Group by file and status:
|
|
1575
|
+
```
|
|
1576
|
+
PR Review Comments
|
|
1577
|
+
══════════════════
|
|
1578
|
+
|
|
1579
|
+
PR #123: Add user authentication
|
|
1580
|
+
Status: Changes requested (2 pending)
|
|
1581
|
+
|
|
1582
|
+
src/auth/login.ts:
|
|
1583
|
+
├─ Line 45 [PENDING] @tech-lead:
|
|
1584
|
+
│ "Consider using bcrypt instead of md5 for hashing"
|
|
1585
|
+
│
|
|
1586
|
+
└─ Line 78 [RESOLVED] @qa-engineer:
|
|
1587
|
+
"Add error handling for network failures"
|
|
1588
|
+
|
|
1589
|
+
src/api/users.ts:
|
|
1590
|
+
└─ Line 12 [PENDING] @tech-lead:
|
|
1591
|
+
"Missing input validation"
|
|
1592
|
+
|
|
1593
|
+
Actions:
|
|
1594
|
+
• Reply to comment: pa:review-reply "comment-id" "response"
|
|
1595
|
+
• Resolve comment: pa:review-resolve "comment-id"
|
|
1596
|
+
```
|
|
1597
|
+
|
|
1598
|
+
For `pa:review-approve`:
|
|
1599
|
+
1. Check all required checks pass
|
|
1600
|
+
2. Verify no pending comments
|
|
1601
|
+
3. Approve PR:
|
|
1602
|
+
```
|
|
1603
|
+
PR Approval
|
|
1604
|
+
═══════════
|
|
1605
|
+
|
|
1606
|
+
PR #123: Add user authentication
|
|
1607
|
+
|
|
1608
|
+
Checks:
|
|
1609
|
+
✓ Tests passing
|
|
1610
|
+
✓ Build successful
|
|
1611
|
+
✓ No conflicts
|
|
1612
|
+
⚠ 1 pending comment (optional)
|
|
1613
|
+
|
|
1614
|
+
Approve anyway? [y/N]
|
|
1615
|
+
|
|
1616
|
+
✓ PR approved!
|
|
1617
|
+
Ready to merge.
|
|
1618
|
+
```
|
|
1619
|
+
|
|
1620
|
+
### Architecture
|
|
1621
|
+
| Command | Action |
|
|
1622
|
+
|---------|--------|
|
|
1623
|
+
| `pa:architecture` | Show architecture overview |
|
|
1624
|
+
| `pa:architecture "module"` | Architecture for specific module |
|
|
1625
|
+
| `pa:architecture-diagram` | Generate architecture diagram |
|
|
1626
|
+
| `pa:architecture-export` | Export architecture docs |
|
|
1627
|
+
|
|
1628
|
+
**How to execute Architecture commands:**
|
|
1629
|
+
|
|
1630
|
+
For `pa:architecture`:
|
|
1631
|
+
1. Analyze project structure
|
|
1632
|
+
2. Identify architectural patterns
|
|
1633
|
+
3. Generate overview:
|
|
1634
|
+
```
|
|
1635
|
+
Architecture Overview
|
|
1636
|
+
═════════════════════
|
|
1637
|
+
|
|
1638
|
+
Project: my-app
|
|
1639
|
+
Type: Full-stack Next.js
|
|
1640
|
+
Pattern: Clean Architecture + Feature-based
|
|
1641
|
+
|
|
1642
|
+
Layers:
|
|
1643
|
+
┌─────────────────────────────────────────┐
|
|
1644
|
+
│ Presentation (app/, components/) │
|
|
1645
|
+
│ ┌───────────────────────────────────┐ │
|
|
1646
|
+
│ │ Application (services/, hooks/) │ │
|
|
1647
|
+
│ │ ┌─────────────────────────────┐ │ │
|
|
1648
|
+
│ │ │ Domain (types/, entities/) │ │ │
|
|
1649
|
+
│ │ └─────────────────────────────┘ │ │
|
|
1650
|
+
│ └───────────────────────────────────┘ │
|
|
1651
|
+
└─────────────────────────────────────────┘
|
|
1652
|
+
|
|
1653
|
+
Key Components:
|
|
1654
|
+
• API Routes: /app/api/* (15 endpoints)
|
|
1655
|
+
• Pages: /app/* (12 pages)
|
|
1656
|
+
• Components: /components/* (45 components)
|
|
1657
|
+
• Services: /services/* (8 services)
|
|
1658
|
+
|
|
1659
|
+
Dependencies:
|
|
1660
|
+
• Database: PostgreSQL via Prisma
|
|
1661
|
+
• Auth: NextAuth.js with JWT
|
|
1662
|
+
• State: Zustand + React Query
|
|
1663
|
+
• Styling: Tailwind CSS
|
|
1664
|
+
|
|
1665
|
+
Patterns Detected:
|
|
1666
|
+
• Repository Pattern (services/)
|
|
1667
|
+
• Factory Pattern (components/forms/)
|
|
1668
|
+
• Singleton (lib/prisma.ts)
|
|
1669
|
+
```
|
|
1670
|
+
|
|
1671
|
+
For `pa:architecture-diagram`:
|
|
1672
|
+
1. Generate Mermaid diagram from codebase
|
|
1673
|
+
2. Show component relationships:
|
|
1674
|
+
```mermaid
|
|
1675
|
+
graph TB
|
|
1676
|
+
subgraph Presentation
|
|
1677
|
+
Pages[Pages]
|
|
1678
|
+
Components[Components]
|
|
1679
|
+
end
|
|
1680
|
+
|
|
1681
|
+
subgraph Application
|
|
1682
|
+
Services[Services]
|
|
1683
|
+
Hooks[Hooks]
|
|
1684
|
+
end
|
|
1685
|
+
|
|
1686
|
+
subgraph Infrastructure
|
|
1687
|
+
API[API Routes]
|
|
1688
|
+
DB[(Database)]
|
|
1689
|
+
end
|
|
1690
|
+
|
|
1691
|
+
Pages --> Components
|
|
1692
|
+
Pages --> Hooks
|
|
1693
|
+
Hooks --> Services
|
|
1694
|
+
Services --> API
|
|
1695
|
+
API --> DB
|
|
1696
|
+
```
|
|
1697
|
+
3. Save to `./docs/architecture.md`
|
|
1698
|
+
|
|
1699
|
+
### API Testing
|
|
1700
|
+
| Command | Action |
|
|
1701
|
+
|---------|--------|
|
|
1702
|
+
| `pa:api-test` | Test API endpoints |
|
|
1703
|
+
| `pa:api-test "endpoint"` | Test specific endpoint |
|
|
1704
|
+
| `pa:curl` | Generate curl commands |
|
|
1705
|
+
| `pa:curl "endpoint"` | Curl for specific endpoint |
|
|
1706
|
+
| `pa:postman` | Generate Postman collection |
|
|
1707
|
+
| `pa:postman-export` | Export to Postman file |
|
|
1708
|
+
|
|
1709
|
+
**How to execute API Testing commands:**
|
|
1710
|
+
|
|
1711
|
+
For `pa:api-test`:
|
|
1712
|
+
1. Discover API endpoints from routes
|
|
1713
|
+
2. Generate and run tests:
|
|
1714
|
+
```
|
|
1715
|
+
API Test Results
|
|
1716
|
+
════════════════
|
|
1717
|
+
|
|
1718
|
+
Testing: /api/*
|
|
1719
|
+
Environment: development (localhost:3000)
|
|
1720
|
+
|
|
1721
|
+
GET /api/users
|
|
1722
|
+
├─ Status: 200 OK ✓
|
|
1723
|
+
├─ Time: 45ms
|
|
1724
|
+
└─ Response: Array[10 items]
|
|
1725
|
+
|
|
1726
|
+
POST /api/users
|
|
1727
|
+
├─ Status: 201 Created ✓
|
|
1728
|
+
├─ Time: 120ms
|
|
1729
|
+
└─ Response: { id: "123", name: "Test" }
|
|
1730
|
+
|
|
1731
|
+
GET /api/users/:id
|
|
1732
|
+
├─ Status: 200 OK ✓
|
|
1733
|
+
├─ Time: 32ms
|
|
1734
|
+
└─ Response: { id: "1", name: "John" }
|
|
1735
|
+
|
|
1736
|
+
DELETE /api/users/:id
|
|
1737
|
+
├─ Status: 401 Unauthorized ✗
|
|
1738
|
+
├─ Time: 15ms
|
|
1739
|
+
└─ Error: Missing auth token
|
|
1740
|
+
|
|
1741
|
+
Summary: 3/4 passed (75%)
|
|
1742
|
+
```
|
|
1743
|
+
|
|
1744
|
+
For `pa:curl`:
|
|
1745
|
+
1. Analyze API routes and generate curl commands:
|
|
1746
|
+
```
|
|
1747
|
+
Generated Curl Commands
|
|
1748
|
+
═══════════════════════
|
|
1749
|
+
|
|
1750
|
+
# List users
|
|
1751
|
+
curl -X GET http://localhost:3000/api/users \
|
|
1752
|
+
-H "Content-Type: application/json" \
|
|
1753
|
+
-H "Authorization: Bearer $TOKEN"
|
|
1754
|
+
|
|
1755
|
+
# Create user
|
|
1756
|
+
curl -X POST http://localhost:3000/api/users \
|
|
1757
|
+
-H "Content-Type: application/json" \
|
|
1758
|
+
-H "Authorization: Bearer $TOKEN" \
|
|
1759
|
+
-d '{"name": "John", "email": "john@example.com"}'
|
|
1760
|
+
|
|
1761
|
+
# Get user by ID
|
|
1762
|
+
curl -X GET http://localhost:3000/api/users/123 \
|
|
1763
|
+
-H "Authorization: Bearer $TOKEN"
|
|
1764
|
+
|
|
1765
|
+
Saved to: ./docs/curl-commands.sh
|
|
1766
|
+
```
|
|
1767
|
+
|
|
1768
|
+
For `pa:postman`:
|
|
1769
|
+
1. Scan API routes and extract endpoints
|
|
1770
|
+
2. Generate Postman collection:
|
|
1771
|
+
```
|
|
1772
|
+
Postman Collection Generated
|
|
1773
|
+
════════════════════════════
|
|
1774
|
+
|
|
1775
|
+
Collection: my-app API
|
|
1776
|
+
Endpoints: 15
|
|
1777
|
+
|
|
1778
|
+
Folders:
|
|
1779
|
+
├─ Auth (3 endpoints)
|
|
1780
|
+
│ ├─ POST /api/auth/login
|
|
1781
|
+
│ ├─ POST /api/auth/register
|
|
1782
|
+
│ └─ POST /api/auth/logout
|
|
1783
|
+
├─ Users (5 endpoints)
|
|
1784
|
+
│ ├─ GET /api/users
|
|
1785
|
+
│ ├─ POST /api/users
|
|
1786
|
+
│ ├─ GET /api/users/:id
|
|
1787
|
+
│ ├─ PUT /api/users/:id
|
|
1788
|
+
│ └─ DELETE /api/users/:id
|
|
1789
|
+
└─ Posts (7 endpoints)
|
|
1790
|
+
└─ ...
|
|
1791
|
+
|
|
1792
|
+
Saved to: ./docs/postman-collection.json
|
|
1793
|
+
|
|
1794
|
+
Import: File > Import in Postman
|
|
1795
|
+
```
|
|
1796
|
+
|
|
1797
|
+
### Health & Monitoring
|
|
1798
|
+
| Command | Action |
|
|
1799
|
+
|---------|--------|
|
|
1800
|
+
| `pa:health` | Project health check |
|
|
1801
|
+
| `pa:health-full` | Comprehensive health report |
|
|
1802
|
+
| `pa:monitor` | Show monitoring status |
|
|
1803
|
+
| `pa:monitor "service"` | Monitor specific service |
|
|
1804
|
+
| `pa:uptime` | Service uptime check |
|
|
1805
|
+
|
|
1806
|
+
**How to execute Health & Monitoring commands:**
|
|
1807
|
+
|
|
1808
|
+
For `pa:health`:
|
|
1809
|
+
1. Check various project health indicators:
|
|
1810
|
+
```
|
|
1811
|
+
Project Health Check
|
|
1812
|
+
════════════════════
|
|
1813
|
+
|
|
1814
|
+
Overall: 85% Healthy ████████░░
|
|
1815
|
+
|
|
1816
|
+
Code Quality:
|
|
1817
|
+
✓ Linting: No errors
|
|
1818
|
+
✓ Type checking: No errors
|
|
1819
|
+
⚠ Test coverage: 72% (target: 80%)
|
|
1820
|
+
✓ No security vulnerabilities
|
|
1821
|
+
|
|
1822
|
+
Dependencies:
|
|
1823
|
+
✓ All dependencies installed
|
|
1824
|
+
⚠ 3 outdated packages
|
|
1825
|
+
✓ No security advisories
|
|
1826
|
+
|
|
1827
|
+
Configuration:
|
|
1828
|
+
✓ Environment variables set
|
|
1829
|
+
✓ Config files valid
|
|
1830
|
+
⚠ Missing .env.example
|
|
1831
|
+
|
|
1832
|
+
Git Status:
|
|
1833
|
+
✓ Clean working directory
|
|
1834
|
+
✓ Up to date with remote
|
|
1835
|
+
✓ No merge conflicts
|
|
1836
|
+
|
|
1837
|
+
Performance:
|
|
1838
|
+
✓ Bundle size: 245KB (limit: 500KB)
|
|
1839
|
+
✓ Build time: 12s
|
|
1840
|
+
⚠ Lighthouse score: 78 (target: 90)
|
|
1841
|
+
|
|
1842
|
+
Issues Found: 4
|
|
1843
|
+
• Test coverage below 80%
|
|
1844
|
+
• 3 outdated packages
|
|
1845
|
+
• Missing .env.example
|
|
1846
|
+
• Lighthouse score below target
|
|
1847
|
+
```
|
|
1848
|
+
|
|
1849
|
+
For `pa:monitor`:
|
|
1850
|
+
1. Check running services and status:
|
|
1851
|
+
```
|
|
1852
|
+
Service Monitor
|
|
1853
|
+
═══════════════
|
|
1854
|
+
|
|
1855
|
+
Services:
|
|
1856
|
+
┌────────────────┬──────────┬─────────┬────────────┐
|
|
1857
|
+
│ Service │ Status │ Uptime │ Health │
|
|
1858
|
+
├────────────────┼──────────┼─────────┼────────────┤
|
|
1859
|
+
│ App (Next.js) │ Running │ 2h 15m │ Healthy │
|
|
1860
|
+
│ Database │ Running │ 5d 3h │ Healthy │
|
|
1861
|
+
│ Redis Cache │ Running │ 5d 3h │ Healthy │
|
|
1862
|
+
│ Worker │ Stopped │ - │ ⚠ Down │
|
|
1863
|
+
└────────────────┴──────────┴─────────┴────────────┘
|
|
1864
|
+
|
|
1865
|
+
Recent Events:
|
|
1866
|
+
• 10:30 - App restarted (deployment)
|
|
1867
|
+
• 09:15 - Worker stopped (manual)
|
|
1868
|
+
• Yesterday - Database backup completed
|
|
1869
|
+
|
|
1870
|
+
Alerts:
|
|
1871
|
+
⚠ Worker service is not running
|
|
1872
|
+
```
|
|
1873
|
+
|
|
1874
|
+
For `pa:uptime`:
|
|
1875
|
+
1. Check endpoint availability:
|
|
1876
|
+
```
|
|
1877
|
+
Uptime Check
|
|
1878
|
+
════════════
|
|
1879
|
+
|
|
1880
|
+
Checking endpoints...
|
|
1881
|
+
|
|
1882
|
+
Production (https://myapp.com):
|
|
1883
|
+
├─ / (homepage): 200 OK (125ms) ✓
|
|
1884
|
+
├─ /api/health: 200 OK (45ms) ✓
|
|
1885
|
+
├─ /api/users: 200 OK (89ms) ✓
|
|
1886
|
+
└─ /dashboard: 200 OK (156ms) ✓
|
|
1887
|
+
|
|
1888
|
+
Staging (https://staging.myapp.com):
|
|
1889
|
+
├─ / (homepage): 200 OK (145ms) ✓
|
|
1890
|
+
└─ /api/health: 200 OK (52ms) ✓
|
|
1891
|
+
|
|
1892
|
+
All endpoints responding ✓
|
|
1893
|
+
Average response time: 102ms
|
|
1894
|
+
```
|
|
1895
|
+
|
|
1896
|
+
### Quick Actions
|
|
1897
|
+
| Command | Action |
|
|
1898
|
+
|---------|--------|
|
|
1899
|
+
| `pa:quick` | Show quick actions menu |
|
|
1900
|
+
| `pa:quick "action"` | Execute quick action |
|
|
1901
|
+
| `pa:alias` | Manage command aliases |
|
|
1902
|
+
| `pa:alias-add "name" "command"` | Add new alias |
|
|
1903
|
+
| `pa:alias-remove "name"` | Remove alias |
|
|
1904
|
+
|
|
1905
|
+
**How to execute Quick Actions commands:**
|
|
1906
|
+
|
|
1907
|
+
For `pa:quick`:
|
|
1908
|
+
1. Show context-aware quick actions:
|
|
1909
|
+
```
|
|
1910
|
+
Quick Actions
|
|
1911
|
+
═════════════
|
|
1912
|
+
|
|
1913
|
+
Based on current context (feature/user-auth):
|
|
1914
|
+
|
|
1915
|
+
Development:
|
|
1916
|
+
[1] Run tests for current feature
|
|
1917
|
+
[2] Check code coverage
|
|
1918
|
+
[3] Lint and fix
|
|
1919
|
+
|
|
1920
|
+
Git:
|
|
1921
|
+
[4] Commit all changes
|
|
1922
|
+
[5] Push to remote
|
|
1923
|
+
[6] Create PR
|
|
1924
|
+
|
|
1925
|
+
Quality:
|
|
1926
|
+
[7] Run full QA check
|
|
1927
|
+
[8] Security scan
|
|
1928
|
+
[9] Performance audit
|
|
1929
|
+
|
|
1930
|
+
Documentation:
|
|
1931
|
+
[10] Update docs for changes
|
|
1932
|
+
|
|
1933
|
+
Select action (1-10) or type command:
|
|
1934
|
+
> 6
|
|
1935
|
+
|
|
1936
|
+
Creating PR...
|
|
1937
|
+
```
|
|
1938
|
+
|
|
1939
|
+
For `pa:alias`:
|
|
1940
|
+
1. List and manage command aliases:
|
|
1941
|
+
```
|
|
1942
|
+
Command Aliases
|
|
1943
|
+
═══════════════
|
|
1944
|
+
|
|
1945
|
+
Current Aliases:
|
|
1946
|
+
┌──────────┬───────────────────────────┐
|
|
1947
|
+
│ Alias │ Command │
|
|
1948
|
+
├──────────┼───────────────────────────┤
|
|
1949
|
+
│ pa:c │ pa:commit │
|
|
1950
|
+
│ pa:pr │ pa:github-pr │
|
|
1951
|
+
│ pa:cov │ pa:coverage │
|
|
1952
|
+
│ pa:sec │ pa:security-scan │
|
|
1953
|
+
│ pa:up │ pa:deps-outdated │
|
|
1954
|
+
└──────────┴───────────────────────────┘
|
|
1955
|
+
|
|
1956
|
+
Add alias: pa:alias-add "name" "command"
|
|
1957
|
+
Remove: pa:alias-remove "name"
|
|
1958
|
+
|
|
1959
|
+
Built-in aliases cannot be modified:
|
|
1960
|
+
pa:f, pa:s, pa:h, pa:d, pa:t, pa:q, pa:a, pa:r, pa:p, pa:i
|
|
1961
|
+
```
|
|
1962
|
+
|
|
1963
|
+
For `pa:alias-add`:
|
|
1964
|
+
1. Add custom alias:
|
|
1965
|
+
```
|
|
1966
|
+
Adding Alias
|
|
1967
|
+
════════════
|
|
1968
|
+
|
|
1969
|
+
Alias: pa:ship
|
|
1970
|
+
Command: pa:test && pa:build && pa:deploy
|
|
1971
|
+
|
|
1972
|
+
✓ Alias created!
|
|
1973
|
+
|
|
1974
|
+
Usage: pa:ship
|
|
1975
|
+
Runs: pa:test && pa:build && pa:deploy
|
|
1976
|
+
```
|
|
1977
|
+
|
|
1538
1978
|
### AI Platform Management
|
|
1539
1979
|
| Command | Action |
|
|
1540
1980
|
|---------|--------|
|
package/proagents/PROAGENTS.md
CHANGED
|
@@ -216,6 +216,47 @@ Execute these commands when user types them (prefix: `pa:`):
|
|
|
216
216
|
| `pa:tag` | Create git tag for release |
|
|
217
217
|
| `pa:publish` | Publish package to registry |
|
|
218
218
|
|
|
219
|
+
## Code Review & PR
|
|
220
|
+
|
|
221
|
+
| Command | What to Do |
|
|
222
|
+
|---------|------------|
|
|
223
|
+
| `pa:review-request` | Request code review from team |
|
|
224
|
+
| `pa:review-comments` | Show PR review comments |
|
|
225
|
+
| `pa:review-approve` | Approve current PR |
|
|
226
|
+
|
|
227
|
+
## Architecture
|
|
228
|
+
|
|
229
|
+
| Command | What to Do |
|
|
230
|
+
|---------|------------|
|
|
231
|
+
| `pa:architecture` | Show architecture overview |
|
|
232
|
+
| `pa:architecture-diagram` | Generate architecture diagram (Mermaid) |
|
|
233
|
+
| `pa:architecture-export` | Export diagram (SVG/PNG) |
|
|
234
|
+
|
|
235
|
+
## API Testing
|
|
236
|
+
|
|
237
|
+
| Command | What to Do |
|
|
238
|
+
|---------|------------|
|
|
239
|
+
| `pa:api-test` | Test API endpoints |
|
|
240
|
+
| `pa:curl` | Generate curl commands for endpoints |
|
|
241
|
+
| `pa:postman` | Generate Postman collection |
|
|
242
|
+
|
|
243
|
+
## Health & Monitoring
|
|
244
|
+
|
|
245
|
+
| Command | What to Do |
|
|
246
|
+
|---------|------------|
|
|
247
|
+
| `pa:health` | Project health check |
|
|
248
|
+
| `pa:monitor` | Show monitoring status |
|
|
249
|
+
| `pa:uptime` | Service uptime check |
|
|
250
|
+
|
|
251
|
+
## Quick Actions
|
|
252
|
+
|
|
253
|
+
| Command | What to Do |
|
|
254
|
+
|---------|------------|
|
|
255
|
+
| `pa:quick` | Show quick actions menu |
|
|
256
|
+
| `pa:alias` | Manage command aliases |
|
|
257
|
+
| `pa:alias-add` | Add custom alias |
|
|
258
|
+
| `pa:alias-remove` | Remove custom alias |
|
|
259
|
+
|
|
219
260
|
## Key Files to Read
|
|
220
261
|
|
|
221
262
|
| File | Purpose |
|