All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] git: Fix broken relative symlinks for Claude and Gemini skills
@ 2026-11-23  9:28 Zhenzhong Duan
  2026-11-23  9:53 ` Daniel P. Berrangé
  0 siblings, 1 reply; 5+ messages in thread
From: Zhenzhong Duan @ 2026-11-23  9:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, Zhenzhong Duan

Update the relative symlink targets for both ".claude/skills" and
".gemini/skills" from ".agents/skills/" to "../.agents/skills".

Fixes: 3e9fe057ae0b ("agents: Add a skill for finding your way around QEMU")
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
---
 .claude/skills | 2 +-
 .gemini/skills | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.claude/skills b/.claude/skills
index a7540c2442..2b7a412b8f 120000
--- a/.claude/skills
+++ b/.claude/skills
@@ -1 +1 @@
-.agents/skills/
\ No newline at end of file
+../.agents/skills
\ No newline at end of file
diff --git a/.gemini/skills b/.gemini/skills
index a7540c2442..2b7a412b8f 120000
--- a/.gemini/skills
+++ b/.gemini/skills
@@ -1 +1 @@
-.agents/skills/
\ No newline at end of file
+../.agents/skills
\ No newline at end of file
-- 
2.52.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] git: Fix broken relative symlinks for Claude and Gemini skills
  2026-11-23  9:28 [PATCH] git: Fix broken relative symlinks for Claude and Gemini skills Zhenzhong Duan
@ 2026-11-23  9:53 ` Daniel P. Berrangé
  2026-11-23 13:26   ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel P. Berrangé @ 2026-11-23  9:53 UTC (permalink / raw)
  To: Zhenzhong Duan; +Cc: qemu-devel, pbonzini

On Mon, Nov 23, 2026 at 05:28:17PM +0800, Zhenzhong Duan wrote:
> Update the relative symlink targets for both ".claude/skills" and
> ".gemini/skills" from ".agents/skills/" to "../.agents/skills".
> 
> Fixes: 3e9fe057ae0b ("agents: Add a skill for finding your way around QEMU")
> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
> ---
>  .claude/skills | 2 +-
>  .gemini/skills | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

FYI, I've also sent the same fix several weeks ago

https://lists.gnu.org/archive/html/qemu-devel/2026-11/msg02802.html

> 
> diff --git a/.claude/skills b/.claude/skills
> index a7540c2442..2b7a412b8f 120000
> --- a/.claude/skills
> +++ b/.claude/skills
> @@ -1 +1 @@
> -.agents/skills/
> \ No newline at end of file
> +../.agents/skills
> \ No newline at end of file
> diff --git a/.gemini/skills b/.gemini/skills
> index a7540c2442..2b7a412b8f 120000
> --- a/.gemini/skills
> +++ b/.gemini/skills
> @@ -1 +1 @@
> -.agents/skills/
> \ No newline at end of file
> +../.agents/skills
> \ No newline at end of file
> -- 
> 2.52.0
> 
> 

With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] git: Fix broken relative symlinks for Claude and Gemini skills
  2026-11-23  9:53 ` Daniel P. Berrangé
@ 2026-11-23 13:26   ` Philippe Mathieu-Daudé
  2026-11-23 13:34     ` Daniel P. Berrangé
  0 siblings, 1 reply; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-11-23 13:26 UTC (permalink / raw)
  To: Daniel P. Berrangé, Zhenzhong Duan; +Cc: qemu-devel, pbonzini

On 23/11/26 10:53, Daniel P. Berrangé wrote:
> On Mon, Nov 23, 2026 at 05:28:17PM +0800, Zhenzhong Duan wrote:
>> Update the relative symlink targets for both ".claude/skills" and
>> ".gemini/skills" from ".agents/skills/" to "../.agents/skills".
>>
>> Fixes: 3e9fe057ae0b ("agents: Add a skill for finding your way around QEMU")
>> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
>> ---
>>   .claude/skills | 2 +-
>>   .gemini/skills | 2 +-
>>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> FYI, I've also sent the same fix several weeks ago
> 
> https://lists.gnu.org/archive/html/qemu-devel/2026-11/msg02802.html

Can't we just remove these and let the generic .agents/ path?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] git: Fix broken relative symlinks for Claude and Gemini skills
  2026-11-23 13:26   ` Philippe Mathieu-Daudé
