Ima Knowledge Base
countbot-ai/CountBot
通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。
PSR-4 autoloading standard knowledge base for PHP 8.4 projects.
$ npx skills add dykyi-roman/awesome-claude-code --skill psr-autoloading-knowledge -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dykyi-roman/awesome-claude-code psr-autoloading-knowledge --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dykyi-roman/awesome-claude-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/psr-autoloading-knowledge .claude/skills/psr-autoloading-knowledge && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "psr-autoloading-knowledge" agent skill from https://github.com/dykyi-roman/awesome-claude-code/tree/master/skills/psr-autoloading-knowledge into .claude/skills/psr-autoloading-knowledge/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "psr-autoloading-knowledge", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dykyi-roman/awesome-claude-code/tree/master/skills/psr-autoloading-knowledgeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dykyi-roman/awesome-claude-code --skill psr-autoloading-knowledge -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dykyi-roman/awesome-claude-code psr-autoloading-knowledge --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dykyi-roman/awesome-claude-code.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/psr-autoloading-knowledge .agents/skills/psr-autoloading-knowledge && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "psr-autoloading-knowledge" agent skill from https://github.com/dykyi-roman/awesome-claude-code/tree/master/skills/psr-autoloading-knowledge into .agents/skills/psr-autoloading-knowledge/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "psr-autoloading-knowledge", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dykyi-roman/awesome-claude-code --skill psr-autoloading-knowledge -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dykyi-roman/awesome-claude-code psr-autoloading-knowledge --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dykyi-roman/awesome-claude-code.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/psr-autoloading-knowledge .cursor/skills/psr-autoloading-knowledge && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "psr-autoloading-knowledge" agent skill from https://github.com/dykyi-roman/awesome-claude-code/tree/master/skills/psr-autoloading-knowledge into .cursor/skills/psr-autoloading-knowledge/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "psr-autoloading-knowledge", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dykyi-roman/awesome-claude-code.git --path skills/psr-autoloading-knowledge--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dykyi-roman/awesome-claude-code --skill psr-autoloading-knowledge -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dykyi-roman/awesome-claude-code psr-autoloading-knowledge --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dykyi-roman/awesome-claude-code.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/psr-autoloading-knowledge .gemini/skills/psr-autoloading-knowledge && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "psr-autoloading-knowledge" agent skill from https://github.com/dykyi-roman/awesome-claude-code/tree/master/skills/psr-autoloading-knowledge into .gemini/skills/psr-autoloading-knowledge/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "psr-autoloading-knowledge", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dykyi-roman/awesome-claude-code psr-autoloading-knowledgeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dykyi-roman/awesome-claude-code --skill psr-autoloading-knowledge -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dykyi-roman/awesome-claude-code.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/psr-autoloading-knowledge .github/skills/psr-autoloading-knowledge && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "psr-autoloading-knowledge" agent skill from https://github.com/dykyi-roman/awesome-claude-code/tree/master/skills/psr-autoloading-knowledge into .github/skills/psr-autoloading-knowledge/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "psr-autoloading-knowledge", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dykyi-roman/awesome-claude-code --skill psr-autoloading-knowledge -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dykyi-roman/awesome-claude-code psr-autoloading-knowledge --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dykyi-roman/awesome-claude-code.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/psr-autoloading-knowledge .opencode/skills/psr-autoloading-knowledge && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "psr-autoloading-knowledge" agent skill from https://github.com/dykyi-roman/awesome-claude-code/tree/master/skills/psr-autoloading-knowledge into .opencode/skills/psr-autoloading-knowledge/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "psr-autoloading-knowledge", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
psr-autoloading-knowledgePSR-4 autoloading standard knowledge base for PHP 8.4 projects.
Psr Autoloading Knowledge is an agent skill from dykyi-roman/awesome-claude-code. PSR-4 autoloading standard knowledge base for PHP 8.4 projects. Provides quick reference for namespace-to-path mapping, composer.json configuration, directory structure, and common mistakes. Use for autoloading audits and project structure reviews.
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files and assets (for example `assets/report-template.md`, `references/antipatterns.md` and `references/composer-integration.md`).
It sits in Knowledge Management, covering Knowledge bases. It works with PHP. The repository describes itself as: PHP Architecture Toolkit for Claude Code (DDD, CQRS, Event Sourcing, Hexagonal, Clean Architecture, SOLID, GRASP, PSR, Design Patterns, Testing, Documentation, Code Review). The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 7e1fea8. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
composerphpFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Psr Autoloading Knowledge loads about 2.1k tokens when it runs, and up to ~9.8k if it reads all its reference files. Until then it costs about 69 tokens; SKILL.md has 209 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from dykyi-roman/awesome-claude-code at commit 7e1fea8, republished under its MIT licence (© dykyi-roman). 209 words, ~2,144 tokens.
.claude/skills/psr-autoloading-knowledge/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.| Concept | Description |
|---|---|
| Namespace Prefix | Maps to a base directory |
| FQCN | Fully Qualified Class Name |
| Path Mapping | Namespace → Directory → File |
PSR-4 defines how to autoload classes from file paths based on their fully qualified class name.
Namespace Prefix → Base Directory
Acme\Log\ → ./src/
FQCN → File Path
Acme\Log\Writer\FileWriter → ./src/Writer/FileWriter.phpFile Path = Base Directory + (FQCN - Namespace Prefix) + .php
Where:
- Namespace separators (\) → Directory separators (/)
- Class name → File name with .php extension| FQCN | Namespace Prefix | Base Directory | File Path |
|---|---|---|---|
App\Entity\User | App\ | src/ | src/Entity/User.php |
App\Domain\User\Entity\User | App\ | src/ | src/Domain/User/Entity/User.php |
Vendor\Package\SubNs\ClassName | Vendor\Package\ | lib/ | lib/SubNs/ClassName.php |
{
"autoload": {
"psr-4": {
"App\\": "src/",
"App\\Tests\\": "tests/"
}
}
}{
"autoload": {
"psr-4": {
"App\\": ["src/", "lib/"]
}
}
}{
"autoload": {
"psr-4": {
"App\\": "src/",
"App\\Domain\\": "src/Domain/",
"App\\Application\\": "src/Application/",
"App\\Infrastructure\\": "src/Infrastructure/",
"App\\Presentation\\": "src/Presentation/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
}
}{
"autoload": {
"psr-4": {
"App\\": "src/"
}
}
}{
"autoload": {
"psr-4": {
"Vendor\\Package\\": "src/"
}
}
}project/
├── composer.json
├── src/
│ ├── Domain/
│ │ └── User/
│ │ ├── Entity/
│ │ │ └── User.php # App\Domain\User\Entity\User
│ │ ├── ValueObject/
│ │ │ └── Email.php # App\Domain\User\ValueObject\Email
│ │ ├── Repository/
│ │ │ └── UserRepositoryInterface.php
│ │ └── Event/
│ │ └── UserCreated.php
│ ├── Application/
│ │ └── User/
│ │ ├── Command/
│ │ │ └── CreateUserCommand.php
│ │ └── Handler/
│ │ └── CreateUserHandler.php
│ ├── Infrastructure/
│ │ └── Persistence/
│ │ └── Doctrine/
│ │ └── UserRepository.php
│ └── Presentation/
│ └── Api/
│ └── Controller/
│ └── UserController.php
└── tests/
└── Unit/
└── Domain/
└── User/
└── Entity/
└── UserTest.php # App\Tests\Unit\Domain\User\Entity\UserTest// src/Domain/User/Entity/User.php
<?php
declare(strict_types=1);
namespace App\Domain\User\Entity;
use App\Domain\User\ValueObject\Email;
use App\Domain\User\ValueObject\UserId;
final class User
{
// ...
}// src/Domain/User/ValueObject/Email.php
<?php
declare(strict_types=1);
namespace App\Domain\User\ValueObject;
final readonly class Email
{
// ...
}# Extract namespace from files and compare with path
for file in $(find src -name "*.php"); do
namespace=$(grep -m1 "^namespace" "$file" | sed 's/namespace //;s/;//')
expected_ns="App\\$(dirname ${file#src/} | tr '/' '\\')"
if [ "$namespace" != "$expected_ns" ]; then
echo "Mismatch: $file"
echo " Found: $namespace"
echo " Expected: $expected_ns"
fi
done# Files with class but no namespace
grep -rL "^namespace" --include="*.php" src/ | \
xargs grep -l "^class\|^interface\|^trait\|^enum"# Class name doesn't match filename
for file in $(find src -name "*.php"); do
filename=$(basename "$file" .php)
if ! grep -q "^\(class\|interface\|trait\|enum\) $filename" "$file"; then
echo "Mismatch: $file (expected class/interface/trait/enum $filename)"
fi
done# Dump autoload and check for errors
composer dump-autoload --strict 2>&1 | grep -i "warning\|error"
# Validate composer.json
composer validate --strict// File: src/Domain/User/Entity/User.php
// BAD: Namespace doesn't match path
namespace App\User\Entity; // Missing "Domain"
// GOOD: Namespace matches path
namespace App\Domain\User\Entity;// File: src/Domain/UserEntity.php
// BAD: Class name doesn't match filename
class User { }
// GOOD: Class name matches filename
class UserEntity { }// File: src/Domain/User/Entity/user.php (lowercase)
// BAD: Will fail on case-sensitive filesystems (Linux)
namespace App\Domain\User\Entity;
class User { }
// GOOD: Filename should be User.php (PascalCase)// BAD: Missing trailing backslash
{
"autoload": {
"psr-4": {
"App": "src/"
}
}
}
// GOOD: Include trailing backslash
{
"autoload": {
"psr-4": {
"App\\": "src/"
}
}
}// BAD: Using backslash in path (Windows-only)
{
"autoload": {
"psr-4": {
"App\\": "src\\"
}
}
}
// GOOD: Use forward slash (cross-platform)
{
"autoload": {
"psr-4": {
"App\\": "src/"
}
}
}# Regenerate autoload files
composer dump-autoload
# Optimize autoload (production)
composer dump-autoload --optimize
# Validate and show issues
composer dump-autoload --strict
# Test class loading
php -r "require 'vendor/autoload.php'; new App\Domain\User\Entity\User();"<?php
return (new PhpCsFixer\Config())
->setRules([
// PSR-4 related rules
'single_class_element_per_statement' => true,
'single_import_per_statement' => true,
'ordered_imports' => [
'sort_algorithm' => 'alpha',
],
'no_unused_imports' => true,
'fully_qualified_strict_types' => true,
]);| Layer | Namespace | Directory |
|---|---|---|
| Domain | App\Domain\{Context}\ | src/Domain/{Context}/ |
| Application | App\Application\{Context}\ | src/Application/{Context}/ |
| Infrastructure | App\Infrastructure\ | src/Infrastructure/ |
| Presentation | App\Presentation\ | src/Presentation/ |
| Component | Namespace Pattern | Directory Pattern |
|---|---|---|
| Entity | App\Domain\{Context}\Entity\ | src/Domain/{Context}/Entity/ |
| Value Object | App\Domain\{Context}\ValueObject\ | src/Domain/{Context}/ValueObject/ |
| Repository | App\Domain\{Context}\Repository\ | src/Domain/{Context}/Repository/ |
| Service | App\Domain\{Context}\Service\ | src/Domain/{Context}/Service/ |
| Command | App\Application\{Context}\Command\ | src/Application/{Context}/Command/ |
| Query | App\Application\{Context}\Query\ | src/Application/{Context}/Query/ |
| Handler | App\Application\{Context}\Handler\ | src/Application/{Context}/Handler/ |
references/psr-4-standard.md - Full PSR-4 specificationreferences/composer-integration.md - Composer autoload configurationreferences/directory-structure.md - Project structure examplesreferences/antipatterns.md - Common mistakes and fixesassets/report-template.md - Audit report template© dykyi-roman, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (references, assets) in skills/psr-autoloading-knowledge of dykyi-roman/awesome-claude-code.
Open the folder on GitHubat commit 7e1fea8
Psr Autoloading Knowledge next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Psr Autoloading Knowledge this skilldykyi-roman/awesome-claude-code | 104 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Ima Knowledge Basecountbot-ai/CountBot | 784 | — | ~506 | Automated safety check: Pass | MIT | |
| HypatiaMarchLiu/hypatia | 239 | — | ~7.9k | Automated safety check: Notes | MIT | |
| Migrateguhcostan/claude-mega-brain | 126 | — | ~975 | Automated safety check: Pass | MIT | |
| SiyuanTommy-yw/RunbookHermes | 546 | 3 repos | ~2.3k | Automated safety check: Notes | MIT | |
| New LoopAI-Builder-Club/skills | 1.3k | — | ~1.2k | Automated safety check: Notes | None |
countbot-ai/CountBot
通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。
MarchLiu/hypatia
Interact with the Hypatia AI memory system using natural language.
guhcostan/claude-mega-brain
Scan the project and migrate existing documentation into OKF format.
Tommy-yw/RunbookHermes
SiYuan Note API for searching, reading, creating, and managing blocks and documents in a self-hosted knowledge base via curl.
AI-Builder-Club/skills
Spin up a new loop (domain) in a file-based knowledge base — bootstrap the substrate if it's missing, gather the loop's charter, scaffold domains/<loop/README.md, then do ONE real test run and…
rohitg00/pro-workflow
Render a self-contained HTML viewer for a pro-workflow wiki.
dykyi-roman/awesome-claude-code
GRASP principles knowledge base for PHP 8.4 projects. An agent skill from dykyi-roman/awesome-claude-code.
dykyi-roman/awesome-claude-code
PSR-1 and PSR-12 coding standards knowledge base for PHP 8.4 projects.
dykyi-roman/awesome-claude-code
PHP Standards Recommendations (PSR) overview knowledge base.
dykyi-roman/awesome-claude-code
SOLID principles knowledge base for PHP 8.4 projects. An agent skill from dykyi-roman/awesome-claude-code.
dykyi-roman/awesome-claude-code
Comprehensive knowledge base for Claude Code formats, patterns, and configuration.
dykyi-roman/awesome-claude-code
Action-Domain-Responder pattern knowledge base. An agent skill from dykyi-roman/awesome-claude-code.
Works with
Categories
PSR-4 autoloading standard knowledge base for PHP 8.4 projects. Psr Autoloading Knowledge is an agent skill from dykyi-roman/awesome-claude-code.4 projects.
Psr Autoloading Knowledge fits situations like: autoloading audits and project structure reviews; tasks that involve Knowledge bases.
Run `npx skills add dykyi-roman/awesome-claude-code --skill psr-autoloading-knowledge -a claude-code`. Or copy the skill folder (skills/psr-autoloading-knowledge in dykyi-roman/awesome-claude-code) into .claude/skills/psr-autoloading-knowledge in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dykyi-roman/awesome-claude-code --skill psr-autoloading-knowledge -a codex`. Or copy the skill folder (skills/psr-autoloading-knowledge in dykyi-roman/awesome-claude-code) into .agents/skills/psr-autoloading-knowledge in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dykyi-roman/awesome-claude-code --skill psr-autoloading-knowledge -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/psr-autoloading-knowledge, .gemini/skills/psr-autoloading-knowledge, .github/skills/psr-autoloading-knowledge and .opencode/skills/psr-autoloading-knowledge in your project.
Going by SKILL.md and its folder, Psr Autoloading Knowledge needs the command-line tools its instructions call (composer and php).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Psr Autoloading Knowledge is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Psr Autoloading Knowledge: Ima Knowledge Base (countbot-ai/CountBot, 784 stars), Hypatia (MarchLiu/hypatia, 239 stars), Migrate (guhcostan/claude-mega-brain, 126 stars) and Siyuan (Tommy-yw/RunbookHermes, 546 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dykyi-roman (a GitHub user) maintains it in dykyi-roman/awesome-claude-code, which has 104 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on August 16, 2026.
Source: dykyi-roman/awesome-claude-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.