Testing OpenLogi UI
AprilNEA/OpenLogi
Verifies OpenLogi's native GPUI interface with focused tests, the component gallery and a mock agent, choosing the evidence that fits each change.
Test strategy governance, coverage enforcement (80% line, 70% branch), test pyramid adherence, and CI gate enforcement
$ npx skills add Hack23/cia --skill testing-strategy-enforcement -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Hack23/cia testing-strategy-enforcement --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/Hack23/cia.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/testing-strategy-enforcement .claude/skills/testing-strategy-enforcement && 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 "testing-strategy-enforcement" agent skill from https://github.com/Hack23/cia/tree/master/.github/skills/testing-strategy-enforcement into .claude/skills/testing-strategy-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-strategy-enforcement", 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/Hack23/cia/tree/master/.github/skills/testing-strategy-enforcementType 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 Hack23/cia --skill testing-strategy-enforcement -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Hack23/cia testing-strategy-enforcement --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Hack23/cia.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/testing-strategy-enforcement .agents/skills/testing-strategy-enforcement && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "testing-strategy-enforcement" agent skill from https://github.com/Hack23/cia/tree/master/.github/skills/testing-strategy-enforcement into .agents/skills/testing-strategy-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-strategy-enforcement", 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 Hack23/cia --skill testing-strategy-enforcement -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Hack23/cia testing-strategy-enforcement --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Hack23/cia.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/testing-strategy-enforcement .cursor/skills/testing-strategy-enforcement && 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 "testing-strategy-enforcement" agent skill from https://github.com/Hack23/cia/tree/master/.github/skills/testing-strategy-enforcement into .cursor/skills/testing-strategy-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-strategy-enforcement", 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/Hack23/cia.git --path .github/skills/testing-strategy-enforcement--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 Hack23/cia --skill testing-strategy-enforcement -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Hack23/cia testing-strategy-enforcement --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Hack23/cia.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/testing-strategy-enforcement .gemini/skills/testing-strategy-enforcement && 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 "testing-strategy-enforcement" agent skill from https://github.com/Hack23/cia/tree/master/.github/skills/testing-strategy-enforcement into .gemini/skills/testing-strategy-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-strategy-enforcement", 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 Hack23/cia testing-strategy-enforcementInstalls 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 Hack23/cia --skill testing-strategy-enforcement -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Hack23/cia.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/testing-strategy-enforcement .github/skills/testing-strategy-enforcement && 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 "testing-strategy-enforcement" agent skill from https://github.com/Hack23/cia/tree/master/.github/skills/testing-strategy-enforcement into .github/skills/testing-strategy-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-strategy-enforcement", 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 Hack23/cia --skill testing-strategy-enforcement -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Hack23/cia testing-strategy-enforcement --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Hack23/cia.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/testing-strategy-enforcement .opencode/skills/testing-strategy-enforcement && 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 "testing-strategy-enforcement" agent skill from https://github.com/Hack23/cia/tree/master/.github/skills/testing-strategy-enforcement into .opencode/skills/testing-strategy-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-strategy-enforcement", 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.
testing-strategy-enforcementTest strategy governance, coverage enforcement (80% line, 70% branch), test pyramid adherence, and CI gate enforcement
Testing Strategy Enforcement is an agent skill from Hack23/cia. Test strategy governance, coverage enforcement (80% line, 70% branch), test pyramid adherence, and CI gate enforcement
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Test strategy. The repository describes itself as: Citizen Intelligence Agency. Open-source intelligence platform analyzing Swedish political activities using AI and data visualization. Tracks politicians, government… The licence is Apache-2.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6a9797b. 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:
mvnFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
junit.orgjavadoc.iojacoco.orgFrom 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.
Testing Strategy Enforcement loads about 2.1k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 467 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 Hack23/cia at commit 6a9797b, republished under its Apache-2.0 licence (© Hack23). 467 words, ~2,119 tokens.
.claude/skills/testing-strategy-enforcement/SKILL.md (or your agent's skills folder).This skill enforces the CIA platform's testing strategy, ensuring consistent coverage thresholds, proper test pyramid adherence, and CI/CD gate enforcement. It provides actionable guidance for maintaining test quality across all modules.
Apply this skill when:
Do NOT use for:
| Metric | Minimum | Target | Blocking? |
|---|---|---|---|
| Line Coverage | 80% | 85%+ | Yes — CI gate |
| Branch Coverage | 70% | 75%+ | Yes — CI gate |
| New Code Coverage | 80% | 90%+ | Yes — SonarCloud |
| Mutation Score | N/A | 60%+ | Advisory |
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>check</id>
<goals><goal>check</goal></goals>
<configuration>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>LINE</counter>
<value>COVEREDRATIO</value>
<minimum>0.80</minimum>
</limit>
<limit>
<counter>BRANCH</counter>
<value>COVEREDRATIO</value>
<minimum>0.70</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin> ╱╲
╱ ╲ E2E Tests (Playwright/Selenium)
╱ 5% ╲ - Critical user workflows only
╱──────╲ - Login, navigation, key features
╱ ╲
╱ 15-20% ╲ Integration Tests (Spring Test + TestContainers)
╱ ╲ - Service layer, repository layer
╱──────────────╲ - External API integration
╱ ╲
╱ 75-80% ╲ Unit Tests (JUnit 5 + Mockito)
╱──────────────────╲- Business logic, utilities, modelsFramework: JUnit 5 + Mockito + AssertJ
What to Test:
Patterns:
@ExtendWith(MockitoExtension.class)
class PoliticianServiceTest {
@Mock
private PoliticianRepository repository;
@InjectMocks
private PoliticianServiceImpl service;
@Test
void shouldReturnPoliticianWhenFound() {
// Given
var politician = createTestPolitician();
when(repository.findById("id-1")).thenReturn(Optional.of(politician));
// When
var result = service.findById("id-1");
// Then
assertThat(result).isPresent();
assertThat(result.get().getName()).isEqualTo("Test Name");
verify(repository).findById("id-1");
}
@Test
void shouldThrowWhenPoliticianNotFound() {
when(repository.findById(anyString())).thenReturn(Optional.empty());
assertThatThrownBy(() -> service.getById("invalid"))
.isInstanceOf(EntityNotFoundException.class);
}
}Framework: Spring Test + TestContainers
What to Test:
Patterns:
@SpringBootTest
@ActiveProfiles("test")
class PoliticianRepositoryIntegrationTest {
@Autowired
private PoliticianRepository repository;
@Test
void shouldPersistAndRetrievePolitician() {
var politician = createTestPolitician();
repository.save(politician);
var found = repository.findById(politician.getId());
assertThat(found).isPresent();
}
}Framework: Playwright
What to Test:
| Gate | Tool | Threshold | Stage |
|---|---|---|---|
| Compilation | Maven | Zero errors | Build |
| Unit Tests | JUnit 5 | 100% pass | Test |
| Coverage | JaCoCo | 80% line, 70% branch | Test |
| Code Quality | SonarCloud | Quality gate pass | Analysis |
| Security Scan | CodeQL | Zero critical/high | Security |
| Dependency Check | OWASP DC | CVSS < 7 | Security |
| Integration Tests | Spring Test | 100% pass | Integration |
CI Gate Failed
│
├─→ Test Failure?
│ ├─→ Is it a flaky test? → Fix flaky test, don't skip
│ ├─→ Is it a real regression? → Fix the code
│ └─→ Is the test outdated? → Update the test
│
├─→ Coverage Below Threshold?
│ ├─→ New code not tested? → Add tests for new code
│ ├─→ Existing coverage dropped? → Add missing tests
│ └─→ Threshold too aggressive? → Document exception
│
├─→ Quality Gate Failed?
│ ├─→ Critical issue? → Fix immediately
│ ├─→ False positive? → Document suppression
│ └─→ Technical debt? → Create backlog item
│
└─→ Security Scan Failed?
├─→ Real vulnerability? → Fix before merge
└─→ False positive? → Add suppression with justificationmethodUnderTest_condition_expectedResultExample: findById_whenPoliticianExists_returnsPolitician
| Anti-Pattern | Problem | Solution |
|---|---|---|
| No assertions | Test passes vacuously | Add meaningful assertions |
| Testing implementation | Brittle, breaks on refactor | Test behavior, not implementation |
| Ignoring exceptions | Hides failures | Use assertThrows or assertThatThrownBy |
| Shared mutable state | Tests affect each other | Isolate test state |
| Excessive mocking | Tests don't verify real behavior | Mock boundaries only |
| Flaky tests | Erode CI trust | Fix root cause, never @Ignore |
| Test per line | Slow, redundant | Test per behavior |
Coverage exceptions are permitted only when:
Exception Process:
<!-- JaCoCo exclusion in pom.xml -->
<configuration>
<excludes>
<exclude>**/model/*_.class</exclude> <!-- JPA metamodel -->
<exclude>**/generated/**</exclude> <!-- Generated code -->
</excludes>
</configuration># Generate coverage report
mvn clean test jacoco:report
# View report
open target/site/jacoco/index.html
# Generate aggregate report for multi-module
mvn clean verify -pl . -am| Testing Area | ISO 27001 Control | NIST CSF |
|---|---|---|
| Unit Testing | A.8.29 | PR.IP-12 |
| Integration Testing | A.8.29 | PR.IP-12 |
| Security Testing | A.8.33 | DE.CM-8 |
| Test Documentation | A.8.25 | PR.IP-12 |
| CI/CD Gates | A.8.31 | PR.IP-12 |
© Hack23, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/testing-strategy-enforcement of Hack23/cia.
Open the folder on GitHubat commit 6a9797b
Testing Strategy Enforcement 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 |
|---|---|---|---|---|---|---|
| Testing Strategy Enforcement this skillHack23/cia | 239 | — | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Testing OpenLogi UIAprilNEA/OpenLogi | 23k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Testing Hashqlhashintel/hash | 1.7k | — | ~1.9k | Automated safety check: Pass | AGPL-3.0 | |
| Dynamo Unit TestingDynamoDS/Dynamo | 2k | — | ~622 | Automated safety check: Pass | Apache-2.0 | |
| Designing TestsCloudAI-X/opencode-workflow | 275 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Openprd Test StrategyDavidLam-oss/obsidian-wechat-converter | 332 | — | ~578 | Automated safety check: Pass | MIT |
AprilNEA/OpenLogi
Verifies OpenLogi's native GPUI interface with focused tests, the component gallery and a mock agent, choosing the evidence that fits each change.
hashintel/hash
HashQL testing strategies including compiletest (UI tests), unit tests, and snapshot tests.
DynamoDS/Dynamo
Write comprehensive NUnit tests for the Dynamo codebase following Dynamo testing patterns, conventions, and architectural constraints.
CloudAI-X/opencode-workflow
Guides test strategy, TDD/BDD approaches, test coverage planning, and testing best practices.
DavidLam-oss/obsidian-wechat-converter
OpenPrd 测试策略分流 skill:按风险把任务分到单元、集成、端到端、人工、视觉、小程序、性能和安全验证,并要求 evidence-plan。
Gentleman-Programming/gentle-ai
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files.
Hack23/cia
WCAG 2.1 AA compliance, ARIA attributes, keyboard navigation, screen reader optimization for accessible political data platforms
Hack23/cia
Advanced chart types, D3.js/Vaadin Charts patterns, political data visualization, time series analysis
Hack23/cia
AI governance, EU AI Act compliance, OWASP LLM security, responsible AI practices for GitHub Copilot agents
Hack23/cia
External API integration patterns, retry logic, circuit breakers, caching, rate limiting for government data APIs
Hack23/cia
AWS CloudWatch metrics, alarms, dashboards, log insights, and application monitoring for the CIA platform
Hack23/cia
AWS security best practices, VPC security, IAM, KMS, CloudTrail, GuardDuty for CIA platform deployment
Categories
Test strategy governance, coverage enforcement (80% line, 70% branch), test pyramid adherence, and CI gate enforcement. Testing Strategy Enforcement is an agent skill from Hack23/cia.
Testing Strategy Enforcement fits situations like: tasks that involve Test strategy.
Run `npx skills add Hack23/cia --skill testing-strategy-enforcement -a claude-code`. Or copy the skill folder (.github/skills/testing-strategy-enforcement in Hack23/cia) into .claude/skills/testing-strategy-enforcement in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Hack23/cia --skill testing-strategy-enforcement -a codex`. Or copy the skill folder (.github/skills/testing-strategy-enforcement in Hack23/cia) into .agents/skills/testing-strategy-enforcement 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 Hack23/cia --skill testing-strategy-enforcement -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testing-strategy-enforcement, .gemini/skills/testing-strategy-enforcement, .github/skills/testing-strategy-enforcement and .opencode/skills/testing-strategy-enforcement in your project.
Going by SKILL.md and its folder, Testing Strategy Enforcement needs the command-line tools its instructions call (mvn).
SKILL.md names 3 domains. As links in the text: junit.org, javadoc.io and jacoco.org. 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.
Testing Strategy Enforcement is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Testing Strategy Enforcement: Testing OpenLogi UI (AprilNEA/OpenLogi, 23k stars), Testing Hashql (hashintel/hash, 1.7k stars), Dynamo Unit Testing (DynamoDS/Dynamo, 2k stars) and Designing Tests (CloudAI-X/opencode-workflow, 275 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Hack23 (a GitHub organization) maintains it in Hack23/cia, which has 239 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on October 6, 2026.
Source: Hack23/cia on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.