testing-and-ci
Skill5.1k starsChanged 3 months agoApache-2.0View on GitHub
Testing conventions, CI pipeline rules, and smoke test coverage for SkillHub. Ensures agents write tests correctly and understand the CI gate requirements.
Trending
Quiet since October.about the whole repository
Who's talking about iflytek/skillhub
- ruanyf/weekly“【开源自荐】SkillHub —— 企业内部的技能注册中心”GitHub · Mar 19, 2026 · 2 reactions
- iflytek/astron-rpa“chore: add GitHub-reward form, scripts & actions”GitHub · Apr 7, 2026 · 1 reactions
- iflytek/astron-agent“chore: add GitHub-reward form, scripts & actions”GitHub · Apr 7, 2026 · 1 reactions
- @nigolv.bsky.social“AIアシスタントのスキル管理、難しいですよね。 Kubernetesとアラート履歴を使って、 スムーズに運用できるツールが登場しました。 詳しくはGitHubでチェックしてみてください。 github.com …”Bluesky · Mar 28, 2026 · 1 likes
- Open-reSource/openresource.dev“ci: update showcase”GitHub · Oct 5, 2026
The biggest 5 of 49 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 49
Talked about on GitHub and Bluesky (49 times).
On GitHub · 48
- Mar 19, 2026【开源自荐】SkillHub —— 企业内部的技能注册中心 — ruanyf/weekly2 reactions · 2 comments
- Apr 7, 2026chore: add GitHub-reward form, scripts & actions — iflytek/astron-rpa1 reaction · 1 comment
- Apr 7, 2026chore: add GitHub-reward form, scripts & actions — iflytek/astron-agent1 reaction · 1 comment
- Oct 5, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Oct 2, 2026Add zjncs to developers list — rv2036/inchi-rvlab-access0 reactions
43 more on GitHub
- Oct 2, 2026Add zjncs to developers list — plctlab/riscv-lab-access0 reactions
- Sep 28, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Sep 28, 2026agent-skills.github.iflytek.skillhub: init at 0.2.21 — sudosubin/agents.nix0 reactions
- Sep 28, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Sep 21, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Sep 14, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Sep 7, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Aug 31, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Aug 29, 2026[FEATURE] 资源管理支持从标准 Agent Skills / Agent Plugins 仓库批量导入 — iflytek/astron-agent0 reactions · 3 comments
- Aug 29, 2026docs: add SkillHub/Astron governed publishing guide — K-Dense-AI/scientific-agent-skills0 reactions · 2 comments
- Aug 24, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Aug 24, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Aug 24, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Aug 3, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 27, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 27, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 27, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 20, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 13, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 6, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jun 29, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jun 22, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jun 15, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jun 8, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jun 1, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- May 11, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- May 8, 2026【Feature】可以支持skillhub吗? — AFunc-OPC/Skiller0 reactions · 1 comment
- May 4, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Apr 30, 2026Updated single-repositories/github/iflytek/skillhub.yml — oss-compass/compass-projects-information0 reactions · 3 comments
- Apr 30, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Apr 27, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Apr 22, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions
- Apr 20, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Apr 17, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions
- Apr 17, 2026新增支持LDAP登录https://github.com/iflytek/skillhub/issues/260 — h4ai/qa-qe-skillhub0 reactions
- Apr 13, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Apr 12, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions
- Apr 7, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions
- Apr 6, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Mar 30, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Mar 30, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions · 2 comments
- Mar 23, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions · 4 comments
- Mar 19, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions · 2 comments
On Bluesky · 1
- Mar 28, 2026AIアシスタントのスキル管理、難しいですよね。 Kubernetesとアラート履歴を使って、 スムーズに運用できるツールが登場しました。 詳しくはGitHubでチェックしてみてください。 github.com opensourceprojects.dev #news — @nigolv.bsky.social1 likes and repost
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-and-namespace-designSkill
- backend-module-structureSkill
- code-conventionsSkill
- dev-workflowSkill
- frontend-conventionsSkill
- pr-submissionSkill
- skill-lifecycleSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill when:
- Very specific: line 34
Never: run ./mvnw -pl skillhub-app clean test directly under server/.
- Distinctive: line 68
When operator-facing workflows change, update the corresponding smoke test.
- Very specific: line 88
All workflows live in .github/workflows/.
- Distinctive: line 93
Before opening a PR, validate with staging:
- Distinctive: line 106
If staging passes, the environment stays running at:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Testing and CI Skill
Trigger
Use this skill when:
- Adding or modifying backend tests
- Adding or modifying frontend tests
- Changing CI/CD workflows
- Adding smoke tests or E2E tests
Rules
Backend Testing
Tests live alongside source in each module's src/test/java/:
server/skillhub-app/src/test/java/— Controller integration tests, service testsserver/skillhub-domain/src/test/java/— Domain service unit testsserver/skillhub-auth/src/test/java/— Auth flow tests
Tools: JUnit 5 + Mockito + AssertJ + Spring Boot test slices (@WebMvcTest, @DataJpaTest)
Build commands:
make test-backend-app # skillhub-app + dependencies (includes -am)
make test-backend # all backend modulesNever run ./mvnw -pl skillhub-app clean test directly under server/.
skillhub-app depends on sibling modules, and a standalone clean build can fall back to stale
artifacts from the local Maven repository, surfacing misleading cannot find symbol and
signature-mismatch errors. Use -am, or the Makefile targets above.
Test naming conventions:
- Controller tests:
{ControllerName}Test.java(e.g.,SkillControllerTest.java) - Service tests:
{ServiceName}Test.java - Integration tests:
{FlowName}IntegrationTest.java - Security tests:
{ControllerName}SecurityTest.java
Frontend Testing
Tools: Vitest (unit), Playwright (E2E)
make test-frontend # Vitest unit tests (pnpm run test)
make test-e2e-frontend # Playwright E2E tests
make test-e2e-smoke-frontend # Playwright smoke tests (subset)E2E tests live in web/e2e/.
Smoke Tests
Smoke tests validate end-to-end operator workflows against a running backend:
| Script | Purpose |
scripts/smoke-test.sh | Basic API health, auth, label CRUD |
scripts/namespace-smoke-test.sh | Namespace creation, membership, publishing |
scripts/governance-smoke-test.sh | Governance and moderation flows |
scripts/promotion-smoke-test.sh | Skill promotion between scopes |
When operator-facing workflows change, update the corresponding smoke test.
CI Pipeline
GitHub Actions workflows in .github/workflows/:
| Workflow | Trigger | Purpose |
pr-tests.yml | PR | Backend + frontend unit tests |
pr-e2e.yml | PR | E2E smoke tests against staging |
pr-batch-test-deploy.yml | workflow_dispatch | Batch test and deploy |
publish-images.yml | release published / workflow_dispatch | Build and publish Docker images to GHCR |
deploy-docs.yml | push to docs | Deploy documentation site |
issue-triage.yml | issues | Auto-triage incoming issues |
issue-backlog-rescore.yml | cron (every 6h) | Rescore backlog issues |
release-notes.yml | workflow_dispatch | Generate release notes |
deepwiki.yml | release published | Update DeepWiki documentation |
claim-issue-reward.yml | issue_comment | Auto-claim issue rewards |
statistic-member-reward.yml | cron/schedule | Calculate member rewards |
All workflows live in .github/workflows/. Deno scripts for triage, release notes, and rewards
live in .github/scripts/.
Staging
Before opening a PR, validate with staging:
make staging # Build backend Docker image + frontend static + smoke test
make staging-down # Tear down
SERVICE=web make staging-logs # View Nginx logsStaging validates the containerized deployment path:
- Backend: built as Docker image from local source (
Dockerfile.dev) - Frontend: built as static files (
pnpm build), served by Nginx - Dependencies: same Postgres/Redis/MinIO as local dev
If staging passes, the environment stays running at:
- Web UI:
http://localhost - Backend API:
http://localhost:8080
Pre-PR Testing Checklist
make test-backend-apppassesmake typecheck-webpassesmake lint-webpasses (if frontend changed)make stagingpasses (full regression)- If API changed:
make generate-apirun and generated file committed - New behavior has corresponding tests
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