@ 2026-11-23 13:34     ` Daniel P. Berrangé
  2026-11-24  6:23       ` Duan, Zhenzhong
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel P. Berrangé @ 2026-11-23 13:34 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: Zhenzhong Duan, qemu-devel, pbonzini

On Mon, Nov 23, 2026 at 02:26:39PM +0100, Philippe Mathieu-Daudé wrote:
> On 23/11/26 10:53, Daniel P. Berrangé wrote:
> > On Mon, Nov 23, 2026 at 05:28:17PM +0800, Zhenzhong Duan wrote:
> > > Update the relative symlink targets for both ".claude/skills" and
> > > ".gemini/skills" from ".agents/skills/" to "../.agents/skills".
> > > 
> > > Fixes: 3e9fe057ae0b ("agents: Add a skill for finding your way around QEMU")
> > > Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
> > > ---
> > >   .claude/skills | 2 +-
> > >   .gemini/skills | 2 +-
> > >   2 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > FYI, I've also sent the same fix several weeks ago
> > 
> > https://lists.gnu.org/archive/html/qemu-devel/2026-11/msg02802.html
> 
> Can't we just remove these and let the generic .agents/ path?

It seems like both claude and gemini honour the agent skills
standard, so yes, .agents ought to be all we need AFAICT.

With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|



^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH] git: Fix broken relative symlinks for Claude and Gemini skills
  2026-11-23 13:34     ` Daniel P. Berrangé
@ 2026-11-24  6:23       ` Duan, Zhenzhong
  0 siblings, 0 replies; 5+ messages in thread
From: Duan, Zhenzhong @ 2026-11-24  6:23 UTC (permalink / raw)
  To: Daniel P. Berrangé, Philippe Mathieu-Daudé
  Cc: qemu-devel@nongnu.org, pbonzini@redhat.com



>-----Original Message-----
>From: Daniel P. Berrangé <berrange@redhat.com>
>Subject: Re: [PATCH] git: Fix broken relative symlinks for Claude and
>Gemini skills
>
>On Mon, Nov 23, 2026 at 02:26:39PM +0100, Philippe Mathieu-Daudé wrote:
>> On 23/11/26 10:53, Daniel P. Berrangé wrote:
>> > On Mon, Nov 23, 2026 at 05:28:17PM +0800, Zhenzhong Duan wrote:
>> > > Update the relative symlink targets for both ".claude/skills" and
>> > > ".gemini/skills" from ".agents/skills/" to "../.agents/skills".
>> > >
>> > > Fixes: 3e9fe057ae0b ("agents: Add a skill for finding your way around
>QEMU")
>> > > Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
>> > > ---
>> > >   .claude/skills | 2 +-
>> > >   .gemini/skills | 2 +-
>> > >   2 files changed, 2 insertions(+), 2 deletions(-)
>> >
>> > FYI, I've also sent the same fix several weeks ago
>> >
>> > https://lists.gnu.org/archive/html/qemu-devel/2026-11/msg02802.html

Oh, good to see, I'll drop my patch in favor of yours.

>>
>> Can't we just remove these and let the generic .agents/ path?
>
>It seems like both claude and gemini honour the agent skills
>standard, so yes, .agents ought to be all we need AFAICT.

I asked AI, it says:

Even on the newest Claude Code (now 2.1.331), Claude Code doesn't load skills from .agents/skills.

Thanks
Zhenzhong

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-24  6:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23  9:28 [PATCH] git: Fix broken relative symlinks for Claude and Gemini skills Zhenzhong Duan
2026-11-23  9:53 ` Daniel P. Berrangé
2026-11-23 13:26   ` Philippe Mathieu-Daudé
2026-11-23 13:34     ` Daniel P. Berrangé
2026-11-24  6:23       ` Duan, Zhenzhong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.