Skip to content

chore: standardize automatic skill sources and PHPDoc bootstrap - #16

Merged
coisa merged 2 commits into
mainfrom
codex/consistent-skill-sources
Oct 25, 2026
Merged

coisa merged 2 commits into
mainfrom
codex/consistent-skill-sources

Conversation

@coisa

@coisa coisa commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Standardize the contributor skill configuration across Fast Forward libraries: use fast-forward/* with trusted-replace, keep auto-sync: true, and register the local resources/skills directory without a package override. The GitHub Changelog source now uses ^0.4.0 and discovers its Composer-declared payload without a redundant skill allowlist. Pin the schema to the verified installer release and add a patch fragment.

The project PHPDoc profile loads the consumer autoloader, avoiding DevTools 1.x's nonexistent nested autoloader, and preserves existing file/license headers while checking PHPDoc structure. Keep generated development output ignored and the profile outside Composer archives.

Remove redundant enum factory and name-lookup return tags already expressed by native return types.

Validation

  • composer validate --strict and complete composer dev-tools passed, including Rector, PHPDoc, code style, PHPUnit/coverage, API/guide documentation and metrics.
  • The corrective commit passed unchanged GrumPHP hooks through ordinary git commit, without bypasses or relaxed checks.
  • Committed Changelog validation against origin/main and whitespace checks passed.
  • PHP 8.5.12; DevTools revision 84e154046e07cafa6ac09a9e12434b1ff5dcb5e0; 88 tests / 237 assertions.

No merge, release or runtime dependency upgrade is included.

@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: fe068fbd-332f-463f-9750-708d12e9151d
Commits

Reviewing files that changed from the base of the PR and between d9233c1 and d9b1072.

Files selected for processing: 5
  • src/Calendar/Quarter.php
  • src/Calendar/Semester.php
  • src/Sort/ComparisonResult.php
  • src/StateMachine/InvalidTransitionException.php
  • src/Trait/HasNameLookup.php
Files with no reviewable changes: 5
  • src/Sort/ComparisonResult.php
  • src/Calendar/Quarter.php
  • src/Trait/HasNameLookup.php
  • src/StateMachine/InvalidTransitionException.php
  • src/Calendar/Semester.php

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Summary

Summary by CodeRabbit

  • New Features
    • Bundled local skills are now synchronized automatically. Fast Forward Composer skills from matching donors are trusted, and Changelog contributor skills are sourced from stable 0.4.x releases without a separate allowlist.
  • Developer Tools
    • PHPDoc checks now work when DevTools is installed as a dependency, and consistent PHPDoc formatting rules are enabled.
  • Chores
    • Tooling configuration is excluded from exported archives.

The PR updates skill-source settings and adds a PHP-CS-Fixer profile with PHPDoc rules. It removes selected @return self annotations without changing method signatures or behavior, excludes the profile from exported archives, and adds a changelog entry.

Changes: Configuration Updates

Layer / File(s) Summary
Skill source settings
skills.json, composer.json
skills.json now uses the 1.15.0 schema, trusts fast-forward/* with trusted-replace, adds resources/skills as a directory source, and updates the Changelog source ref to ^0.4.0. The llm/skills Composer plugin entry moves; its value is unchanged.
PHPDoc formatting setup
.php-cs-fixer.dist.php, src/Calendar/Quarter.php, src/Calendar/Semester.php, src/Sort/ComparisonResult.php, src/StateMachine/InvalidTransitionException.php, src/Trait/HasNameLookup.php, .gitattributes, .changelog/consistent-skill-sources.md
The new PHP-CS-Fixer profile loads the project autoloader, disables risky fixes, configures the finder, and enables PHPDoc rules. The listed files lose selected @return self annotations; their method signatures and behavior remain unchanged. .gitattributes excludes the profile from exported archives. The changelog records the skill-source and PHPDoc-check changes.

Priority: Low

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Other

Possibly related issues

Merge Risk: Minimal · up to d9b10

No issue requiring a fix before merge was identified.

Pre-merge checks: Passed 5
Check name Status Explanation
Description check Passed The description directly covers the skill-source configuration, PHPDoc bootstrap, documentation cleanup, validation, and archive changes in the pull request.
Title check Passed The title clearly summarizes the two main changes: standardizing automatic skill sources and updating the PHPDoc bootstrap.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit checked the source list twice,
Then watched the local skills arrive.
PHPDoc rules lined up in rows,
While archive files left out the config.
“No return note,” the rabbit said,
And hopped through changelog lines instead.

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T03:08:16.946891Z d9b1072 New commits
🔒 Security Review ✅ Completed 2026-10-25T03:09:48.305342Z d9b1072 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Changelog

✅ Contribution check passed.

Head: d9b1072da96b6a58a1fa7581bbb6ae94cbf8750c

Base: e19ded7d32c2b34aa16c85463ea805bcd38ff84d

Contribution: 1 new valid fragment(s). Policy: ordinary.

  • consistent-skill-sources.md — changed, patch

    Synchronize the bundled local skill automatically and trust Fast Forward Composer skill donors through `fast-forward/*`. Resolve Changelog contributor skills from stable `0.4.x` releases without a redundant skill allowlist. Load the project autoloader for PHPDoc checks when DevTools is installed as a dependency.

@github-actions

Copy link
Copy Markdown
Contributor

@coisa
coisa merged commit 15b0610 into main Oct 25, 2026
45 checks passed
@coisa
coisa deleted the codex/consistent-skill-sources branch October 25, 2026 03:25
github-actions Bot added a commit that referenced this pull request Oct 25, 2026
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