Skip to content

Chore/add claude ai skills#1829

Open
sapayth wants to merge 2 commits intoweDevsOfficial:developfrom
sapayth:chore/add-claude-ai-skills
Open

Chore/add claude ai skills#1829
sapayth wants to merge 2 commits intoweDevsOfficial:developfrom
sapayth:chore/add-claude-ai-skills

Conversation

@sapayth
Copy link
Member

@sapayth sapayth commented Mar 11, 2026

Adds comprehensive project documentation covering architecture, build commands, directory structure, coding standards, and key patterns specific to WPUF.

Summary by CodeRabbit

  • Documentation
    • Added comprehensive development and contribution guides covering backend development, frontend development, code review processes, development workflows, and Git guidelines for the project.

sapayth and others added 2 commits March 11, 2026 12:21
Adds comprehensive project documentation covering architecture,
build commands, directory structure, coding standards, and key
patterns specific to WPUF.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add five new skill documents under .claude/skills: wpuf-backend-dev, wpuf-frontend-dev, wpuf-dev-cycle, wpuf-code-review, and wpuf-git. Each file documents project conventions for backend/frontend development, REST API and container patterns, build and CI commands, PHPCS/ESLint rules, Tailwind and asset guidance, and code review/PR checklist to standardize contributions and reviews.
@coderabbitai
Copy link

coderabbitai bot commented Mar 11, 2026

Walkthrough

Comprehensive documentation suite for WP User Frontend (WPUF) project added, including skill files for backend development, code review practices, development workflow, frontend development, git guidelines, and a main project overview. All changes are purely documentation with no executable code modifications.

Changes

Cohort / File(s) Summary
Skill Documentation
.claude/skills/wpuf-backend-dev/SKILL.md, .claude/skills/wpuf-code-review/SKILL.md, .claude/skills/wpuf-dev-cycle/SKILL.md, .claude/skills/wpuf-frontend-dev/SKILL.md, .claude/skills/wpuf-git/SKILL.md
Five instructional skill documents covering backend conventions, code review patterns, development workflow (builds, linting, testing, CI), frontend tech stack and build systems (Vite, Webpack, Grunt), asset management, and git branch strategy.
Project Overview
CLAUDE.md
Main project documentation describing WPUF architecture, service container patterns, directory structure, REST API, payment system, form fields, frontend tech stack (Vue, React, jQuery), testing setup, coding standards, and third-party integrations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

Poem

🐰 Whiskers twitching with delight,
A warren of docs shines bright!
Backend, frontend, git and more—
Knowledge shared from shore to shore!
Now developers hop with cheer, 🥕✨
The path ahead is crystal clear!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Chore/add claude ai skills' accurately describes the main change—adding Claude AI skill documentation files to the project.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (2)
.claude/skills/wpuf-frontend-dev/SKILL.md (1)

101-114: Consider adding language identifiers to fenced code blocks.

The directory structure code blocks (lines 101-114, 132-135, 162-173) don't have language specifiers. While not critical for documentation, adding text or plaintext identifiers improves markdown linting compliance and editor support.

📋 Proposed enhancement
-```
+```text
 src/
 ├── admin/           # Admin page components

Apply similar changes to the other directory structure blocks at lines 132 and 162.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.claude/skills/wpuf-frontend-dev/SKILL.md around lines 101 - 114, The fenced
directory-structure code blocks that start with "src/" and the subsequent
"assets/js/" listings lack language identifiers, causing markdown lint warnings;
update each of the three directory-structure fenced code blocks (the ones
containing the "src/" tree and the "assets/js/" list) to include a plaintext
language tag such as ```text or ```plaintext so editors and linters recognize
them (apply the same change to the other similar blocks later in the file).
CLAUDE.md (1)

134-134: Consider simplifying "add an additional".

The phrase "add an additional" is slightly redundant. Consider "add a" or "adds another" for more concise writing.

✍️ Proposed alternatives
-AI features add an additional REST controller via `includes/AI/RestController.php`.
+AI features add a REST controller via `includes/AI/RestController.php`.

or

