Skip to content

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

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. Explicitly allow the GrumPHP shim already required by DevTools so Composer can activate the reviewed development commands.

Normalize example autoloader paths and Composer metadata ordering to satisfy the existing Rector and style rules.

Validation

  • composer validate --strict and the complete composer dev-tools pipeline passed, including Rector, PHPDoc, code style, PHPUnit/coverage, API/guide documentation and metrics.
  • The corrective commit passed the unchanged GrumPHP hooks through ordinary git commit; no hook bypass or relaxed check was used for this correction.
  • Committed Changelog contribution validation against origin/main and whitespace checks passed.
  • PHP 8.5.12; installed DevTools revision 84e154046e07cafa6ac09a9e12434b1ff5dcb5e0. Test counts remain 43 tests / 84 assertions.

No merge, release or runtime dependency upgrade is included.

@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:06:39.427087Z c98d2cd New commits
🔒 Security Review ✅ Completed 2026-10-25T03:08:43.809798Z c98d2cd 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.

@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: f30cdc30-4a25-4a5c-ad13-f1b791465fa5
Commits

Reviewing files that changed from the base of the PR and between 20cdaf2 and c98d2cd.

Files selected for processing: 7
  • composer.json
  • examples/01-system-clock.php
  • examples/02-system-clock-with-timezone.php
  • examples/03-frozen-clock.php
  • examples/04-frozen-clock-inputs.php
  • examples/05-frozen-clock-container.php
  • examples/06-psr20-clock-interface.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

  • Documentation
    • Updated contributor guidance for automatically synchronizing the bundled skill and sourcing Changelog instructions from stable 0.4.x releases.
  • Chores
    • Improved development tooling configuration, including PHPDoc checks when DevTools is installed as a dependency.
    • Expanded trusted Fast Forward skill sources and approved Composer tooling plugins.

The repository now configures local and GitHub skill sources, broadens trusted Composer donors, and enables automatic skill synchronization. It also adds PHP-CS-Fixer PHPDoc rules, Composer plugin approval, repository ignore and export settings, and updates autoloader paths in six examples.

Changes: Skill source configuration

Layer / File(s) Summary
Configure skill sources and synchronization
skills.json, CONTRIBUTING.md, .changelog/consistent-skill-sources.md
The configuration pins the schema, trusts fast-forward/*, adds a local skill source, and updates the GitHub changelog source to ^0.4.0 without a skill filter. Contributor instructions describe automatic synchronization and explicit refresh. The changelog records these updates.

PHPDoc tooling setup

Layer / File(s) Summary
Configure PHPDoc checks and repository settings
composer.json, .php-cs-fixer.dist.php, .gitignore, .gitattributes
The PHP-CS-Fixer configuration loads the project autoloader, excludes tooling directories, and enables PHPDoc rules. Composer approves phpro/grumphp-shim. Repository settings ignore /.dev-tools/ and exclude the fixer configuration from exports.

Example autoloader paths

Layer / File(s) Summary
Update example autoloader paths
examples/01-system-clock.php, examples/02-system-clock-with-timezone.php, examples/03-frozen-clock.php, examples/04-frozen-clock-inputs.php, examples/05-frozen-clock-container.php, examples/06-psr20-clock-interface.php
The six examples now build the Composer autoloader path from __DIR__.

Priority: Low

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

Change: Other

Possibly related issues

Merge Risk: Minimal · up to c98d2

No merge-blocking issue was identified; the PR is mergeable with normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly summarizes the main changes: standardizing automatic skill sources and the PHPDoc bootstrap.
Description check Passed The description directly covers the skill configuration, PHPDoc bootstrap, Composer metadata, example paths, validation, and related changes.
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 7…
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 7 files. (1 skipped: 1 unsupported.)

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 checks the skill sources bright
Local and GitHub paths align just right
PHPDocs get a tidy rule
Examples find the loader tool
Six small paths hop into place
Then I nibble, pleased with the trace

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

@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Changelog

✅ Contribution check passed.

Head: c98d2cd70c046c38d5c4a0ca7f1c26f4ff08253b

Base: 2ab97c1715cc3207f145da1f1ea0f93c955e0779

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.

@coisa
coisa merged commit 7f2895f into main Oct 25, 2026
35 checks passed
@coisa
coisa deleted the codex/consistent-skill-sources branch October 25, 2026 15:51
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