Skip to content

Commit 530e3b9

Browse files
authored
Merge pull request #43 from dlabaj/agentReadyPFMCP
fix: updated for agent readiness using PatternFly MCP agent ready skill
2 parents 546778b + fab8fea commit 530e3b9

20 files changed

Lines changed: 990 additions & 219 deletions

.agentready-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# AgentReady — https://github.com/ambient-code/agentready
2+
# Run from repo root:
3+
# agentready assess -c .agentready-config.yaml .
4+
#
5+
# cyclomatic_complexity is implemented via the Python CLI "lizard". This
6+
# package is Node/TypeScript-only; without lizard on PATH the check shows as
7+
# skipped. Complexity is still limited by ESLint and code review. To inspect
8+
# locally: pip install lizard && lizard src
9+
#
10+
# standard_layout expects a root tests/ or test/ directory. This repo keeps
11+
# Jest suites under src/__tests__/ by decision — see docs/adr/0002-tests-under-src-instead-of-root-tests.md
12+
excluded_attributes:
13+
- cyclomatic_complexity
14+
- standard_layout
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Bug report
2+
description: Report unexpected CLI behavior or a defect
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Thanks for the report. Include enough detail that we can reproduce the problem.
8+
9+
- type: textarea
10+
id: summary
11+
attributes:
12+
label: Summary
13+
description: Short description of the bug.
14+
validations:
15+
required: true
16+
17+
- type: textarea
18+
id: expected
19+
attributes:
20+
label: Expected behavior
21+
validations:
22+
required: true
23+
24+
- type: textarea
25+
id: actual
26+
attributes:
27+
label: Actual behavior
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: reproduce
33+
attributes:
34+
label: Steps to reproduce
35+
description: Commands you ran, flags, template names, OS, Node/npm versions.
36+
placeholder: |
37+
1. …
38+
2. …
39+
validations:
40+
required: true
41+
42+
- type: input
43+
id: version
44+
attributes:
45+
label: patternfly-cli version
46+
description: Output of `patternfly-cli --version` or the npm package version.
47+
validations:
48+
required: false
49+
50+
- type: textarea
51+
id: context
52+
attributes:
53+
label: Additional context
54+
description: Logs, screenshots, or links if helpful.
55+
validations:
56+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: PatternFly documentation
4+
url: https://www.patternfly.org/
5+
about: Design system and product documentation
6+
- name: PatternFly React
7+
url: https://github.com/patternfly/patternfly-react
8+
about: PatternFly React component library
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Feature request
2+
description: Suggest a new command, flag, or improvement
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Describe the problem you are solving and how this CLI could help.
8+
9+
- type: textarea
10+
id: problem
11+
attributes:
12+
label: Problem / use case
13+
description: What workflow or limitation led to this request?
14+
validations:
15+
required: true
16+
17+
- type: textarea
18+
id: proposal
19+
attributes:
20+
label: Proposed solution
21+
description: Commands, UX, or behavior you have in mind.
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
id: alternatives
27+
attributes:
28+
label: Alternatives considered
29+
validations:
30+
required: false
31+
32+
- type: textarea
33+
id: context
34+
attributes:
35+
label: Additional context
36+
validations:
37+
required: false

.github/pull_request_template.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## What / why
2+
3+
<!-- Briefly describe the change and motivation. -->
4+
5+
## How to test
6+
7+
<!-- e.g. `npm test`, manual CLI steps -->
8+
9+
## Checklist
10+
11+
- [ ] Tests added or updated where appropriate
12+
- [ ] `npm run lint` and `npm test` pass locally
13+
- [ ] Commit messages follow [Conventional Commits](https://www.conventionalcommits.org/) (required for semantic-release), e.g. `feat:`, `fix:`, `docs:`, `chore:`

.github/workflows/build.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
quality-gates:
11+
name: Lint, build, and test
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: '22'
19+
cache: 'npm'
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Lint
25+
run: npm run lint
26+
27+
- name: Build
28+
run: npm run build
29+
30+
- name: Test
31+
run: npm test
32+
33+
commitlint:
34+
name: Conventional Commits
35+
runs-on: ubuntu-latest
36+
if: github.event_name == 'pull_request'
37+
steps:
38+
- uses: actions/checkout@v4
39+
with:
40+
fetch-depth: 0
41+
42+
- uses: actions/setup-node@v4
43+
with:
44+
node-version: '22'
45+
cache: 'npm'
46+
47+
- name: Install dependencies
48+
run: npm ci
49+
50+
- name: Validate commit messages
51+
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose

.github/workflows/lint.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@ jobs:
2929
- name: Install dependencies
3030
run: npm ci
3131

32+
- name: Lint
33+
run: npm run lint
34+
3235
- name: Build
3336
run: npm run build
3437

35-
- name: Run tests
38+
- name: Test
3639
run: npm test
3740

3841
- name: Release

.github/workflows/test.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)