-AI features add an additional REST controller via `includes/AI/RestController.php`.
+AI features provide another REST controller via `includes/AI/RestController.php`.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@CLAUDE.md` at line 134, Edit the sentence mentioning the controllers to
remove the redundancy "add an additional": locate the line referencing the two
controllers `FormList` and `Subscription` and the AI controller
`includes/AI/RestController.php` and change "add an additional REST controller"
to a concise phrasing such as "adds a REST controller" or "adds another REST
controller" so the sentence reads clearly and succinctly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.claude/skills/wpuf-dev-cycle/SKILL.md:
- Line 143: Update the capitalization of the site name in the SKILL.md line that
reads "wordpress.org" to the correct "WordPress.org" (the line mentioning the
action `10up/action-wordpress-plugin-asset-update`); replace the lowercase
"wordpress.org" token with "WordPress.org" so the official name is used
consistently in that sentence.

In @.claude/skills/wpuf-git/SKILL.md:
- Line 11: Update the markdown line that currently reads "`trunk` (auto-deploys
to wordpress.org)" to use the correct capitalization "WordPress.org"; locate the
text in SKILL.md where the phrase appears and replace "wordpress.org" with
"WordPress.org" so the line becomes "`trunk` (auto-deploys to WordPress.org)".

---

Nitpick comments:
In @.claude/skills/wpuf-frontend-dev/SKILL.md:
- Around line 101-114: The fenced directory-structure code blocks that start
with "src/" and the subsequent "assets/js/" listings lack language identifiers,
causing markdown lint warnings; update each of the three directory-structure
fenced code blocks (the ones containing the "src/" tree and the "assets/js/"
list) to include a plaintext language tag such as ```text or ```plaintext so
editors and linters recognize them (apply the same change to the other similar
blocks later in the file).

In `@CLAUDE.md`:
- Line 134: Edit the sentence mentioning the controllers to remove the
redundancy "add an additional": locate the line referencing the two controllers
`FormList` and `Subscription` and the AI controller
`includes/AI/RestController.php` and change "add an additional REST controller"
to a concise phrasing such as "adds a REST controller" or "adds another REST
controller" so the sentence reads clearly and succinctly.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7e064c3d-b3f2-4277-be16-0041faa8023c

📥 Commits

Reviewing files that changed from the base of the PR and between 81ea525 and 2b14094.

📒 Files selected for processing (6)
  • .claude/skills/wpuf-backend-dev/SKILL.md
  • .claude/skills/wpuf-code-review/SKILL.md
  • .claude/skills/wpuf-dev-cycle/SKILL.md
  • .claude/skills/wpuf-frontend-dev/SKILL.md
  • .claude/skills/wpuf-git/SKILL.md
  • CLAUDE.md

### 3. `main.yml` — WordPress.org Sync

- **Trigger:** Push to `trunk`
- **Action:** Sync plugin assets and readme to wordpress.org via `10up/action-wordpress-plugin-asset-update`
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Capitalize "WordPress.org" correctly.

The official name uses a capital "P": WordPress.org, not wordpress.org.

📝 Proposed fix
--   **Action:** Sync plugin assets and readme to wordpress.org via `10up/action-wordpress-plugin-asset-update`
+-   **Action:** Sync plugin assets and readme to WordPress.org via `10up/action-wordpress-plugin-asset-update`
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- **Action:** Sync plugin assets and readme to wordpress.org via `10up/action-wordpress-plugin-asset-update`
- **Action:** Sync plugin assets and readme to WordPress.org via `10up/action-wordpress-plugin-asset-update`
🧰 Tools
🪛 LanguageTool

[uncategorized] ~143-~143: The official name of this content management system is spelled with a capital “P”.
Context: ...ion:** Sync plugin assets and readme to wordpress.org via `10up/action-wordpress-plugin-a...

(WORDPRESS)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.claude/skills/wpuf-dev-cycle/SKILL.md at line 143, Update the
capitalization of the site name in the SKILL.md line that reads "wordpress.org"
to the correct "WordPress.org" (the line mentioning the action
`10up/action-wordpress-plugin-asset-update`); replace the lowercase
"wordpress.org" token with "WordPress.org" so the official name is used
consistently in that sentence.

## Branch Strategy

- **Main development branch:** `develop`
- **WordPress.org sync branch:** `trunk` (auto-deploys to wordpress.org)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Capitalize "WordPress.org" correctly.

The official name uses a capital "P": WordPress.org, not wordpress.org.

📝 Proposed fix
--   **WordPress.org sync branch:** `trunk` (auto-deploys to wordpress.org)
+-   **WordPress.org sync branch:** `trunk` (auto-deploys to WordPress.org)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- **WordPress.org sync branch:** `trunk` (auto-deploys to wordpress.org)
- **WordPress.org sync branch:** `trunk` (auto-deploys to WordPress.org)
🧰 Tools
🪛 LanguageTool

[uncategorized] ~11-~11: The official name of this content management system is spelled with a capital “P”.
Context: ...sync branch:** trunk (auto-deploys to wordpress.org) - Feature branches: branch o...

(WORDPRESS)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.claude/skills/wpuf-git/SKILL.md at line 11, Update the markdown line that
currently reads "`trunk` (auto-deploys to wordpress.org)" to use the correct
capitalization "WordPress.org"; locate the text in SKILL.md where the phrase
appears and replace "wordpress.org" with "WordPress.org" so the line becomes
"`trunk` (auto-deploys to WordPress.org)".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant