Skip to content

Enhanement#279

Merged
baoduy merged 11 commits intomainfrom
dev
Mar 17, 2026
Merged

Enhanement#279
baoduy merged 11 commits intomainfrom
dev

Conversation

@baoduy
Copy link
Copy Markdown
Owner

@baoduy baoduy commented Mar 17, 2026

This pull request introduces comprehensive documentation improvements and workflow updates to support the new "AI Library Skills" feature for DKNet RESTful API development. The changes include new specification and planning documents, a reusable skill file template, a data model schema, and a checklist to ensure documentation quality and compliance. Additionally, project guidelines are modernized, and minor updates are made to development tooling and CI workflow triggers.

Key highlights:

  • Introduces a standardized approach for documenting DKNet library usage as "skill files" to improve AI agent context and developer guidance.
  • Provides templates, validation rules, and checklists to ensure high-quality, consistent documentation.
  • Updates project guidelines to reflect current architecture, build, and testing practices.
  • Includes minor improvements to VS Code recommendations and workflow dispatch triggers.

AI Library Skills Documentation Framework

  • Added a reusable skill file template (skill-file-template.md) for documenting each DKNet library, specifying required sections, usage patterns, anti-patterns, and test examples.
  • Defined a data model schema (data-model.md) for skill files, master index, and composition patterns, including validation rules for compliance.
  • Created a requirements checklist (requirements.md) to validate the completeness and quality of each skill file before planning and implementation.
  • Added a detailed implementation plan (plan.md) outlining deliverables, constitution checks, and project structure for the AI Library Skills documentation feature.

Project Guidelines and Developer Experience

  • Rewrote .github/copilot-instructions.md as "Project Guidelines" to clarify context loading, architecture, build/test conventions, code style, and common pitfalls for contributors and AI agents.
  • Updated VS Code extension recommendations, removing obsolete extensions and adding jetbrains.resharper-code for improved code quality tooling.

CI/CD and Workflow Enhancements

  • Enabled manual workflow dispatch for the dotnet-publish.yml GitHub Actions workflow to allow on-demand builds.

These updates lay the foundation for consistent, high-quality documentation and improved AI agent support in the DKNet project.

Copilot AI and others added 11 commits February 16, 2026 03:10
Co-authored-by: baoduy <166953+baoduy@users.noreply.github.com>
Co-authored-by: baoduy <166953+baoduy@users.noreply.github.com>
Add GitHub Copilot Agent Skills for DKNet Framework packages
- Add KeysetQueryExtensions.cs with AfterKeyset/BeforeKeyset IQueryable extension methods
  for single-key and composite two-key cursor-based pagination
- Add ToKeysetPageAsync methods to SpecRepoExtensions for IRepositorySpec
- Add 16 integration tests in KeysetQueryExtensionsTests.cs
- Update ReadMe.md and Skills/efcore-specifications/SKILL.md with documentation

Co-authored-by: baoduy <166953+baoduy@users.noreply.github.com>
…ormance

Add keyset (cursor-based) pagination to DKNet.EfCore.Specifications
@baoduy baoduy merged commit 4d6afb1 into main Mar 17, 2026
8 of 9 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 17, 2026

Codecov Report

❌ Patch coverage is 77.63158% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.56%. Comparing base (0e6458b) to head (27df473).
⚠️ Report is 13 commits behind head on main.

Files with missing lines Patch % Lines
...cifications/Dynamics/DynamicPredicateExtensions.cs 30.00% 12 Missing and 2 partials ⚠️
...re.Specifications/Extensions/SpecRepoExtensions.cs 85.71% 1 Missing and 1 partial ⚠️
...Specifications/Extensions/KeysetQueryExtensions.cs 97.61% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #279      +/-   ##
==========================================
- Coverage   84.68%   84.56%   -0.13%     
==========================================
  Files         158      159       +1     
  Lines        3585     3653      +68     
  Branches      568      568              
==========================================
+ Hits         3036     3089      +53     
- Misses        393      406      +13     
- Partials      156      158       +2     
Flag Coverage Δ
unittests 84.56% <77.63%> (-0.13%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
12.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@github-actions
Copy link
Copy Markdown

📊 Code Coverage Report

| Metric | Coverage |
|--------|----------|
| **Line Coverage** | 87.7% |
| **Branch Coverage** | 82% |
| **Method Coverage** | 86% |

**Lines:** 3207/undefined covered
**Branches:** 1218/undefined covered

📈 [View Full Coverage Report](https://github.com/baoduy/DKNet/actions/runs/23174529415)

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.

2 participants