Skip to content

rtCamp/plugin-skeleton-d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Plugin Skeleton D

Try in WordPress Playground

What's included

Docs

Getting Started

Contributing

References

To do:

  • GitHub workflows for private runners.
  • docs/ARCHITECTURE.md
  • Example modules.
  • Scaffold scripts (search/replace strings, delete examples and unused deps etc)

Scaffold Steps

  1. Create a new project from this repo.
  2. Do a find and replace for the skeleton placeholder strings:
    • plugin-skeleton-d (slug)
    • Plugin Skeleton D (title)
    • PLUGIN_SKELETON_D (constant prefix)
  3. Update the plugin metadata in:
    • .phpcs.xml.dist (testVersion, minimum_wp_version)
    • composer.json (config.platform.php, require.php)
    • phpstan.neon.dist (phpVersion)
    • plugin-skeleton-d.php
    • readme.txt
    • readme.md
  4. Remove and replace example TS entrypoints, and blocks if not needed:
    • src/ Then, update the references to them in:
    • webpack.config.js (entry)
    • inc/Core/Assets.php
  5. Update and replace the .github/workflows with the relevant CI for your project.
    • PHP Version in ci.yml and release.yml (latest supported)
    • PHPUnit test matrix in ci.yml
  6. Search for @todo comments and resolve them as needed.
  7. Remove all remaining example code from inc and src as needed, along with any relevant tests, unused dependencies, and references.

About

Modern plugin skeleton for human and agentic best practices.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors