Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
name: "pre-push-skill"
description: "Executes the required pre-push steps for the flutter/packages repository. Call this tool immediately whenever the user asks to push, asks if the user/you are ready to push, or wants to validate their local changes are ready to become a pull request."
metadata:
internal: true
---

# Pre-Push Skill Checks to Verify
Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera_android_camerax/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dev_dependencies:
mockito: ^5.4.4
path: ^1.8.0
pigeon: ^27.3.2
skills_lint: ^0.5.1
skills_lint: ^0.5.3

topics:
- camera
11 changes: 11 additions & 0 deletions packages/camera/camera_android_camerax/skills_lint.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
skills_lint:
rules:
check-relative-paths: error
check-absolute-paths: error
check-trailing-whitespace: error
disallowed-field: error
directories:
- path: "skills"
rules:
pub-archive-includes-skill: error
published-skill-name: error
check-relative-paths:
severity: error
within-skill: true
individual_skills:
- path: ".agents/skills/check-readiness"
rules:
prevent-skills-sh-publishing: error
- path: ".agents/skills/pre-push-skill"
rules:
prevent-skills-sh-publishing: error
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ void main() {

try {
final Configuration config = await ConfigParser.loadConfig();
expect(config.parsingErrors, isEmpty, reason: 'Skills config failed to parse');
final bool isValid = await validateSkills(
config: config,
customRules: [EnforceTrackedSkillsPreventPublishingRule()],
Expand Down
Loading